Exemplo n.º 1
0
 /**
  * Erstellt die komplette Ausgabe der Actions als JSON
  * Wirft evtl. aufgetretene Fehler
  */
 public function postDispatch()
 {
     // Exceptions ausgeben, wenn welche im Stack liegen
     $exceptions = \Cms\ExceptionStack::getExceptions();
     if (count($exceptions) > 0) {
         // response->data weitergeben?
         $data = $this->pushDataToErrorController === true ? $this->responseData->getData() : null;
         \Cms\ExceptionStack::throwErrors($data);
     }
     parent::postDispatch();
 }
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
 }