Fully Qualified Name: | Zend\Filter\ToNull |
Extends: | AbstractFilter |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | ToNull |
__invoke() | Invoke filter as a command | AbstractFilter |
filter() | Defined by Zend\Filter\FilterInterface | ToNull |
getOptions() | Retrieve options representing object state | AbstractFilter |
getType() | Returns defined boolean types | ToNull |
hasPcreUnicodeSupport() | AbstractFilter | |
setOptions() | AbstractFilter | |
setType() | Set boolean types | ToNull |
Constructor
Parameter Name | Type | Description |
---|---|---|
$typeOrOptions | string|array|\Traversable | OPTIONAL |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: mixed
Defined by Zend\Filter\FilterInterface
Returns null representation of $value, if value is empty and matches types that should be considered null.
Parameter Name | Type | Description |
---|---|---|
$value | string |
Returns: string
Retrieve options representing object state
Returns: array
Returns defined boolean types
Returns: int
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable |
Returns: self
Set boolean types
Parameter Name | Type | Description |
---|---|---|
$type | int|array |
Returns: self