ILIAS
Release_5_0_x_branch Revision 61816
|
Factory for token generation. More...
Public Member Functions | |
__construct () | |
Generates blank prototypes for cloning. | |
createStart ($name, $attr=array()) | |
Creates a HTMLPurifier_Token_Start. | |
createEnd ($name) | |
Creates a HTMLPurifier_Token_End. | |
createEmpty ($name, $attr=array()) | |
Creates a HTMLPurifier_Token_Empty. | |
createText ($data) | |
Creates a HTMLPurifier_Token_Text. | |
createComment ($data) | |
Creates a HTMLPurifier_Token_Comment. |
Private Attributes | |
$p_start | |
HTMLPurifier_Token_Start | |
$p_end | |
HTMLPurifier_Token_End | |
$p_empty | |
HTMLPurifier_Token_Empty | |
$p_text | |
HTMLPurifier_Token_Text | |
$p_comment | |
HTMLPurifier_Token_Comment |
Factory for token generation.
Definition at line 14 of file TokenFactory.php.
HTMLPurifier_TokenFactory::__construct | ( | ) |
HTMLPurifier_TokenFactory::createComment | ( | $data | ) |
Creates a HTMLPurifier_Token_Comment.
string | $data | Data of comment token |
Definition at line 110 of file TokenFactory.php.
References $p_comment.
HTMLPurifier_TokenFactory::createEmpty | ( | $name, | |
$attr = array() |
|||
) |
Creates a HTMLPurifier_Token_Empty.
string | $name | Tag name |
array | $attr | Associative array of attributes |
Definition at line 86 of file TokenFactory.php.
References $p_empty.
HTMLPurifier_TokenFactory::createEnd | ( | $name | ) |
Creates a HTMLPurifier_Token_End.
string | $name | Tag name |
Definition at line 73 of file TokenFactory.php.
References $p_end.
HTMLPurifier_TokenFactory::createStart | ( | $name, | |
$attr = array() |
|||
) |
Creates a HTMLPurifier_Token_Start.
string | $name | Tag name |
array | $attr | Associative array of attributes |
Definition at line 61 of file TokenFactory.php.
References $p_start.
HTMLPurifier_TokenFactory::createText | ( | $data | ) |
Creates a HTMLPurifier_Token_Text.
string | $data | Data of text token |
Definition at line 98 of file TokenFactory.php.
References $p_text.
|
private |
Definition at line 41 of file TokenFactory.php.
Referenced by createComment().
|
private |
Definition at line 31 of file TokenFactory.php.
Referenced by createEmpty().
|
private |
|
private |
Definition at line 21 of file TokenFactory.php.
Referenced by createStart().
|
private |