Public Member Functions | Public Attributes

FormControlSelect Class Reference

Inheritance diagram for FormControlSelect:
Collaboration diagram for FormControlSelect:

List of all members.

Public Member Functions

 __construct ()
 get ($forvalidation=true)

Public Attributes

 $options = array()
 $multiple = false
 $size = 5

Detailed Description

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

Definition at line 1651 of file formui.php.


Constructor & Destructor Documentation

FormControlSelect::__construct (  ) 

Override the FormControl constructor to support more parameters

Parameters:
string $name
string $caption
array $options
string $template

Reimplemented from FormControl.

Reimplemented in FormControlTree.

Definition at line 1665 of file formui.php.


Member Function Documentation

FormControlSelect::get ( forvalidation = true  ) 

Produce HTML output for this text control.

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

Reimplemented from FormControl.

Reimplemented in FormControlCheckboxes, and FormControlTree.

Definition at line 1685 of file formui.php.


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