HTMLPurifier_AttrCollections Class Reference

Defines common attribute collections that modules reference. More...

List of all members.

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.


Detailed Description

Defines common attribute collections that modules reference.

Definition at line 7 of file AttrCollections.php.


Constructor & Destructor Documentation

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.

Parameters:
$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.

Parameters:
$attr_types HTMLPurifier_AttrTypes instance
$modules Hash array of HTMLPurifier_HTMLModule members

Definition at line 277 of file HTMLPurifier.standalone.php.

References expandIdentifiers(), and performInclusions().


Member Function Documentation

HTMLPurifier_AttrCollections::performInclusions ( &$  attr  ) 

Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.

Parameters:
&$attr Reference to attribute array

Definition at line 54 of file AttrCollections.php.

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.

Parameters:
&$attr Reference to attribute array
$attr_types HTMLPurifier_AttrTypes instance

Definition at line 82 of file AttrCollections.php.

Referenced by __construct().

HTMLPurifier_AttrCollections::performInclusions ( &$  attr  ) 

Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.

Parameters:
&$attr Reference to attribute array

Definition at line 309 of file HTMLPurifier.standalone.php.

HTMLPurifier_AttrCollections::expandIdentifiers ( &$  attr,
attr_types 
)

Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes.

Parameters:
&$attr Reference to attribute array
$attr_types HTMLPurifier_AttrTypes instance

Definition at line 337 of file HTMLPurifier.standalone.php.


Member Data Documentation

HTMLPurifier_AttrCollections::$info = array()

Associative array of attribute collections, indexed by name.

Definition at line 13 of file AttrCollections.php.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 18:47:28 2008 for HTMLPurifier by  doxygen 1.5.3