(no description)
File Size: | 170 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier_ContentSets:: (4 methods):
__construct()
generateChildDef()
generateChildDefCallback()
getChildDef()
to:: (1 method):
convertToLookup()
Class: HTMLPurifier_ContentSets - X-Ref
__construct($modules) X-Ref |
Merges in module's content sets, expands identifiers in the content sets and populates the keys, values and lookup member variables. param: HTMLPurifier_HTMLModule[] $modules List of HTMLPurifier_HTMLModule |
generateChildDef(&$def, $module) X-Ref |
Accepts a definition; generates and assigns a ChildDef for it param: HTMLPurifier_ElementDef $def HTMLPurifier_ElementDef reference param: HTMLPurifier_HTMLModule $module Module that defined the ElementDef |
generateChildDefCallback($matches) X-Ref |
No description |
getChildDef($def, $module) X-Ref |
Instantiates a ChildDef based on content_model and content_model_type member variables in HTMLPurifier_ElementDef return: HTMLPurifier_ChildDef corresponding to ElementDef param: HTMLPurifier_ElementDef $def HTMLPurifier_ElementDef to have ChildDef extracted param: HTMLPurifier_HTMLModule $module Module that defined the ElementDef |
convertToLookup($string) X-Ref |
Converts a string list of elements separated by pipes into a lookup array. return: array Lookup array of elements param: string $string List of elements |