Exemple #1
0
 function display($cachable = false, $urlparams = false)
 {
     switch ($this->getTask()) {
         case 'add':
         case 'edit':
             JRequest::setVar('hidemainmenu', 1);
             JRequest::setVar('layout', 'form');
             JRequest::setVar('view', 'editplugin');
     }
     parent::display($cachable, $urlparams);
 }
Exemple #2
0
 function __construct($default = array())
 {
     parent::__construct($default);
     $this->canDo = ARKHelper::getActions();
 }