Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=null) | |
Constructor. | |
getType () | |
Returns the set null types. | |
setType ($type=null) | |
Set the null types. | |
filter ($value) | |
Defined by Zend_Filter_Interface. | |
Public Attributes | |
const | BOOLEAN = 1 |
const | INTEGER = 2 |
const | EMPTY_ARRAY = 4 |
const | STRING = 8 |
const | ZERO = 16 |
const | ALL = 31 |
Protected Attributes | |
$_constants | |
$_type = self::ALL | |
__construct | ( | $options = null | ) |
Constructor.
string | array | Zend_Config | $options | OPTIONAL |
filter | ( | $value | ) |
Defined by Zend_Filter_Interface.
Returns null representation of $value, if value is empty and matches types that should be considered null.
string | $value |
Implements Zend_Filter_Interface.
getType | ( | ) |
Returns the set null types.
setType | ( | $type = null | ) |
Set the null types.
integer | array | $type |
Zend_Filter_Exception |
|
protected |
|
protected |
const ALL = 31 |
const BOOLEAN = 1 |
const EMPTY_ARRAY = 4 |
const INTEGER = 2 |
const STRING = 8 |
const ZERO = 16 |