PHP Class HTMLPurifier_AttrDef_HTML_Length, yii

This accepts integer pixels or percentages as lengths for certain HTML attributes.
Inheritance: extends HTMLPurifier_AttrDef_HTML_Pixels
Mostrar archivo Open project: yiisoft/yii Class Usage Examples

Public Methods

Method Description
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string

Method Details

validate() public method

public validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string
$string string
$config HTMLPurifier_Config
$context HTMLPurifier_Context
return boolean | string