예제 #1
0
 /**
  * Returns an array(tab) descriptions
  *
  * @return array
  */
 protected function getTabs()
 {
     if (!isset($this->processedTabs) && $this->getOrdersWithFiles()) {
         $this->tabs['ordered_files'] = array('title' => 'Ordered files', 'template' => 'modules/CDev/Egoods/files.tpl');
     }
     parent::getTabs();
     return $this->processedTabs;
 }
예제 #2
0
파일: Account.php 프로젝트: kingsj/core
 /**
  * Returns an array(tab) descriptions
  *
  * @return array
  */
 protected function getTabs()
 {
     $tabs = parent::getTabs();
     if (\XLite\Core\Config::getInstance()->CDev->Catalog->disable_checkout) {
         if (isset($tabs['order_list'])) {
             unset($tabs['order_list']);
         }
     }
     return $tabs;
 }