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 a boolean representation of $value
inherited_from | \Zend_Filter_Interface::filter() |
---|
string
string
getCasting() : boolean
boolean
getLocale() : array
array
getType() : integer
integer
setCasting($casting = true
) : \Zend_Filter_Boolean
\Zend_Filter_Exception |
---|
\Zend_Filter_Boolean
setLocale(string|array|\Zend_Locale $locale = null
) : \Zend_Filter_Boolean
string
array
\Zend_Locale
\Zend_Filter_Exception |
---|
\Zend_Filter_Boolean
setType(integer|array $type = null
) : \Zend_Filter_Boolean
integer
array
\Zend_Filter_Exception |
---|
\Zend_Filter_Boolean
_getLocalizedQuestion(string $value, boolean $yes, array $locale) : boolean
string
boolean
array
boolean
$_casting : boolean
true
$_constants
array(self::BOOLEAN => 'boolean', self::INTEGER => 'integer', self::FLOAT => 'float', self::STRING => 'string', self::ZERO => 'zero', self::EMPTY_ARRAY => 'array', self::NULL => 'null', self::PHP => 'php', self::FALSE_STRING => 'false', self::YES => 'yes', self::ALL => 'all')
$_locale : array
array('auto')
$_type : integer
self::PHP
ALL = 511
BOOLEAN = 1
EMPTY_ARRAY = 32
FALSE_STRING = 128
FLOAT = 4
INTEGER = 2
NULL = 64
PHP = 127
STRING = 8
YES = 256
ZERO = 16