Class HTMLPurifier_ChildDef_Table
Definition for tables
- HTMLPurifier_ChildDef
- HTMLPurifier_ChildDef_Table
public
|
|
public
boolean
|
#
validateChildren( $tokens_of_children $tokens_of_children, $config $config, $context $context )
Validates nodes according to definition and returns modification. |
getAllowedElements()
|
public
boolean
|
$allow_empty | false |
#
Bool that indicates whether or not an empty array of children is okay |
public
string
|
$type | 'table' |
#
Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context. |
public
array
|
$elements | array('tr' => true, 'tbody' => true, 'thead' => true,
'tfoot' => true, 'caption' => true, 'colgroup' => true, 'col' => true) |
#
Lookup array of all elements that this definition could possibly allow |