Ejemplo n.º 1
0
 function display($cachable = false, $urlparams = false)
 {
     require_once JPATH_COMPONENT . '/helpers/fbconnct.php';
     fbconnctHelper::addSubmenu(JRequest::getCmd('view', 'fbconnct'));
     $view = $this->input->get('view', 'fbconnct');
     $layout = $this->input->get('layout', 'default');
     $id = $this->input->getInt('id');
     parent::display();
     return $this;
 }
Ejemplo n.º 2
0
 function display($cachable = false, $urlparams = false)
 {
     require_once JPATH_COMPONENT . '/helpers/fbconnct.php';
     fbconnctHelper::addSubmenu(JRequest::getCmd('view', 'fbconnct'));
     switch (JRequest::getVar('view')) {
         case "test":
             JRequest::setVar('view', 'test');
             break;
         case "editor":
             JRequest::setVar('view', 'editor');
             break;
         case "users":
             JRequest::setVar('view', 'users');
             break;
         default:
             JRequest::setVar('view', 'fbconnct');
     }
     parent::display();
 }