![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($single, $max=4) | |
validate ($string, $config, $context) | |
![]() | |
validate ($string, $config, $context) | |
parseCDATA ($string) | |
make ($string) | |
Data Fields | |
$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.
__construct | ( | $single, | |
$max = 4 |
|||
) |
HTMLPurifier_AttrDef | $single | HTMLPurifier_AttrDef to multiply |
int | $max | Max number of values allowed (usually four) |
validate | ( | $string, | |
$config, | |||
$context | |||
) |
string | $string | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
$max |
Max number of values allowed.
$single |
Instance of component definition to defer validation to. @type HTMLPurifier_AttrDef