category | Zend |
---|---|
package | Zend_Filter |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string|array|\Zend_Config $options = null
)
string
array
\Zend_Config
OPTIONAL
filter(string $value) : string
Returns null representation of $value, if value is empty and matches types that should be considered null.
inherited_from | \Zend_Filter_Interface::filter() |
---|
string
string
getType() : array
array
setType(integer|array $type = null
) : \Zend_Filter_Null
integer
array
\Zend_Filter_Exception |
---|
\Zend_Filter_Null
$_constants
array(self::BOOLEAN => 'boolean', self::INTEGER => 'integer', self::EMPTY_ARRAY => 'array', self::STRING => 'string', self::ZERO => 'zero', self::ALL => 'all')
$_type : integer
self::ALL
ALL = 31
BOOLEAN = 1
EMPTY_ARRAY = 4
INTEGER = 2
STRING = 8
ZERO = 16