public function __construct($Label = 'Submit', $Attribs = array('class' => 'btn'))
 {
     $Attribs['type'] = 'submit';
     parent::build($Label, $Attribs);
 }
Ejemplo n.º 2
0
 /**
  * construct Button
  * @param string $name
  * @param mixed $value
  */
 function __construct($name, $value = null)
 {
     parent::__construct($name, $value);
     // remove default bootstrapper btn class
     $this->removeClass('btn');
 }