Esempio n. 1
0
 public function relayAction($request)
 {
     if (!isset($this->settings['short' . $request->area])) {
         return null;
     }
     $db = JFactory::getDBO();
     $rewriting = array('short', 'tags', 'text', 'params');
     foreach ($rewriting as $rw_name) {
         $this->settings[$rw_name . $request->area] = AECToolbox::rewriteEngineRQ($this->settings[$rw_name . $request->area], $request);
     }
     $log_entry = new EventLog();
     $log_entry->issue($this->settings['short' . $request->area], $this->settings['tags' . $request->area], $this->settings['text' . $request->area], $this->settings['level' . $request->area], $this->settings['params' . $request->area], $this->settings['force_notify' . $request->area], $this->settings['force_email' . $request->area]);
 }