ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
HTMLPurifier_Token_Empty Class Reference

Concrete empty token class. More...

+ Inheritance diagram for HTMLPurifier_Token_Empty:
+ Collaboration diagram for HTMLPurifier_Token_Empty:

Public Member Functions

 toNode ()
 
- Public Member Functions inherited from HTMLPurifier_Token_Tag
 __construct ($name, $attr=array(), $line=null, $col=null, $armor=array())
 Non-overloaded constructor, which lower-cases passed tag name. More...
 
 toNode ()
 
- Public Member Functions inherited from HTMLPurifier_Token
 __get ($n)
 
 position ($l=null, $c=null)
 Sets the position of the token in the source document. More...
 
 rawPosition ($l, $c)
 Convenience function for DirectLex settings line/col position. More...
 
 toNode ()
 Converts a token into its corresponding node. More...
 

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_Token_Tag
 $is_tag = true
 Static bool marker that indicates the class is a tag. More...
 
 $name
 The lower-case name of the tag, like 'a', 'b' or 'blockquote'. More...
 
 $attr = array()
 Associative array of the tag's attributes. More...
 
- Data Fields inherited from HTMLPurifier_Token
 $line
 Line number node was on in source document. More...
 
 $col
 Column of line node was on in source document. More...
 
 $armor = array()
 Lookup array of processing that this token is exempt from. More...
 
 $skip
 Used during MakeWellFormed. More...
 
 $rewind
 
 $carryover
 

Detailed Description

Concrete empty token class.

Definition at line 6 of file Empty.php.

Member Function Documentation

◆ toNode()

HTMLPurifier_Token_Empty::toNode ( )

Definition at line 8 of file Empty.php.

References $n.

8  {
9  $n = parent::toNode();
10  $n->empty = true;
11  return $n;
12  }
$n
Definition: RandomTest.php:80

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