Zend\Form\ElementInterface
Synopsis
interface ElementInterface
{
- // methods
- public ElementInterface setName()
- public string getName()
- public ElementInterface setOptions()
- public self setOption()
- public array getOptions()
- public null|mixed getOption()
- public ElementInterface setAttribute()
- public mixed getAttribute()
- public bool hasAttribute()
- public ElementInterface setAttributes()
- public Traversable getAttributes()
- public ElementInterface setValue()
- public mixed getValue()
- public ElementInterface setLabel()
- public string getLabel()
- public ElementInterface setMessages()
- public Traversable getMessages()
Hierarchy
Extended by
Implemented by
- Zend\Form\Form
- Zend\Form\Element
- Zend\Form\Element\Hidden
- Zend\Form\Element\Number
- Zend\Form\Element\Select
- Zend\Form\Element\Submit
- Zend\Form\Element\Date
- Zend\Form\Element\DateTimeSelect
- Zend\Form\Element\DateTime
- Zend\Form\Element\Button
- Zend\Form\Element\File
- Zend\Form\Element\Captcha
- Zend\Form\Element\Range
- Zend\Form\Element\Image
- Zend\Form\Element\DateTimeLocal
- Zend\Form\Element\Csrf
- Zend\Form\Element\Text
- Zend\Form\Element\Password
- Zend\Form\Element\Collection
- Zend\Form\Element\Textarea
- Zend\Form\Element\Radio
- Zend\Form\Element\DateSelect
- Zend\Form\Element\Url
- Zend\Form\Element\MonthSelect
- Zend\Form\Element\Month
- Zend\Form\Element\MultiCheckbox
- Zend\Form\Element\Email
- Zend\Form\Element\Color
- Zend\Form\Element\Time
- Zend\Form\Element\Checkbox
- Zend\Form\Element\Week
- Zend\Form\InputFilterProviderFieldset
- Zend\Form\Fieldset
Methods
public
- getAttribute() — Retrieve a single element attribute
- getAttributes() — Retrieve all attributes at once
- getLabel() — Retrieve the label (if any) used for this element
- getMessages() — Get validation error messages, if any
- getName() — Retrieve the element name
- getOption() — return the specified option
- getOptions() — get the defined options
- getValue() — Retrieve the element value
- hasAttribute() — Return true if a specific attribute is set
- setAttribute() — Set a single element attribute
- setAttributes() — Set many attributes at once
- setLabel() — Set the label (if any) used for this element
- setMessages() — Set a list of messages to report when validation fails
- setName() — Set the name of this element
- setOption() — Set a single option for an element
- setOptions() — Set options for an element
- setValue() — Set the value of the element