Class HTMLPurifier_AttrDef_HTML_FrameTarget
Inheritance | HTMLPurifier_AttrDef_HTML_FrameTarget » HTMLPurifier_AttrDef_Enum » HTMLPurifier_AttrDef |
---|
Special-case enum attribute definition that lazy loads allowed frame targets
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$minimized | Tells us whether or not an HTML attribute is minimized. | HTMLPurifier_AttrDef | |
$required | Tells us whether or not an HTML attribute is required. | HTMLPurifier_AttrDef | |
$valid_values | HTMLPurifier_AttrDef_HTML_FrameTarget |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$case_sensitive | HTMLPurifier_AttrDef_HTML_FrameTarget |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_AttrDef_HTML_FrameTarget | |
make() | HTMLPurifier_AttrDef_Enum | |
parseCDATA() | Convenience method that parses a string as if it were CDATA. | HTMLPurifier_AttrDef |
validate() | HTMLPurifier_AttrDef_HTML_FrameTarget |
Protected Methods
Method | Description | Defined By |
---|---|---|
expandCSSEscape() | Parses a possibly escaped CSS string and returns the "pure" version of it. | HTMLPurifier_AttrDef |
mungeRgb() | Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. THIS IS A HACK! | HTMLPurifier_AttrDef |
Property Details
Method Details
public void __construct ( ) |
public bool|string validate ( $string, $config, $context ) | ||
$string | string | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context |