Special-case enum attribute definition that lazy loads allowed frame targets.
More...
|
| | __construct () |
| |
| | validate ($string, $config, $context) |
| |
| | __construct ( $valid_values=array(), $case_sensitive=false) |
| |
| | validate ($string, $config, $context) |
| |
| | make ($string) |
| |
| | 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...
|
| |
|
| | 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...
|
| |
Special-case enum attribute definition that lazy loads allowed frame targets.
Definition at line 6 of file FrameTarget.php.
◆ __construct()
| HTMLPurifier_AttrDef_HTML_FrameTarget::__construct |
( |
| ) |
|
◆ validate()
| HTMLPurifier_AttrDef_HTML_FrameTarget::validate |
( |
|
$string, |
|
|
|
$config, |
|
|
|
$context |
|
) |
| |
Definition at line 14 of file FrameTarget.php.
15 if ($this->valid_values ===
false) $this->valid_values = $config->get(
'Attr.AllowedFrameTargets');
16 return parent::validate($string, $config, $context);
◆ $case_sensitive
| HTMLPurifier_AttrDef_HTML_FrameTarget::$case_sensitive = false |
|
protected |
◆ $valid_values
| HTMLPurifier_AttrDef_HTML_FrameTarget::$valid_values = false |
The documentation for this class was generated from the following file:
- Services/Html/HtmlPurifier/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php