ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()
 Converts a token into its corresponding node.
- 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.
- Public Member Functions inherited from HTMLPurifier_Token
 __get ($n)
 position ($l=null, $c=null)
 Sets the position of the token in the source document.
 rawPosition ($l, $c)
 Convenience function for DirectLex settings line/col position.

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_Token_Tag
 $is_tag = true
 Static bool marker that indicates the class is a tag.
 $name
 The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
 $attr = array()
 Associative array of the tag's attributes.

Detailed Description

Concrete empty token class.

Definition at line 6 of file Empty.php.

Member Function Documentation

HTMLPurifier_Token_Empty::toNode ( )

Converts a token into its corresponding node.

Reimplemented from HTMLPurifier_Token_Tag.

Definition at line 8 of file Empty.php.

References $n.

{
$n->empty = true;
return $n;
}

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