XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_ChildDef_StrictBlockquote Class Reference
Inheritance diagram for HTMLPurifier_ChildDef_StrictBlockquote:
Inheritance graph

Public Member Functions

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

Public Attributes

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

Protected Attributes

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

Private Member Functions

 init ($config)
 

Detailed Description

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

Definition at line 6 of file StrictBlockquote.php.

Member Function Documentation

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

Definition at line 18 of file StrictBlockquote.php.

References $config, $fake_elements, and init().

Here is the call graph for this function:

HTMLPurifier_ChildDef_StrictBlockquote::init (   $config)
private

Definition at line 76 of file StrictBlockquote.php.

References $config, and HTMLPurifier_ChildDef_Required\$elements.

Referenced by getAllowedElements(), and validateChildren().

Here is the caller graph for this function:

HTMLPurifier_ChildDef_StrictBlockquote::validateChildren (   $tokens_of_children,
  $config,
  $context 
)

Definition at line 23 of file StrictBlockquote.php.

References $config, $fake_elements, $i, $real_elements, $result, $ret, $token, and init().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_ChildDef_StrictBlockquote::$allow_empty = true

Definition at line 10 of file StrictBlockquote.php.

HTMLPurifier_ChildDef_StrictBlockquote::$fake_elements
protected

Definition at line 9 of file StrictBlockquote.php.

Referenced by getAllowedElements(), and validateChildren().

HTMLPurifier_ChildDef_StrictBlockquote::$init = false
protected

Definition at line 12 of file StrictBlockquote.php.

HTMLPurifier_ChildDef_StrictBlockquote::$real_elements
protected

Definition at line 8 of file StrictBlockquote.php.

Referenced by validateChildren().

HTMLPurifier_ChildDef_StrictBlockquote::$type = 'strictblockquote'

Definition at line 11 of file StrictBlockquote.php.


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