コード例 #1
0
ファイル: RadioList.php プロジェクト: qcubed/plugin_bootstrap
 /**
  * Used by drawing routines to render the attributes associated with this control.
  *
  * @param null $attributeOverrides
  * @param null $styleOverrides
  * @return string
  */
 public function RenderHtmlAttributes($attributeOverrides = null, $styleOverrides = null)
 {
     if ($this->intButtonMode == \QRadioButtonList::ButtonModeSet) {
         $attributeOverrides["data-toggle"] = "buttons";
         $attributeOverrides["class"] = $this->CssClass;
         \QHtml::AddClass($attributeOverrides["class"], "btn-group");
     }
     return parent::RenderHtmlAttributes($attributeOverrides, $styleOverrides);
 }