PHP Class Habari\FormControlSelect

Inheritance: extends FormControl
Mostra file Open project: habari/system

Public Properties

Property Type Description
$options

Public Methods

Method Description
get ( Theme $theme ) : string Produce HTML output for this text control.
set_options ( array $options ) : FormControlSelect Set the options used in the output of this select

Method Details

get() public method

Produce HTML output for this text control.
public get ( Theme $theme ) : string
$theme Theme
return string HTML that will render this control in the form

set_options() public method

Set the options used in the output of this select
public set_options ( array $options ) : FormControlSelect
$options array An array of options. By default, a nested array will create an optgroup using the key as the optgroup label.
return FormControlSelect $this

Property Details

$options public_oe property

public $options