This class implements a filter definition to wrap around the filtername and its options.
Source for this file: /MvcTools/src/structs/filter_definition.php
ezcBaseStruct | --ezcMvcFilterDefinition
Version: | //autogentag// |
public string |
$className
Contains the class name of the filter. |
public array |
$options
Contains an array of filter-specific options. |
public static ezcMvcFilterDefinition |
__set_state(
$array
)
Returns a new instance of this class with the data specified by $array. |
public ezcMvcFilterDefinition |
__construct(
[ $className
= ''] , [ $options
= array()] )
Constructs a new ezcMvcFilterDefinition. |
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.
Name | Type | Description |
---|---|---|
$array |
array(string=>mixed) |
Constructs a new ezcMvcFilterDefinition.
Name | Type | Description |
---|---|---|
$className |
string | |
$options |
array |