Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
HTMLPurifier_ChildDef_StrictBlockquote Class Reference
Inheritance diagram for HTMLPurifier_ChildDef_StrictBlockquote:
HTMLPurifier_ChildDef_Required HTMLPurifier_ChildDef

Public Member Functions

 getAllowedElements ($config)
 
 validateChildren ($children, $config, $context)
 

Public Attributes

 $allow_empty = true
 @type bool
 
 $elements = array()
 Lookup table of allowed elements.
 
 $type = 'strictblockquote'
 @type string
 

Protected Attributes

 $fake_elements
 @type array
 
 $init = false
 @type bool
 
 $real_elements
 @type array
 
 $whitespace = false
 Whether or not the last passed node was all whitespace.
 

Member Function Documentation

◆ getAllowedElements()

HTMLPurifier_ChildDef_StrictBlockquote::getAllowedElements ( $config)
Parameters
HTMLPurifier_Config$config
Return values
array
Note
We don't want MakeWellFormed to auto-close inline elements since they might be allowed.

Reimplemented from HTMLPurifier_ChildDef.

◆ validateChildren()

HTMLPurifier_ChildDef_StrictBlockquote::validateChildren ( $children,
$config,
$context )
Parameters
array$children
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Return values
array

Reimplemented from HTMLPurifier_ChildDef_Required.

Member Data Documentation

◆ $elements

HTMLPurifier_ChildDef_Required::$elements = array()
inherited

Lookup table of allowed elements.

@type array

◆ $whitespace

HTMLPurifier_ChildDef_Required::$whitespace = false
protectedinherited

Whether or not the last passed node was all whitespace.

@type bool


The documentation for this class was generated from the following file: