\HTMLPurifier_ChildDef_StrictBlockquote
Takes the contents of blockquote when in strict and reformats for validation.
Synopsis
class HTMLPurifier_ChildDef_StrictBlockquote
extends HTMLPurifier_ChildDef_Required
{
- // members
- protected $real_elements;
- protected $fake_elements;
- public boolean $allow_empty = true;
- public string $type = 'strictblockquote';
- protected boolean $init = false;
- // Inherited members from HTMLPurifier_ChildDef_Required
- public array $elements;
- protected boolean $whitespace;
- public boolean $allow_empty;
- public string $type;
- // Inherited members from HTMLPurifier_ChildDef
- public $type;
- public $allow_empty;
- public array $elements;
- // methods
- public void getAllowedElements()
- public void validateChildren()
- private void init()
- // Inherited methods from HTMLPurifier_ChildDef_Required
- public void __construct()
- public void validateChildren()
- // Inherited methods from HTMLPurifier_ChildDef
- public void getAllowedElements()
- public abstract bool validateChildren()
Hierarchy
Extends
Members
protected
- $fake_elements
- $init
- $real_elements
-
$whitespace
Whether or not the last passed node was all whitespace.
public
- $allow_empty
- $allow_empty
-
$allow_empty
Bool that indicates whether or not an empty array of children is okay -
$elements
Lookup table of allowed elements. -
$elements
Lookup array of all elements that this definition could possibly allow - $type
- $type
-
$type
Type of child definition, usually right-most part of class name lowercase.
Methods
private
public
Inherited from HTMLPurifier_ChildDef_Required
public
Inherited from HTMLPurifier_ChildDef
public
- getAllowedElements() — Get lookup of tag names that should not close this element automatically.
- validateChildren() — Validates nodes according to definition and returns modification.