コード例 #1
0
ファイル: mod.php プロジェクト: Roman921/Step-21
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabGmp(langGmp::_('Templates'), $this->getCode());
     $tab->setView('templatesTab');
     $tab->setSortOrder(1);
     $tabs[] = $tab;
     return $tabs;
 }
コード例 #2
0
ファイル: mod.php プロジェクト: Roman921/Step-21
 /**
  * Returns the available tabs
  * 
  * @return array of tab 
  */
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabGmp(langGmp::_('General'), $this->getCode());
     $tab->setView('optionTab');
     $tab->setSortOrder(-99);
     $tabs[] = $tab;
     return $tabs;
 }
コード例 #3
0
ファイル: mod.php プロジェクト: Roman921/Step-21
 /**
  * Returns the available tabs
  * 
  * @return array of tab 
  */
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabGmp(langGmp::_('User Fields'), $this->getCode());
     $tab->setView('userFieldsTab');
     $tab->setSortOrder(3);
     $tab->setParent('templatesGmp');
     $tab->setNestingLevel(1);
     $tabs[] = $tab;
     return $tabs;
 }