Validates a boolean attribute.
More...
Public Member Functions |
| | __construct ($name=false) |
| | validate ($string, $config, $context) |
| | make ($string) |
| | parseCDATA ($string) |
| | Convenience method that parses a string as if it were CDATA.
|
Data Fields |
| | $minimized = true |
| | bool
|
| | $minimized = false |
| | Tells us whether or not an HTML attribute is minimized.
|
| | $required = false |
| | Tells us whether or not an HTML attribute is required.
|
Protected Attributes |
| | $name |
| | bool
|
Additional Inherited Members |
| | mungeRgb ($string) |
| | Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly.
|
| | expandCSSEscape ($string) |
| | Parses a possibly escaped CSS string and returns the "pure" version of it.
|
Detailed Description
Validates a boolean attribute.
Definition at line 6 of file Bool.php.
Constructor & Destructor Documentation
| HTMLPurifier_AttrDef_HTML_Bool::__construct |
( |
|
$name = false | ) |
|
Member Function Documentation
| HTMLPurifier_AttrDef_HTML_Bool::make |
( |
|
$string | ) |
|
| HTMLPurifier_AttrDef_HTML_Bool::validate |
( |
|
$string, |
|
|
|
$config, |
|
|
|
$context |
|
) |
| |
Field Documentation
| HTMLPurifier_AttrDef_HTML_Bool::$minimized = true |
| HTMLPurifier_AttrDef_HTML_Bool::$name |
|
protected |
The documentation for this class was generated from the following file:
- Services/Html/HtmlPurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php