Public Member Functions | Public Attributes | Static Public Attributes

FormControlTree Class Reference

Inheritance diagram for FormControlTree:
Collaboration diagram for FormControlTree:

List of all members.

Public Member Functions

 __construct ()
 pre_out ()
 get ($forvalidation=true)
 __get ($name)

Public Attributes

 $options = array()

Static Public Attributes

static $outpre = false

Detailed Description

A set of checkbox controls based on FormControl for output via a FormUI.

Definition at line 1750 of file formui.php.


Constructor & Destructor Documentation

FormControlTree::__construct (  ) 

Override the FormControl constructor to support more parameters

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

Reimplemented from FormControlSelect.

Definition at line 1764 of file formui.php.


Member Function Documentation

FormControlTree::__get ( name  ) 

Magic __get method for returning property values Override the handling of the value property to properly return the setting of the checkbox.

Parameters:
string $name The name of the property
Returns:
mixed The value of the requested property

Reimplemented from FormControl.

Definition at line 1844 of file formui.php.

FormControlTree::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 FormControlSelect.

Definition at line 1827 of file formui.php.

FormControlTree::pre_out (  ) 

Return the HTML/script required for this control. Do it only once.

Returns:
string The HTML/javascript required for this control.

Reimplemented from FormControl.

Definition at line 1780 of file formui.php.


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