ILIAS
Release_4_2_x_branch Revision 61807
|
Takes the contents of blockquote when in strict and reformats for validation. More...
Public Member Functions | |
getAllowedElements ($config) | |
validateChildren ($tokens_of_children, $config, $context) | |
Validates nodes according to definition and returns modification. | |
Public Member Functions inherited from HTMLPurifier_ChildDef_Required | |
__construct ($elements) |
Data Fields | |
$allow_empty = true | |
$type = 'strictblockquote' | |
Data Fields inherited from HTMLPurifier_ChildDef_Required | |
$elements = array() | |
Lookup table of allowed elements. | |
$allow_empty = false | |
$type = 'required' | |
Data Fields inherited from HTMLPurifier_ChildDef | |
$type | |
Type of child definition, usually right-most part of class name lowercase. | |
$allow_empty | |
Bool that indicates whether or not an empty array of children is okay. | |
$elements = array() | |
Lookup array of all elements that this definition could possibly allow. |
Protected Attributes | |
$real_elements | |
$fake_elements | |
$init = false | |
Protected Attributes inherited from HTMLPurifier_ChildDef_Required | |
$whitespace = false | |
Whether or not the last passed node was all whitespace. |
Private Member Functions | |
init ($config) |
Takes the contents of blockquote when in strict and reformats for validation.
Definition at line 6 of file StrictBlockquote.php.
HTMLPurifier_ChildDef_StrictBlockquote::getAllowedElements | ( | $config | ) |
Reimplemented from HTMLPurifier_ChildDef.
Definition at line 18 of file StrictBlockquote.php.
References $config, $fake_elements, and init().
|
private |
Definition at line 76 of file StrictBlockquote.php.
References $config, and HTMLPurifier_ChildDef_Required\$elements.
Referenced by getAllowedElements(), and validateChildren().
HTMLPurifier_ChildDef_StrictBlockquote::validateChildren | ( | $tokens_of_children, | |
$config, | |||
$context | |||
) |
Validates nodes according to definition and returns modification.
$tokens_of_children | Array of HTMLPurifier_Token |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_ChildDef_Required.
Definition at line 23 of file StrictBlockquote.php.
References $config, $fake_elements, $real_elements, $result, $ret, and init().
HTMLPurifier_ChildDef_StrictBlockquote::$allow_empty = true |
Definition at line 10 of file StrictBlockquote.php.
|
protected |
Definition at line 9 of file StrictBlockquote.php.
Referenced by getAllowedElements(), and validateChildren().
|
protected |
Definition at line 12 of file StrictBlockquote.php.
|
protected |
Definition at line 8 of file StrictBlockquote.php.
Referenced by validateChildren().
HTMLPurifier_ChildDef_StrictBlockquote::$type = 'strictblockquote' |
Definition at line 11 of file StrictBlockquote.php.