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