ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Validates the HTML type length (not to be confused with CSS's length). More...
Public Member Functions | |
validate ($string, $config, $context) | |
![]() | |
__construct ($max=null) | |
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... | |
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... | |
![]() | |
$max | |
int More... | |
Validates the HTML type length (not to be confused with CSS's length).
This accepts integer pixels or percentages as lengths for certain HTML attributes.
Definition at line 10 of file Length.php.
HTMLPurifier_AttrDef_HTML_Length::validate | ( | $string, | |
$config, | |||
$context | |||
) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Definition at line 19 of file Length.php.
References $config.