| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
Structure that stores an HTML element definition. More...
 Collaboration diagram for HTMLPurifier_ElementDef:
 Collaboration diagram for HTMLPurifier_ElementDef:| Public Member Functions | |
| mergeIn ($def) | |
| Merges the values of another element definition into this one.  More... | |
| Static Public Member Functions | |
| static | create ($content_model, $content_model_type, $attr) | 
| Low-level factory constructor for creating new standalone element defs.  More... | |
| Data Fields | |
| $standalone = true | |
| Does the definition work by itself, or is it created solely for the purpose of merging into another definition? @type bool.  More... | |
| $attr = array() | |
| Associative array of attribute name to HTMLPurifier_AttrDef.  More... | |
| $attr_transform_pre = array() | |
| List of tags HTMLPurifier_AttrTransform to be done before validation.  More... | |
| $attr_transform_post = array() | |
| List of tags HTMLPurifier_AttrTransform to be done after validation.  More... | |
| $child | |
| HTMLPurifier_ChildDef of this tag.  More... | |
| $content_model | |
| Abstract string representation of internal ChildDef rules.  More... | |
| $content_model_type | |
| Value of $child->type, used to determine which ChildDef to use, used in combination with $content_model.  More... | |
| $descendants_are_inline = false | |
| Does the element have a content model (#PCDATA | Inline)*? This is important for chameleon ins and del processing in HTMLPurifier_ChildDef_Chameleon.  More... | |
| $required_attr = array() | |
| List of the names of required attributes this element has.  More... | |
| $excludes = array() | |
| Lookup table of tags excluded from all descendants of this tag.  More... | |
| $autoclose = array() | |
| This tag is explicitly auto-closed by the following tags.  More... | |
| $wrap | |
| If a foreign element is found in this element, test if it is allowed by this sub-element; if it is, instead of closing the current element, place it inside this element.  More... | |
| $formatting | |
| Whether or not this is a formatting element affected by the "Active Formatting Elements" algorithm.  More... | |
| Private Member Functions | |
| _mergeAssocArray (&$a1, $a2) | |
| Merges one array into another, removes values which equal false.  More... | |
Structure that stores an HTML element definition.
Used by HTMLPurifier_HTMLDefinition and HTMLPurifier_HTMLModule.
Definition at line 11 of file ElementDef.php.
| 
 | private | 
Merges one array into another, removes values which equal false.
| $a1 | Array by reference that is merged into | 
| $a2 | Array that merges into $a1 | 
Definition at line 202 of file ElementDef.php.
Referenced by mergeIn().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Low-level factory constructor for creating new standalone element defs.
Definition at line 138 of file ElementDef.php.
References $attr, $content_model, $content_model_type, and $def.
Referenced by HTMLPurifier_HTMLModule\addElement().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| HTMLPurifier_ElementDef::mergeIn | ( | $def | ) | 
Merges the values of another element definition into this one.
Values from the new element def take precedence if a value is not mergeable.
| HTMLPurifier_ElementDef | $def | 
Definition at line 153 of file ElementDef.php.
References $def, and _mergeAssocArray().
 Here is the call graph for this function:
 Here is the call graph for this function:| HTMLPurifier_ElementDef::$attr = array() | 
Associative array of attribute name to HTMLPurifier_AttrDef.
@type array
Definition at line 32 of file ElementDef.php.
Referenced by create().
| HTMLPurifier_ElementDef::$attr_transform_post = array() | 
List of tags HTMLPurifier_AttrTransform to be done after validation.
@type array
Definition at line 56 of file ElementDef.php.
| HTMLPurifier_ElementDef::$attr_transform_pre = array() | 
List of tags HTMLPurifier_AttrTransform to be done before validation.
@type array
Definition at line 50 of file ElementDef.php.
| HTMLPurifier_ElementDef::$autoclose = array() | 
This tag is explicitly auto-closed by the following tags.
@type array
Definition at line 118 of file ElementDef.php.
| HTMLPurifier_ElementDef::$child | 
HTMLPurifier_ChildDef of this tag.
@type HTMLPurifier_ChildDef
Definition at line 62 of file ElementDef.php.
| HTMLPurifier_ElementDef::$content_model | 
Abstract string representation of internal ChildDef rules.
Definition at line 72 of file ElementDef.php.
Referenced by create().
| HTMLPurifier_ElementDef::$content_model_type | 
Value of $child->type, used to determine which ChildDef to use, used in combination with $content_model.
Definition at line 82 of file ElementDef.php.
Referenced by create().
| HTMLPurifier_ElementDef::$descendants_are_inline = false | 
Does the element have a content model (#PCDATA | Inline)*? This is important for chameleon ins and del processing in HTMLPurifier_ChildDef_Chameleon.
Dynamically set: modules don't have to worry about this one. @type bool
Definition at line 91 of file ElementDef.php.
| HTMLPurifier_ElementDef::$excludes = array() | 
Lookup table of tags excluded from all descendants of this tag.
@type array
Definition at line 112 of file ElementDef.php.
| HTMLPurifier_ElementDef::$formatting | 
Whether or not this is a formatting element affected by the "Active Formatting Elements" algorithm.
@type bool
Definition at line 133 of file ElementDef.php.
| HTMLPurifier_ElementDef::$required_attr = array() | 
List of the names of required attributes this element has.
Dynamically populated by HTMLPurifier_HTMLDefinition::getElement() @type array
Definition at line 98 of file ElementDef.php.
| HTMLPurifier_ElementDef::$standalone = true | 
Does the definition work by itself, or is it created solely for the purpose of merging into another definition? @type bool.
Definition at line 18 of file ElementDef.php.
| HTMLPurifier_ElementDef::$wrap | 
If a foreign element is found in this element, test if it is allowed by this sub-element; if it is, instead of closing the current element, place it inside this element.
@type string
Definition at line 126 of file ElementDef.php.