API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_ChildDef_StrictBlockquote Class Reference
Inheritance diagram for HTMLPurifier_ChildDef_StrictBlockquote:
Collaboration diagram for HTMLPurifier_ChildDef_StrictBlockquote:

Public Member Functions

 getAllowedElements ($config)
 
 validateChildren ($children, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_ChildDef_Required
 __construct ($elements)
 
 validateChildren ($children, $config, $context)
 
 getAllowedElements ($config)
 
 validateChildren ($children, $config, $context)
 

Data Fields

 $allow_empty = true
 
 $type = 'strictblockquote'
 
- Data Fields inherited from HTMLPurifier_ChildDef_Required
 $elements = array()
 
 $allow_empty = false
 
 $type = 'required'
 
- Data Fields inherited from HTMLPurifier_ChildDef
 $type
 
 $allow_empty
 
 $elements = array()
 

Protected Attributes

 $real_elements
 
 $fake_elements
 
 $init = false
 
- Protected Attributes inherited from HTMLPurifier_ChildDef_Required
 $whitespace = false
 

Detailed Description

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

Member Function Documentation

◆ getAllowedElements()

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

Reimplemented from HTMLPurifier_ChildDef.

◆ validateChildren()

validateChildren (   $children,
  $config,
  $context 
)
Parameters
array$children
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
array

Reimplemented from HTMLPurifier_ChildDef_Required.

Field Documentation

◆ $allow_empty

$allow_empty = true

@type bool

◆ $fake_elements

$fake_elements
protected

@type array

◆ $init

$init = false
protected

@type bool

◆ $real_elements

$real_elements
protected

@type array

◆ $type

$type = 'strictblockquote'

@type string


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