Constructor
| Parameters: |
|
|---|
Set boolean types
| Parameters: | integer|array – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | Boolean |
Set the working mode
| Parameters: | bool – When true this filter works like cast When false it recognises only true and false and all other values are returned as is |
|---|---|
| Return type: | Boolean |
@param array|Traversable $translations
| Return type: | Boolean |
|---|
Defined by ZendFilterFilterInterface
Returns a boolean representation of $value
| Parameters: | string – |
|---|---|
| Return type: | string |