ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Validates a font family list according to CSS spec. More...
Public Member Functions | |
__construct () | |
validate ($string, $config, $context) | |
![]() | |
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... | |
Protected Attributes | |
$mask = null | |
Additional Inherited Members | |
![]() | |
$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... | |
![]() | |
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... | |
Validates a font family list according to CSS spec.
Definition at line 6 of file FontFamily.php.
HTMLPurifier_AttrDef_CSS_FontFamily::__construct | ( | ) |
Definition at line 11 of file FontFamily.php.
HTMLPurifier_AttrDef_CSS_FontFamily::validate | ( | $string, | |
$config, | |||
$context | |||
) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 55 of file FontFamily.php.
References $fonts, and HTMLPurifier_AttrDef\expandCSSEscape().
|
protected |
Definition at line 9 of file FontFamily.php.