|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Validates a boolean attribute. More...
Inheritance diagram for HTMLPurifier_AttrDef_HTML_Bool:
Collaboration diagram for HTMLPurifier_AttrDef_HTML_Bool:Public Member Functions | |
| __construct ($name=false) | |
| validate ($string, $config, $context) | |
| make ($string) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. More... | |
| parseCDATA ($string) | |
| Convenience method that parses a string as if it were CDATA. More... | |
| make ($string) | |
| Factory method for creating this class from a string. More... | |
Data Fields | |
| $minimized = true | |
| @type bool More... | |
Data Fields inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| Tells us whether or not an HTML attribute is minimized. More... | |
| $required = false | |
| Tells us whether or not an HTML attribute is required. More... | |
Protected Attributes | |
| $name | |
| @type bool More... | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. More... | |
| expandCSSEscape ($string) | |
| Parses a possibly escaped CSS string and returns the "pure" version of it. More... | |
| HTMLPurifier_AttrDef_HTML_Bool::__construct | ( | $name = false | ) |
| HTMLPurifier_AttrDef_HTML_Bool::make | ( | $string | ) |
| string | $string | Name of attribute |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 42 of file Bool.php.
| HTMLPurifier_AttrDef_HTML_Bool::validate | ( | $string, | |
| $config, | |||
| $context | |||
| ) |
| string | $string | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 33 of file Bool.php.
References $name.
| HTMLPurifier_AttrDef_HTML_Bool::$minimized = true |
|
protected |