|
ILIAS
Release_4_3_x_branch Revision 61807
|
Factory for token generation. More...
Collaboration diagram for HTMLPurifier_TokenFactory: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. | |
Data Fields | |
| $p_end | |
| $p_empty | |
| $p_text | |
| $p_comment | |
Private Attributes | |
| $p_start | |
| Prototypes that will be cloned. | |
Factory for token generation.
Definition at line 14 of file TokenFactory.php.
| HTMLPurifier_TokenFactory::__construct | ( | ) |
| HTMLPurifier_TokenFactory::createComment | ( | $data | ) |
Creates a HTMLPurifier_Token_Comment.
| $data | Data of comment token |
Definition at line 86 of file TokenFactory.php.
References $data, and $p_comment.
| HTMLPurifier_TokenFactory::createEmpty | ( | $name, | |
$attr = array() |
|||
| ) |
Creates a HTMLPurifier_Token_Empty.
| $name | Tag name |
| $attr | Associative array of attributes |
Definition at line 64 of file TokenFactory.php.
References $p_empty.
| HTMLPurifier_TokenFactory::createEnd | ( | $name | ) |
Creates a HTMLPurifier_Token_End.
| $name | Tag name |
Definition at line 52 of file TokenFactory.php.
References $p_end.
| HTMLPurifier_TokenFactory::createStart | ( | $name, | |
$attr = array() |
|||
| ) |
Creates a HTMLPurifier_Token_Start.
| $name | Tag name |
| $attr | Associative array of attributes |
Definition at line 41 of file TokenFactory.php.
References $p_start.
| HTMLPurifier_TokenFactory::createText | ( | $data | ) |
Creates a HTMLPurifier_Token_Text.
| $data | Data of text token |
Definition at line 75 of file TokenFactory.php.
| HTMLPurifier_TokenFactory::$p_comment |
Definition at line 22 of file TokenFactory.php.
Referenced by createComment().
| HTMLPurifier_TokenFactory::$p_empty |
Definition at line 22 of file TokenFactory.php.
Referenced by createEmpty().
| HTMLPurifier_TokenFactory::$p_end |
Definition at line 22 of file TokenFactory.php.
Referenced by createEnd().
|
private |
Prototypes that will be cloned.
Definition at line 22 of file TokenFactory.php.
Referenced by createStart().
| HTMLPurifier_TokenFactory::$p_text |
Definition at line 22 of file TokenFactory.php.
Referenced by createText().