HTMLPurifier 4.4.0
|
Defines common attribute collections that modules reference. More...
Public Member Functions | |
__construct ($attr_types, $modules) | |
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules. | |
performInclusions (&$attr) | |
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index. | |
expandIdentifiers (&$attr, $attr_types) | |
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes. | |
__construct ($attr_types, $modules) | |
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules. | |
performInclusions (&$attr) | |
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index. | |
expandIdentifiers (&$attr, $attr_types) | |
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes. | |
Public Attributes | |
$info = array() | |
Associative array of attribute collections, indexed by name. |
Defines common attribute collections that modules reference.
Definition at line 7 of file AttrCollections.php.
HTMLPurifier_AttrCollections::__construct | ( | $ | attr_types, |
$ | modules | ||
) |
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules.
$attr_types | HTMLPurifier_AttrTypes instance |
$modules | Hash array of HTMLPurifier_HTMLModule members |
Definition at line 22 of file AttrCollections.php.
References expandIdentifiers(), and performInclusions().
HTMLPurifier_AttrCollections::__construct | ( | $ | attr_types, |
$ | modules | ||
) |
Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules.
$attr_types | HTMLPurifier_AttrTypes instance |
$modules | Hash array of HTMLPurifier_HTMLModule members |
Definition at line 280 of file HTMLPurifier.standalone.php.
References expandIdentifiers(), and performInclusions().
HTMLPurifier_AttrCollections::expandIdentifiers | ( | &$ | attr, |
$ | attr_types | ||
) |
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes.
&$attr | Reference to attribute array |
$attr_types | HTMLPurifier_AttrTypes instance |
Definition at line 82 of file AttrCollections.php.
References $def.
Referenced by __construct().
HTMLPurifier_AttrCollections::expandIdentifiers | ( | &$ | attr, |
$ | attr_types | ||
) |
Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes.
&$attr | Reference to attribute array |
$attr_types | HTMLPurifier_AttrTypes instance |
Definition at line 340 of file HTMLPurifier.standalone.php.
References $def.
HTMLPurifier_AttrCollections::performInclusions | ( | &$ | attr | ) |
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.
&$attr | Reference to attribute array |
Definition at line 312 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrCollections::performInclusions | ( | &$ | attr | ) |
Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.
&$attr | Reference to attribute array |
Definition at line 54 of file AttrCollections.php.
Referenced by __construct().
HTMLPurifier_AttrCollections::$info = array() |
Associative array of attribute collections, indexed by name.
Definition at line 13 of file AttrCollections.php.