HTMLPurifier_AttrTransform Klassenreferenz

Klassendiagramm für HTMLPurifier_AttrTransform:

Inheritance graph
[Legende]

Öffentliche Methoden

 transform ($attr, $config, $context)
 prependCSS (&$attr, $css)
 confiscateAttr (&$attr, $key)

Ausführliche Beschreibung

Processes an entire attribute array for corrections needing multiple values.

Occasionally, a certain attribute will need to be removed and popped onto another value. Instead of creating a complex return syntax for HTMLPurifier_AttrDef, we just pass the whole attribute array to a specialized object and have that do the special work. That is the family of HTMLPurifier_AttrTransform.

An attribute transformation can be assigned to run before or after HTMLPurifier_AttrDef validation. See HTMLPurifier_HTMLDefinition for more details.

Definiert in Zeile 17 der Datei AttrTransform.php.


Dokumentation der Elementfunktionen

confiscateAttr ( &$  attr,
key 
)

Retrieves and removes an attribute

Parameter:
$attr Attribute array to process (passed by reference)
$key Key of attribute to confiscate

Definiert in Zeile 47 der Datei AttrTransform.php.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

prependCSS ( &$  attr,
css 
)

Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

Parameter:
$attr Attribute array to process (passed by reference)
$css CSS to prepend

Definiert in Zeile 37 der Datei AttrTransform.php.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

transform ( attr,
config,
context 
) [abstract]


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen