Example #1
0
 /**
  * Method to add a message to the component message que
  *
  * @param   string $message The message to add
  * @return  void
  */
 public function redirect($url, $msg = '', $msgType = '')
 {
     $url = $url != '' ? $url : Request::getVar('REQUEST_URI', Route::url('index.php?option=' . $this->option . '&id=' . $this->obj_id . '&active=comments'), 'server');
     parent::redirect($url, $msg, $msgType);
 }
Example #2
0
 /**
  * Method to add a message to the component message que
  *
  * @param   string $message The message to add
  * @return  void
  */
 public function redirect($url, $msg = '', $msgType = '')
 {
     $url = $url != '' ? $url : Request::getVar('REQUEST_URI', Route::url($this->obj->link() . '&active=reviews'), 'server');
     parent::redirect($url, $msg, $msgType);
 }