HTMLPurifier 4.4.0
|
Validates an integer representation of pixels according to the HTML spec. More...
Public Member Functions | |
__construct ($max=null) | |
validate ($string, $config, $context) | |
Validates and cleans passed string according to a definition. | |
make ($string) | |
Factory method for creating this class from a string. | |
__construct ($max=null) | |
validate ($string, $config, $context) | |
Validates and cleans passed string according to a definition. | |
make ($string) | |
Factory method for creating this class from a string. | |
Protected Attributes | |
$max |
Validates an integer representation of pixels according to the HTML spec.
Definition at line 6 of file Pixels.php.
HTMLPurifier_AttrDef_HTML_Pixels::__construct | ( | $ | max = null | ) |
Definition at line 11 of file Pixels.php.
References $max.
HTMLPurifier_AttrDef_HTML_Pixels::__construct | ( | $ | max = null | ) |
Definition at line 10205 of file HTMLPurifier.standalone.php.
References $max.
HTMLPurifier_AttrDef_HTML_Pixels::make | ( | $ | string | ) |
Factory method for creating this class from a string.
$string | String construction info |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 39 of file Pixels.php.
References $max.
HTMLPurifier_AttrDef_HTML_Pixels::make | ( | $ | string | ) |
Factory method for creating this class from a string.
$string | String construction info |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 10233 of file HTMLPurifier.standalone.php.
References $max.
HTMLPurifier_AttrDef_HTML_Pixels::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_HTML_Length, HTMLPurifier_AttrDef_HTML_MultiLength, HTMLPurifier_AttrDef_HTML_Length, and HTMLPurifier_AttrDef_HTML_MultiLength.
Definition at line 10209 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_HTML_Pixels::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_HTML_Length, HTMLPurifier_AttrDef_HTML_MultiLength, HTMLPurifier_AttrDef_HTML_Length, and HTMLPurifier_AttrDef_HTML_MultiLength.
Definition at line 15 of file Pixels.php.
HTMLPurifier_AttrDef_HTML_Pixels::$max [protected] |
Definition at line 9 of file Pixels.php.
Referenced by __construct(), and make().