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.

$_constants= 'array(
self::BOOLEAN => 'boolean''
array(
self::BOOLEAN => 'boolean'
Details
__construct(
string|array|\Zend_Config $options
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$options | string|array|\Zend_Config | OPTIONAL |

_getLocalizedQuestion(
string $value, boolean $yes, array $locale
)
:
boolean
Determine the value of a localized string, and compare it to a given value
Name | Type | Description |
---|---|---|
$value | string | |
$yes | boolean | |
$locale | array |
Type | Description |
---|---|
boolean |

filter(
string $value
)
:
string
Defined by Zend_Filter_Interface
Returns a boolean representation of $value
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |

setCasting(
$casting
=
true
)
:
\Zend_Filter_Boolean
Set the working mode
Name | Type | Description |
---|---|---|
$casting |
Type | Description |
---|---|
\Zend_Filter_Boolean |
Exception | Description |
---|---|
\Zend_Filter_Exception |

setLocale(
string|array|\Zend_Locale $locale
=
null
)
:
\Zend_Filter_Boolean
Set the locales which are accepted
Name | Type | Description |
---|---|---|
$locale | string|array|\Zend_Locale |
Type | Description |
---|---|
\Zend_Filter_Boolean |
Exception | Description |
---|---|
\Zend_Filter_Exception |

setType(
integer|array $type
=
null
)
:
\Zend_Filter_Boolean
Set the null types
Name | Type | Description |
---|---|---|
$type | integer|array |
Type | Description |
---|---|
\Zend_Filter_Boolean |
Exception | Description |
---|---|
\Zend_Filter_Exception |