|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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 |