Public Member Functions | Public Attributes

FormControlSelect Class Reference

Inheritance diagram for FormControlSelect:
Collaboration diagram for FormControlSelect:

List of all members.

Public Member Functions

 set_options ($options)
 get (Theme $theme)

Public Attributes

 $options = array()

Detailed Description

A select control based on FormControl for output via a FormUI.

Definition at line 8 of file formcontrolselect.php.

Member Function Documentation

FormControlSelect::get ( Theme theme  ) 

Produce HTML output for this text control.

boolean $forvalidation True if this control should render error information based on validation.
string HTML that will render this control in the form

Reimplemented from FormControl.

Reimplemented in FormControlCheckboxes, and FormControlTree.

Definition at line 29 of file formcontrolselect.php.

FormControlSelect::set_options ( options  ) 

Set the options used in the output of this select

array $options An array of options. By default, a nested array will create an optgroup using the key as the optgroup label.
FormControlSelect $this

Definition at line 17 of file formcontrolselect.php.

The documentation for this class was generated from the following file: