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

Public Member Functions

 __construct ($name, $attr=array(), $line=null, $col=null, $armor=array())
 
 toTokenPair ()
 
 toTokenPair ()
 

Data Fields

 $name
 
 $attr = array()
 
 $children = array()
 
 $empty = false
 
 $endCol = null
 
 $endLine = null
 
 $endArmor = array()
 
- Data Fields inherited from HTMLPurifier_Node
 $line
 
 $col
 
 $armor = array()
 
 $dead = false
 

Detailed Description

Concrete element node class.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $name,
  $attr = array(),
  $line = null,
  $col = null,
  $armor = array() 
)

Member Function Documentation

◆ toTokenPair()

toTokenPair ( )

Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children. @type array

Reimplemented from HTMLPurifier_Node.

Field Documentation

◆ $attr

$attr = array()

Associative array of the node's attributes. @type array

◆ $children

$children = array()

List of child elements. @type array

◆ $empty

$empty = false

Does this use the form or the form, i.e. is it a pair of start/end tokens or an empty token. @bool

◆ $endArmor

$endArmor = array()

◆ $endCol

$endCol = null

◆ $endLine

$endLine = null

◆ $name

$name

The lower-case name of the tag, like 'a', 'b' or 'blockquote'.

Note
Strictly speaking, XML tags are case sensitive, so we shouldn't be lower-casing them, but these tokens cater to HTML tags, which are insensitive. @type string

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