ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($modules) | |
Merges in module's content sets, expands identifiers in the content sets and populates the keys, values and lookup member variables. More... | |
generateChildDef (&$def, $module) | |
Accepts a definition; generates and assigns a ChildDef for it. More... | |
generateChildDefCallback ($matches) | |
getChildDef ($def, $module) | |
Instantiates a ChildDef based on content_model and content_model_type member variables in HTMLPurifier_ElementDef. More... | |
Data Fields | |
$info = array() | |
List of content set strings (pipe separators) indexed by name. More... | |
$lookup = array() | |
List of content set lookups (element => true) indexed by name. More... | |
Protected Member Functions | |
convertToLookup ($string) | |
Converts a string list of elements separated by pipes into a lookup array. More... | |
Protected Attributes | |
$keys = array() | |
Synchronized list of defined content sets (keys of info). More... | |
$values = array() | |
Synchronized list of defined content values (values of info). More... | |
Definition at line 6 of file ContentSets.php.
HTMLPurifier_ContentSets::__construct | ( | $modules | ) |
Merges in module's content sets, expands identifiers in the content sets and populates the keys, values and lookup member variables.
HTMLPurifier_HTMLModule[] | $modules List of HTMLPurifier_HTMLModule |
Definition at line 38 of file ContentSets.php.
References $lookup, $x, array, and convertToLookup().
|
protected |
Converts a string list of elements separated by pipes into a lookup array.
string | $string | List of elements |
Definition at line 159 of file ContentSets.php.
Referenced by __construct().
HTMLPurifier_ContentSets::generateChildDef | ( | & | $def, |
$module | |||
) |
Accepts a definition; generates and assigns a ChildDef for it.
HTMLPurifier_ElementDef | $def | HTMLPurifier_ElementDef reference |
HTMLPurifier_HTMLModule | $module | Module that defined the ElementDef |
Definition at line 83 of file ContentSets.php.
References array, and getChildDef().
HTMLPurifier_ContentSets::generateChildDefCallback | ( | $matches | ) |
Definition at line 102 of file ContentSets.php.
HTMLPurifier_ContentSets::getChildDef | ( | $def, | |
$module | |||
) |
Instantiates a ChildDef based on content_model and content_model_type member variables in HTMLPurifier_ElementDef.
HTMLPurifier_ElementDef | $def | HTMLPurifier_ElementDef to have ChildDef extracted |
HTMLPurifier_HTMLModule | $module | Module that defined the ElementDef |
Definition at line 116 of file ContentSets.php.
Referenced by generateChildDef().
HTMLPurifier_ContentSets::$info = array() |
List of content set strings (pipe separators) indexed by name.
array
Definition at line 13 of file ContentSets.php.
|
protected |
Synchronized list of defined content sets (keys of info).
array
Definition at line 26 of file ContentSets.php.
HTMLPurifier_ContentSets::$lookup = array() |
List of content set lookups (element => true) indexed by name.
array
Definition at line 20 of file ContentSets.php.
Referenced by __construct().
|
protected |
Synchronized list of defined content values (values of info).
array
Definition at line 31 of file ContentSets.php.