HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbForm Class Reference

Public Member Functions

 renderButtons ()
 renderBegin ()
 renderElement ($element)

Public Attributes

 $inputElementClass = 'TbFormInputElement'
 $buttonElementClass = 'TbFormButtonElement'
 $activeForm = array('class' => 'TbActiveForm')

Detailed Description

YiiBooster project. New BSD License TbForm is adaptation of CFrom class for fast form building with bootstrap. Its public interface does not differs from original CFrom class. Please refer to CFrom for further information.

See Also
CForm

Definition at line 14 of file TbForm.php.

Member Function Documentation

TbForm::renderBegin ( )

Renders the open tag of the form. The default implementation will render the open form tag.

Returns
string The rendering result.

Definition at line 63 of file TbForm.php.

TbForm::renderButtons ( )

Renders the buttons in this form.

Returns
string The rendering result.

Definition at line 45 of file TbForm.php.

Here is the call graph for this function:

TbForm::renderElement (   $element)

Renders a single element which could be an input element, a sub-form, a string, or a button.

Parameters
mixed$elementThe form element to be rendered. This can be either a CFormElement instance or a string representing the name of the form element.
Returns
string The rendering result.

Definition at line 78 of file TbForm.php.

Here is the caller graph for this function:

Member Data Documentation

TbForm::$activeForm = array('class' => 'TbActiveForm')

Definition at line 39 of file TbForm.php.

TbForm::$buttonElementClass = 'TbFormButtonElement'

Definition at line 28 of file TbForm.php.

TbForm::$inputElementClass = 'TbFormInputElement'

Definition at line 21 of file TbForm.php.


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