Class HTMLPurifier_AttrDef_Integer
Validates an integer.
- HTMLPurifier_AttrDef
- HTMLPurifier_AttrDef_Integer
Note:
While this class was modeled off the CSS definition, no currently allowed CSS
uses this type. The properties that do are: widows, orphans, z-index,
counter-increment, counter-reset. Some of the HTML attributes, however, find use
for a non-negative version of this.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
public
|
|
public
boolean|string
|
expandCSSEscape(),
make(),
mungeRgb(),
parseCDATA()
|
protected
boolean
|
$negative | true |
#
Whether or not negative values are allowed. |
protected
boolean
|
$zero | true |
#
Whether or not zero is allowed. |
protected
boolean
|
$positive | true |
#
Whether or not positive values are allowed. |
$minimized,
$required
|