Forms\Element\Select::getOptions

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

Forms\Element\Select::addOption

public this addOption (array $option) Adds an option to the current options

Forms\Element\Select

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component SELECT (choice) for forms Methods public __construct (string $name, [object | array $options], [array $attributes]) Phalcon\Forms\Element constructor public Phalcon\Forms\Element setOptions (array | object $options) Set the choice’s options public array | object getOptions () Returns the choices’ options public this addOption (array $option) Adds an option to the current options pub

Forms\Element\Radio::render

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

Forms\Element\Radio

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=radio] for forms Methods public render ([array $attributes]) Renders the element widget returning html 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

Forms\Element\Password::render

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

Forms\Element\Password

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=password] for forms Methods public render ([array $attributes]) Renders the element widget returning html 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 () inherit

Forms\Element\Numeric::render

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

Forms\Element\Numeric

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=number] for forms Methods public render ([array $attributes]) Renders the element widget returning html 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

Forms\Element\Hidden::render

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