Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Public Member Functions | |
__construct ($tag, $with_tag, $without_tag) | |
validate ($string, $config, $context) | |
Protected Attributes | |
$tag | |
@type string | |
$withoutTag | |
@type HTMLPurifier_AttrDef | |
$withTag | |
@type HTMLPurifier_AttrDef | |
HTMLPurifier_AttrDef_Switch::__construct | ( | $tag, | |
$with_tag, | |||
$without_tag ) |
string | $tag | Tag name to switch upon |
HTMLPurifier_AttrDef | $with_tag | Call if token matches tag |
HTMLPurifier_AttrDef | $without_tag | Call if token doesn't match, or there is no token |
HTMLPurifier_AttrDef_Switch::validate | ( | $string, | |
$config, | |||
$context ) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
bool|string |