Public Member Functions | ||||
| __construct ($single, $max=4) | ||||
| ||||
| validate ($string, $config, $context) | ||||
| __construct ($single, $max=4) | ||||
| ||||
| validate ($string, $config, $context) | ||||
Public Attributes | ||||
| $single | ||||
| Instance of component definition to defer validation to. | ||||
| $max | ||||
| Max number of values allowed. | ||||
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 14 of file Multiple.php.
| HTMLPurifier_AttrDef_CSS_Multiple::__construct | ( | $ | single, | |
| $ | max = 4 | |||
| ) |
| $single | HTMLPurifier_AttrDef to multiply |
| $max | Max number of values allowed (usually four) |
Definition at line 33 of file Multiple.php.
| HTMLPurifier_AttrDef_CSS_Multiple::__construct | ( | $ | single, | |
| $ | max = 4 | |||
| ) |
| $single | HTMLPurifier_AttrDef to multiply |
| $max | Max number of values allowed (usually four) |
Definition at line 8359 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Multiple::validate | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Definition at line 38 of file Multiple.php.
| HTMLPurifier_AttrDef_CSS_Multiple::validate | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Definition at line 8364 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Multiple::$single |
Instance of component definition to defer validation to.
Definition at line 21 of file Multiple.php.
Referenced by __construct().
| HTMLPurifier_AttrDef_CSS_Multiple::$max |
Max number of values allowed.
Definition at line 27 of file Multiple.php.
Referenced by __construct().
1.5.3