ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Decorator that, depending on a token, switches between two definitions. More...
Public Member Functions | |
__construct ($tag, $with_tag, $without_tag) | |
validate ($string, $config, $context) | |
Protected Attributes | |
$tag | |
string More... | |
$withTag | |
HTMLPurifier_AttrDef More... | |
$withoutTag | |
HTMLPurifier_AttrDef More... | |
Decorator that, depending on a token, switches between two definitions.
Definition at line 6 of file Switch.php.
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 |
Definition at line 29 of file Switch.php.
References $tag.
HTMLPurifier_AttrDef_Switch::validate | ( | $string, | |
$config, | |||
$context | |||
) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Definition at line 42 of file Switch.php.
References $config, $context, and PHPMailer\PHPMailer\$token.
|
protected |
|
protected |
Definition at line 22 of file Switch.php.
|
protected |
Definition at line 17 of file Switch.php.