PHP Class HTMLPurifier_AttrDef_CSS_Length, yii

Inheritance: extends HTMLPurifier_AttrDef
Exibir arquivo Open project: yiisoft/yii

Protected Properties

Property Type Description
$max
$min

Public Methods

Method Description
__construct ( HTMLPurifier_Length | string $min = null, HTMLPurifier_Length | string $max = null )
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string

Method Details

__construct() public method

public __construct ( HTMLPurifier_Length | string $min = null, HTMLPurifier_Length | string $max = null )
$min HTMLPurifier_Length | string Minimum length, or null for no bound. String is also acceptable.
$max HTMLPurifier_Length | string Maximum length, or null for no bound. String is also acceptable.

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

Property Details

$max protected_oe property

protected $max

$min protected_oe property

protected $min