/** * Display "New" / "Edit" */ function edit() { JRequest::setVar('view', 'customfields'); JRequest::setVar('layout', 'edit'); parent::display(); }
/** * Display "New" / "Edit" */ function edit() { JRequest::setVar('view', 'kbcategories'); JRequest::setVar('layout', 'edit'); parent::display(); }
/** * Display "New" / "Edit" */ function edit() { JRequest::setVar('view', 'groups'); JRequest::setVar('layout', 'edit'); parent::display(); }
function search() { $mainframe =& JFactory::getApplication(); // Get the model $model = $this->getModel('searches'); $search = $model->getSearch(); $params = unserialize(base64_decode($search->params)); foreach ($params as $param => $value) { JRequest::setVar($param, $value); } if ($mainframe->isAdmin()) { JRequest::setVar('view', 'tickets'); } else { JRequest::setVar('view', 'rsticketspro'); } JRequest::setVar('layout', 'default'); $mainframe =& JFactory::getApplication(); $option = 'com_rsticketspro'; $mainframe->setUserState($option . '.ticketsfilter.predefined_search', $search->id); parent::display(); }