public function __construct($Label = 'Submit', $Attribs = array('class' => 'btn')) { $Attribs['type'] = 'submit'; parent::build($Label, $Attribs); }
/** * 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'); }