function setVertical($val) { html::errorBoolean($this, 'vertical', $val); return $this->toggleClass('btn-group-vertical', $val); }