getAttribute()
getAttributes()
getLabel()
getMessages()
getName()
getOption()
getOptions()
getValue()
hasAttribute()
setAttribute()
setAttributes()
setLabel()
setMessages()
setName()
setOption()
setOptions()
setValue()
getAttribute(string $key) : mixed
string
mixed
getAttributes() : array | \Traversable
array
\Traversable
getLabel() : string
string
getMessages() : array | \Traversable
Returns a list of validation failure messages, if any.
array
\Traversable
getName() : string
string
getOption(string $option) : null | mixed
string
null
mixed
getOptions() : array
array
getValue() : mixed
mixed
hasAttribute(string $key) : bool
string
bool
setAttribute(string $key, mixed $value) : \Zend\Form\ElementInterface
setAttributes(array | \Traversable $arrayOrTraversable) : \Zend\Form\ElementInterface
Implementation will decide if this will overwrite or merge.
array\Traversable
setMessages(array | \Traversable $messages) : \Zend\Form\ElementInterface
setName(string $name) : \Zend\Form\ElementInterface
In most cases, this will proxy to the attributes for storage, but is present to indicate that elements are generally named.
string
setOption(string $key, mixed $value) : \Zend\Form\self
string
mixed
\Zend\Form\self