\HTMLPurifier_ChildDef_StrictBlockquote

Takes the contents of blockquote when in strict and reformats for validation.

Summary

Methods
Properties
Constants
__construct()
validateChildren()
getAllowedElements()
$elements
$allow_empty
$type
No constants found
No protected methods found
$whitespace
$real_elements
$fake_elements
$init
N/A
init()
No private properties found
N/A

Properties

$elements

$elements : 

Lookup array of all elements that this definition could possibly allow.

Type

$allow_empty

$allow_empty : 

Indicates whether or not an empty array of children is okay.

This is necessary for redundant checking when changes affecting a child node may cause a parent node to now be disallowed.

Type

$type

$type : 

Type of child definition, usually right-most part of class name lowercase.

Used occasionally in terms of context.

Type

$whitespace

$whitespace : 

Whether or not the last passed node was all whitespace.

Type

$real_elements

$real_elements : 

Type

$fake_elements

$fake_elements : 

Type

$init

$init : 

Type

Methods

__construct()

__construct(array|string  $elements) 

Parameters

array|string $elements

List of allowed element names (lowercase).

validateChildren()

validateChildren(array  $children, \HTMLPurifier_Config  $config, \HTMLPurifier_Context  $context) : array

Validates nodes according to definition and returns modification.

Parameters

array $children

Array of HTMLPurifier_Node

\HTMLPurifier_Config $config

HTMLPurifier_Config object

\HTMLPurifier_Context $context

HTMLPurifier_Context object

Returns

array

getAllowedElements()

getAllowedElements(\HTMLPurifier_Config  $config) : array

Parameters

\HTMLPurifier_Config $config

Returns

array