/** * 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(); }
public function init() { parent::init(); }