implements Phalcon\Forms\ElementInterface
This is a base class for form elements
Phalcon\Forms\Element constructor
Sets the parent form to the element
Returns the parent form to the element
Sets the element name
Returns the element name
Sets the element filters
Adds a filter to current list of filters
Returns the element filters
Adds a group of validators
Adds a validator to the element
Returns the validators registered for the element
Returns an array of prepared attributes for Phalcon\Tag helpers according to the element parameters
Sets a default attribute for the element
Returns the value of an attribute if present
Sets default attributes for the element
Returns the default attributes for the element
Sets an option for the element
Returns the value of an option if present
Sets options for the element
Returns the options for the element
Sets the element label
Returns the element label
Generate the HTML to label the element
Sets a default value in case the form does not use an entity or there is no value available for the element in _POST
Returns the default value assigned to the element
Returns the element value
Returns the messages that belongs to the element The element needs to be attached to a form
Checks whether there are messages attached to the element
Sets the validation messages related to the element
Appends a message to the internal message list
Clears every element in the form to its default value
Magic method __toString renders the widget without attributes
...
© 2011–2017 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Forms_Element.html