Overview

Packages

  • bootstrap
    • behaviors
    • components
    • form
    • gii
    • helpers
    • widgets

Classes

  • TbForm
  • TbFormButtonElement
  • TbFormInputElement
  • Overview
  • Package
  • Class
  • Tree

Class TbForm

Bootstrap form object that contains form input specifications.

CForm
Extended by TbForm
Package: bootstrap\form
Copyright: Copyright © Christoffer Niska 2013-
License: New BSD License
Author: Christoffer Niska <christoffer.niska@gmail.com>
Located at form/TbForm.php
Methods summary
public string
# renderElement( mixed $element )

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

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

Parameters

$element
mixed
$element the form element to be rendered.

Returns

string
the rendering result
public string
# renderButtons( )

Renders the buttons in this form.

Renders the buttons in this form.

Returns

string
the rendering result.
Properties summary
public string $inputElementClass 'TbFormInputElement'
#

the name of the class for representing a form input element.

the name of the class for representing a form input element.

public string $buttonElementClass 'TbButtonElement'
#

the name of the class for representing a form button element.

the name of the class for representing a form button element.

public array $activeForm 'TbActiveForm'
#

the configuration used to create the active form widget.

the configuration used to create the active form widget.

Yiistrap API documentation generated by ApiGen 2.8.0