Property | Type | Description | |
---|---|---|---|
$non_negative | Indicates whether or not only positive values are allowed. |
Method | Description | |
---|---|---|
__construct ( boolean $non_negative = false ) | ||
validate ( string $number, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string | boolean |
public __construct ( boolean $non_negative = false ) | ||
$non_negative | boolean | indicates whether negatives are forbidden |