Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
__construct () | |
Generates blank prototypes for cloning. | |
createComment ($data) | |
Creates a HTMLPurifier_Token_Comment. | |
createEmpty ($name, $attr=array()) | |
Creates a HTMLPurifier_Token_Empty. | |
createEnd ($name) | |
Creates a HTMLPurifier_Token_End. | |
createStart ($name, $attr=array()) | |
Creates a HTMLPurifier_Token_Start. | |
createText ($data) | |
Creates a HTMLPurifier_Token_Text. | |
HTMLPurifier_TokenFactory::createComment | ( | $data | ) |
Creates a HTMLPurifier_Token_Comment.
string | $data | Data of comment token |
HTMLPurifier_Token_Comment | Generated HTMLPurifier_Token_Comment |
HTMLPurifier_TokenFactory::createEmpty | ( | $name, | |
$attr = array() ) |
Creates a HTMLPurifier_Token_Empty.
string | $name | Tag name |
array | $attr | Associative array of attributes |
HTMLPurifier_Token_Empty | Generated HTMLPurifier_Token_Empty |
HTMLPurifier_TokenFactory::createEnd | ( | $name | ) |
Creates a HTMLPurifier_Token_End.
string | $name | Tag name |
HTMLPurifier_Token_End | Generated HTMLPurifier_Token_End |
HTMLPurifier_TokenFactory::createStart | ( | $name, | |
$attr = array() ) |
Creates a HTMLPurifier_Token_Start.
string | $name | Tag name |
array | $attr | Associative array of attributes |
HTMLPurifier_Token_Start | Generated HTMLPurifier_Token_Start |
HTMLPurifier_TokenFactory::createText | ( | $data | ) |
Creates a HTMLPurifier_Token_Text.
string | $data | Data of text token |
HTMLPurifier_Token_Text | Generated HTMLPurifier_Token_Text |