src/ministruts/RequestProcessor.php
protected function processActionForward(Request $request, Response $response, ActionForward $forward) {
        $module = $this->module;

        if ($forward->isRedirect()) {
            $this->cacheActionMessages($request);
            $path = $forward->getPath();

            if (isset(parse_url($path)['host'])) {               // check for external URI
                $url = $path;
            }
            else {
                $moduleUri = $request->getApplicationBaseUri().$module->getPrefix();
                $url = $moduleUri.ltrim($path, '/');
            }
            $response->redirect($url, $forward->getRedirectType());
        }
        else {
            $path = $forward->getPath();
            $tile = $module->findTile($path);

            if (!$tile) {
                // $path ist ein Dateiname, generische Tile erzeugen
                $tilesClass = $module->getTilesClass();
                /** @var Tile $tile */
                $tile = new $tilesClass($this->module);
                $tile->setName(Tile::GENERIC_NAME)
                     ->setFileName($path)
                     ->freeze();
            }
            $tile->render();
        }
    }
protected function processActionForward(Request $request, Response $response, ActionForward $forward) {
        $module = $this->module;

        if ($forward->isRedirect()) {
            $this->cacheActionMessages($request);
            $path = $forward->getPath();

            if (isset(parse_url($path)['host'])) {               // check for external URI
                $url = $path;
            }
            else {
                $moduleUri = $request->getApplicationBaseUri().$module->getPrefix();
                $url = $moduleUri.ltrim($path, '/');
            }
            $response->redirect($url, $forward->getRedirectType());
        }
        else {
            $path = $forward->getPath();
            $tile = $module->findTile($path);

            if (!$tile) {
                // $path ist ein Dateiname, generische Tile erzeugen
                $tilesClass = $module->getTilesClass();
                /** @var Tile $tile */
                $tile = new $tilesClass($this->module);
                $tile->setName(Tile::GENERIC_NAME)
                     ->setFileName($path)
                     ->freeze();
            }
            $tile->render();
        }
    }
protected function processActionForward ( Request $ request , Response $ response , ActionForward $ forward ) { $ module = $ this -> module ; if ( $ forward -> isRedirect ( ) ) { $ this -> cacheActionMessages ( $ request ) ; $ path = $ forward -> getPath ( ) ; if ( isset ( parse_url ( $ path ) [ 'host' ] ) ) { // check for external URI $ url = $ path ; } else { $ moduleUri = $ request -> getApplicationBaseUri ( ) . $ module -> getPrefix ( ) ; $ url = $ moduleUri . ltrim ( $ path , '/' ) ; } $ response -> redirect ( $ url , $ forward -> getRedirectType ( ) ) ; } else { $ path = $ forward -> getPath ( ) ; $ tile = $ module -> findTile ( $ path ) ; if ( ! $ tile ) { // $path ist ein Dateiname, generische Tile erzeugen $ tilesClass = $ module -> getTilesClass ( ) ; /** @var Tile $tile */ $ tile = new $ tilesClass ( $ this -> module ) ; $ tile -> setName ( Tile :: GENERIC_NAME ) -> setFileName ( $ path ) -> freeze ( ) ; } $ tile -> render ( ) ; } }
Verarbeitet den von der Action zurueckgegebenen ActionForward.  Leitet auf die Resource weiter,
die der ActionForward bezeichnet.

@param  Request       $request
@param  Response      $response
@param  ActionForward $forward
Verarbeitet den von der Action zurueckgegebenen ActionForward . Leitet auf die Resource weiter die der ActionForward bezeichnet .