HTMLPurifier_ChildDef_StrictBlockquote
Takes the contents of blockquote when in strict and reformats for validation.
- Full name:
\HTMLPurifier_ChildDef_StrictBlockquote
- Parent class:
\HTMLPurifier_ChildDef_Required
Properties
real_elements
fake_elements
allow_empty
Indicates whether or not an empty array of children is okay.
type
Type of child definition, usually right-most part of class name lowercase.
init
Methods
getAllowedElements
Get lookup of tag names that should not close this element automatically.
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\HTMLPurifier_Config |
validateChildren
Validates nodes according to definition and returns modification.
public validateChildren(array $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$children |
array | |
$config |
\HTMLPurifier_Config | |
$context |
\HTMLPurifier_Context |
init
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\HTMLPurifier_Config |
Inherited methods
getAllowedElements
Get lookup of tag names that should not close this element automatically.
All other elements will do so.
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\HTMLPurifier_Config | HTMLPurifier_Config object |
validateChildren
Validates nodes according to definition and returns modification.
public validateChildren(array $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$children |
array | |
$config |
\HTMLPurifier_Config | |
$context |
\HTMLPurifier_Context |
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$elements |
array|string | List of allowed element names (lowercase). |
Automatically generated on 2025-03-18