Forms\Form

extends abstract class Phalcon\Di\Injectable implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, Countable, Iterator, Traversable Source on GitHub This component allows to build forms using an object-oriented interface Methods public setValidation (mixed $validation) ... public getValidation () ... public __construct ([object $entity], [array $userOptions]) Phalcon\Forms\Form constructor public setAction (mixed $action) Sets the form’s action public getAction ()

Forms\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Forms\Element\TextArea::render

public render ([array $attributes]) Renders the element widget

Forms\Element\TextArea

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component TEXTAREA for forms Methods public render ([array $attributes]) Renders the element widget public __construct (string $name, [array $attributes]) inherited from Phalcon\Forms\Element Phalcon\Forms\Element constructor public setForm (Phalcon\Forms\Form $form) inherited from Phalcon\Forms\Element Sets the parent form to the element public getForm () inherited from Phalcon\Forms\Eleme

Forms\Element\Text::render

public render ([array $attributes]) Renders the element widget

Forms\Element\Text

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=text] for forms Methods public render ([array $attributes]) Renders the element widget public __construct (string $name, [array $attributes]) inherited from Phalcon\Forms\Element Phalcon\Forms\Element constructor public setForm (Phalcon\Forms\Form $form) inherited from Phalcon\Forms\Element Sets the parent form to the element public getForm () inherited from Phalcon\For

Forms\Element\Submit::render

public render ([array $attributes]) Renders the element widget

Forms\Element\Submit

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=submit] for forms Methods public render ([array $attributes]) Renders the element widget public __construct (string $name, [array $attributes]) inherited from Phalcon\Forms\Element Phalcon\Forms\Element constructor public setForm (Phalcon\Forms\Form $form) inherited from Phalcon\Forms\Element Sets the parent form to the element public getForm () inherited from Phalcon\F

Forms\Element\Select::getOptions

public array | object getOptions () Returns the choices’ options

Forms\Element\Select::render

public render ([array $attributes]) Renders the element widget returning html