|
HTMLPurifier 4.4.0
|
Special-case enum attribute definition that lazy loads allowed frame targets. More...
Public Member Functions | |
| __construct () | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| __construct () | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
Public Attributes | |
| $valid_values = false | |
| Lookup table of valid values. | |
Protected Attributes | |
| $case_sensitive = false | |
| Bool indicating whether or not enumeration is case sensitive. | |
Special-case enum attribute definition that lazy loads allowed frame targets.
Definition at line 6 of file FrameTarget.php.
| HTMLPurifier_AttrDef_HTML_FrameTarget::__construct | ( | ) |
Definition at line 12 of file FrameTarget.php.
| HTMLPurifier_AttrDef_HTML_FrameTarget::__construct | ( | ) |
Definition at line 10103 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_HTML_FrameTarget::validate | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) |
Validates and cleans passed string according to a definition.
| $string | String to be validated and cleaned. |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef_Enum.
Definition at line 14 of file FrameTarget.php.
References $config.
Referenced by validate().
| HTMLPurifier_AttrDef_HTML_FrameTarget::validate | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) |
Validates and cleans passed string according to a definition.
| $string | String to be validated and cleaned. |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef_Enum.
Definition at line 10105 of file HTMLPurifier.standalone.php.
References $config, and validate().
HTMLPurifier_AttrDef_HTML_FrameTarget::$case_sensitive = false [protected] |
Bool indicating whether or not enumeration is case sensitive.
Reimplemented from HTMLPurifier_AttrDef_Enum.
Definition at line 10 of file FrameTarget.php.
| HTMLPurifier_AttrDef_HTML_FrameTarget::$valid_values = false |
Lookup table of valid values.
Reimplemented from HTMLPurifier_AttrDef_Enum.
Definition at line 9 of file FrameTarget.php.