コード例 #1
0
ファイル: Tabs.php プロジェクト: claremontdesign/zbase
 /**
  * Return the Wrapper Attributes
  * @return array
  */
 public function wrapperAttributes()
 {
     $attr = parent::wrapperAttributes();
     $attr['class'][] = 'zbase-ui-' . $this->_type;
     $attr['id'] = 'zbase-ui-tabs-' . $this->getHtmlId();
     return $attr;
 }
コード例 #2
0
ファイル: Content.php プロジェクト: claremontdesign/zbase
 /**
  * Return the Wrapper Attributes
  * @return array
  */
 public function wrapperAttributes()
 {
     $attr = parent::wrapperAttributes();
     $attr['class'][] = 'zbase-ui-' . $this->_type;
     return $attr;
 }
コード例 #3
0
ファイル: Tab.php プロジェクト: claremontdesign/zbase
 /**
  * Return the Wrapper Attributes
  * @return array
  */
 public function wrapperAttributes()
 {
     $attr = parent::wrapperAttributes();
     $attr['class'][] = 'zbase-ui-' . $this->_type;
     $attr['class'][] = 'tab-pane';
     $attr['class'][] = 'fade';
     if ($this->isActive()) {
         $attr['class'][] = 'active';
         $attr['class'][] = 'in';
     }
     $attr['id'] = $this->getHtmlId();
     return $attr;
 }