Path

ez components / documentation / api reference / latest / mvctools


eZ Components latest

MvcTools: ezcMvcFilterDefinition

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcFilterDefinition

This class implements a filter definition to wrap around the filtername and its options. [source]

Parents

ezcBaseStruct
   |
   --ezcMvcFilterDefinition

Member Variables

public string $className
Contains the class name of the filter.
public array $options
Contains an array of filter-specific options.

Method Summary

public ezcMvcFilterDefinition __construct( [$className = ''], [$options = array()] )
Constructs a new ezcMvcFilterDefinition.
public static ezcMvcFilterDefinition __set_state( $array )
Returns a new instance of this class with the data specified by $array.

Methods

__construct

ezcMvcFilterDefinition __construct( [string $className = ''], [array $options = array()] )
Constructs a new ezcMvcFilterDefinition.

Parameters

Name Type Description
$className string  
$options array  

__set_state

ezcMvcFilterDefinition __set_state( $array )
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.

Parameters

Name Type Description
$array array(string=>mixed)  

Last updated: Mon, 21 Dec 2009