Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
BOOLEAN = '1'
INTEGER = '2'
FLOAT = '4'
STRING = '8'
ZERO = '16'
EMPTY_ARRAY = '32'
NULL = '64'
PHP = '127'
FALSE_STRING = '128'
YES = '256'
ALL = '511'
boolean $_casting = 'true'
Internal mode
$_constants = 'array'
array $_locale = 'array'
Internal locale
integer $_type = 'self'
Internal type to detect
__construct(
string|array|Zend_Config $options
=
null
)
:
Constructor
_getLocalizedQuestion(
string $value, boolean $yes, array $locale
)
:
boolean
Determine the value of a localized string, and compare it to a given value
filter(
string $value
)
:
string
Defined by Zend_Filter_Interface
Returns a boolean representation of $value
getCasting(
)
:
boolean
Returns the casting option
getLocale(
)
:
array
Returns the set locale
getType(
)
:
int
Returns the set null types
setCasting(
$casting
=
true
)
:
Zend_Filter_Boolean
Set the working mode
setLocale(
string|array|Zend_Locale $locale
=
null
)
:
Zend_Filter_Boolean
Set the locales which are accepted
setType(
integer|array $type
=
null
)
:
Zend_Filter_Boolean
Set the null types