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); }
function __construct($default = array()) { parent::__construct($default); $this->canDo = JCKHelper::getActions(); }
public function template() { $model = $this->getModel('folders'); $model->store(); JRequest::setVar('view', 'install'); JRequest::setVar('layout', 'default4'); parent::display(); }