Path

ez components / documentation / api reference / 1.1 / userinput


eZ Components 1.1

UserInput: ezcInputFormDefinitionElement

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

Class: ezcInputFormDefinitionElement

This struct records information about Input Form definition elements. [source]

Constants

OPTIONAL = 0
REQUIRED = 1

Member Variables

public string $filterName = 'string'
The name of the filter to use for this definition element.
public mixed $parameters = false
The extra parameters to this filter.
public int $type = self::OPTIONAL
Whether the field is optional or required. One of the self::OPTIONAL or self::REQUIRED constants.

Method Summary

public ezcInputFormDefinitionElement __construct( [$type = ezcInputFormDefinitionElement::OPTIONAL], [$filterName = 'string'], [$parameters = null] )
Constructs a definition item.
public static void __set_state( $array )

Methods

__construct

ezcInputFormDefinitionElement __construct( [int $type = ezcInputFormDefinitionElement::OPTIONAL], [string $filterName = 'string'], [mixed $parameters = null] )
Constructs a definition item.
Constructs the definition item with all it's parameters.

Parameters

Name Type Description
$type int  
$filterName string  
$parameters mixed  

__set_state

void __set_state( $array )

Parameters

Name Type Description
$array array  

Last updated: Wed, 28 Nov 2007