예제 #1
0
 function onAfterExecuteTask($controller)
 {
     $controllerName = strtolower($controller->getName());
     $method = strtolower($controller->get('task'));
     $task = $controllerName . '.' . $method;
     //what tasks need the submenuhelper added?
     $aTasks = array('config.display', 'orders.listing', 'payments.listing', 'balances.listing', 'themes.listthemes', 'currencies.listing', 'pricing.listing', 'gateways.listing', 'mailman.mails', 'about.main');
     if (!in_array($task, $aTasks)) {
         return;
     }
     BidsHelperAdmin::subMenuHelper();
 }
예제 #2
0
 /**
  * Configure the Linkbar.
  *
  * @param    string    The name of the active view.
  *
  * @return    void
  * @since    1.6
  */
 public static function addSubmenu($vName)
 {
     JToolBarHelper::title('test', 'auction');
     JLoader::register('BidsHelperAdmin', JPATH_ROOT . DS . 'components' . DS . 'com_bids' . DS . 'helpers' . DS . 'admin.php');
     BidsHelperAdmin::subMenuHelper();
 }
예제 #3
0
 function display($tpl = null)
 {
     $this->addToolBar();
     BidsHelperAdmin::subMenuHelper();
     parent::display($tpl);
 }