Overview

Packages

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

Classes

  • TbForm
  • TbFormButtonElement
  • TbFormInputElement
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * TbFormButtonElement class file.
 4:  * @author Christoffer Niska <christoffer.niska@gmail.com>
 5:  * @copyright Copyright &copy; Christoffer Niska 2013-
 6:  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 7:  * @package bootstrap.form
 8:  */
 9: 
10: /**
11:  * Bootstrap form button element.
12:  */
13: class TbFormButtonElement extends CFormButtonElement
14: {
15:     /**
16:      * Returns this button.
17:      * @return string the rendering result.
18:      */
19:     public function render()
20:     {
21:         return TbHtml::btn($this->type, $this->label, $this->attributes);
22:     }
23: }
Yiistrap API documentation generated by ApiGen 2.8.0