PHP Class HTMLPurifier_AttrDef_CSS_Length, yii

Inheritance: extends HTMLPurifier_AttrDef
Afficher le fichier Open project: yiisoft/yii

Protected Properties

Свойство Type Description
$max
$min

Méthodes publiques

Méthode 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 méthode

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 méthode

public validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string
$string string
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat boolean | string

Property Details

$max protected_oe property

protected $max

$min protected_oe property

protected $min