Öffentliche Methoden | |
__construct ($modules) | |
generateChildDef (&$def, $module) | |
generateChildDefCallback ($matches) | |
getChildDef ($def, $module) | |
Datenfelder | |
$info = array() | |
$lookup = array() | |
Geschützte Methoden | |
convertToLookup ($string) | |
Geschützte Attribute | |
$keys = array() | |
$values = array() | |
Definiert in Zeile 6 der Datei ContentSets.php.
__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 |
Definiert in Zeile 38 der Datei ContentSets.php.
Benutzt $lookup und convertToLookup().
|
protected |
Converts a string list of elements separated by pipes into a lookup array.
string | $string | List of elements |
Definiert in Zeile 159 der Datei ContentSets.php.
Wird benutzt von __construct().
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 |
Definiert in Zeile 83 der Datei ContentSets.php.
Benutzt getChildDef().
generateChildDefCallback | ( | $matches) |
Definiert in Zeile 102 der Datei ContentSets.php.
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 |
Definiert in Zeile 116 der Datei ContentSets.php.
Wird benutzt von generateChildDef().
$info = array() |
List of content set strings (pipe separators) indexed by name. array
Definiert in Zeile 13 der Datei ContentSets.php.
|
protected |
Synchronized list of defined content sets (keys of info). array
Definiert in Zeile 26 der Datei ContentSets.php.
$lookup = array() |
List of content set lookups (element => true) indexed by name. array
Definiert in Zeile 20 der Datei ContentSets.php.
Wird benutzt von __construct().
|
protected |
Synchronized list of defined content values (values of info). array
Definiert in Zeile 31 der Datei ContentSets.php.