Esempio n. 1
0
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabCsp(langCsp::_('Templates'), $this->getCode());
     $tab->setView('templatesTab');
     $tab->setSortOrder(1);
     $tabs[] = $tab;
     return $tabs;
 }
Esempio n. 2
0
 /**
  * Returns the available tabs
  * 
  * @return array of tab 
  */
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabCsp(langCsp::_('General'), $this->getCode());
     $tab->setView('optionTab');
     $tab->setSortOrder(-99);
     $tabs[] = $tab;
     return $tabs;
 }
Esempio n. 3
0
 /**
  * Returns the available tabs
  * 
  * @return array of tab 
  */
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabCsp(langCsp::_('User Fields'), $this->getCode());
     $tab->setView('userFieldsTab');
     $tab->setSortOrder(3);
     $tab->setParent('templatesCsp');
     $tab->setNestingLevel(1);
     $tabs[] = $tab;
     return $tabs;
 }
Esempio n. 4
0
 /**
  * Returns the available tabs
  * 
  * @return array of tab 
  */
 public function getTabs()
 {
     $tabs = array();
     $tab = new tabCsp(langCsp::_('Notifications'), $this->getCode());
     $tab->setView('messengerTab');
     $tab->setSortOrder(10);
     $tabs[] = $tab;
     return $tabs;
 }