extends abstract class Phalcon\DI\Injectable
implements Phalcon\Events\EventsAwareInterface, Phalcon\DI\InjectionAwareInterface, Countable, Iterator, Traversable
This component allows to build forms using an object-oriented interface
Phalcon\Forms\Form constructor
Sets the form’s action
Returns the form’s action
Sets an option for the form
Returns the value of an option if present
Sets options for the element
Returns the options for the element
Sets the entity related to the model
Returns the entity related to the model
Returns the form elements added to the form
Binds data to the entity
Validates the form
Returns the messages generated in the validation
Returns the messages generated for a specific element
Check if messages were generated for a specific element
Adds an element to the form
Renders a specific item in the form
Returns an element added to the form by its name
Generate the label of a element added to the form including HTML
Returns a label for an element
Gets a value from the internal related entity or from the default value
Check if the form contains an element
Removes an element from the form
Clears every element in the form to its default value
Returns the number of elements in the form
Rewinds the internal iterator
Returns the current element in the iterator
Returns the current position/key in the iterator
Moves the internal iteration pointer to the next position
Check if the current element in the iterator is valid
Sets the dependency injector
Returns the internal dependency injector
Sets the event manager
Returns the internal event manager
Magic method __get
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Forms_Form.html