프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$negative | Whether or not negative values are allowed. | ||
$positive | Whether or not positive values are allowed. | ||
$zero | Whether or not zero is allowed. |
메소드 | 설명 | |
---|---|---|
__construct ( $negative = true, $zero = true, $positive = true ) | ||
validate ( string $integer, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string |
public __construct ( $negative = true, $zero = true, $positive = true ) | ||
$negative | Bool indicating whether or not negative values are allowed | |
$zero | Bool indicating whether or not zero is allowed | |
$positive | Bool indicating whether or not positive values are allowed |