|
Cheetah
|
Public Member Functions | |
| __construct ($tag, $with_tag, $without_tag) | |
| validate ($string, $config, $context) | |
Protected Attributes | |
| $tag | |
| $withTag | |
| $withoutTag | |
Decorator that, depending on a token, switches between two definitions.
Definition at line 10740 of file HTMLPurifier.standalone.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 10763 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_Switch::validate | ( | $string, | |
| $config, | |||
| $context | |||
| ) |
| string | $string | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Definition at line 10776 of file HTMLPurifier.standalone.php.
|
protected |
@type string
Definition at line 10746 of file HTMLPurifier.standalone.php.
|
protected |
@type HTMLPurifier_AttrDef
Definition at line 10756 of file HTMLPurifier.standalone.php.
|
protected |
@type HTMLPurifier_AttrDef
Definition at line 10751 of file HTMLPurifier.standalone.php.