Esempio n. 1
0
 /**
  * Display "New" / "Edit"
  */
 function edit()
 {
     JRequest::setVar('view', 'customfields');
     JRequest::setVar('layout', 'edit');
     parent::display();
 }
Esempio n. 2
0
 /**
  * Display "New" / "Edit"
  */
 function edit()
 {
     JRequest::setVar('view', 'kbcategories');
     JRequest::setVar('layout', 'edit');
     parent::display();
 }
Esempio n. 3
0
 /**
  * Display "New" / "Edit"
  */
 function edit()
 {
     JRequest::setVar('view', 'groups');
     JRequest::setVar('layout', 'edit');
     parent::display();
 }
Esempio n. 4
0
 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();
 }