PHP Class HTMLPurifier_AttrDef_CSS_Multiple, yii
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.
显示文件
Open project: yiisoft/yii
Public Properties
Property |
Type |
Description |
|
$max |
|
Max number of values allowed. |
|
$single |
|
Instance of component definition to defer validation to. |
|
Public Methods
Method Details
__construct()
public method
public __construct ( HTMLPurifier_AttrDef $single, integer $max = 4 ) |
$single |
HTMLPurifier_AttrDef |
HTMLPurifier_AttrDef to multiply |
$max |
integer |
Max number of values allowed (usually four) |
Property Details
Max number of values allowed.
$single public_oe property
Instance of component definition to defer validation to.