Zend\Filter\Null
Synopsis
class Null
extends AbstractFilter
{
- // constants
- const TYPE_BOOLEAN = 1;
- const TYPE_INTEGER = 2;
- const TYPE_EMPTY_ARRAY = 4;
- const TYPE_STRING = 8;
- const TYPE_ZERO_STRING = 16;
- const TYPE_FLOAT = 32;
- const TYPE_ALL = 63;
- // members
- protected array $constants;
- protected array $options;
- // Inherited members from AbstractFilter
- protected array $options;
- // methods
- public void __construct()
- public self setType()
- public int getType()
- public string filter()
- // Inherited methods from AbstractFilter
- public static bool hasPcreUnicodeSupport()
- public self setOptions()
- public array getOptions()
- public mixed __invoke()
- protected static bool isOptions()
Hierarchy
Extends
Constants
Name | Value |
---|---|
TYPE_BOOLEAN | 1 |
TYPE_INTEGER | 2 |
TYPE_EMPTY_ARRAY | 4 |
TYPE_STRING | 8 |
TYPE_ZERO_STRING | 16 |
TYPE_FLOAT | 32 |
TYPE_ALL | 63 |
Members
protected
- $constants — array
- $options — array
- $options
—
array
Filter options
Methods
public
- __construct() — Constructor
- filter() — Defined by Zend\Filter\FilterInterface
- getType() — Returns defined boolean types
- setType() — Set boolean types
Inherited from Zend\Filter\AbstractFilter
protected
public
- __invoke() — Invoke filter as a command
- getOptions() — Retrieve options representing object state
- hasPcreUnicodeSupport()
- setOptions()