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 = ARKHelper::getActions(); }