FormItem
in package

This is the FormItem class. This class represents an item of a form (encapsulating its name, filter and element).

Tags
see
FormItem::getFilterInput()
see
FormItem::getElement()
see
FormItem::getName()

Table of Contents

__construct() Constructor of the FormItem.  : mixed
getElement() This method returns the Element of the FormItem.  : Element|null
getFilterInput() This method returns the FilterInput of the FormItem.  : FilterInput|null
getName() This method returns the name of the FormItem.  : string

Methods

__construct()

Constructor of the FormItem.

public __construct(string $name, Element $formElement[, FilterInput $filterInput = null ]) : mixed
Parameters
$name : string
$formElement : Element
$filterInput : FilterInput = null
Return values
mixed

getElement()

This method returns the Element of the FormItem.

public getElement() : Element|null
Return values
Element|null

getName()

This method returns the name of the FormItem.

public getName() : string
Return values
string

Search results