Cheetah
|
Public Member Functions | |
__construct ($single, $max=4) | |
validate ($string, $config, $context) | |
![]() | |
parseCDATA ($string) | |
make ($string) | |
Public Attributes | |
$single | |
$max | |
![]() | |
$minimized = false | |
$required = false | |
Additional Inherited Members | |
![]() | |
mungeRgb ($string) | |
expandCSSEscape ($string) | |
Framework class for strings that involve multiple values.
Certain CSS properties such as border-width and margin allow multiple lengths to be specified. This class can take a vanilla border-width definition and multiply it, usually into a max of four.
Definition at line 12395 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_CSS_Multiple::__construct | ( | $single, | |
$max = 4 |
|||
) |
HTMLPurifier_AttrDef | $single | HTMLPurifier_AttrDef to multiply |
int | $max | Max number of values allowed (usually four) |
Definition at line 12414 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_CSS_Multiple::validate | ( | $string, | |
$config, | |||
$context | |||
) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 12426 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_CSS_Multiple::$max |
Max number of values allowed.
Definition at line 12408 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_CSS_Multiple::$single |
Instance of component definition to defer validation to. @type HTMLPurifier_AttrDef
Definition at line 12402 of file HTMLPurifier.standalone.php.