X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcontroller%2Fdefault%2Fclass_WebDefaultController.php;h=7f7e862f8ae24b1e28dcb8f7cf7d6b6bdb3489b6;hp=6b2b89df11018cd198486ce59ede64acc0ccd6b4;hb=25c3c49665cd853fd9618426004f1f2a278e20aa;hpb=b226bbefe6bc09bcd75432c3c3ba32bf7da45b71 diff --git a/inc/classes/main/controller/default/class_WebDefaultController.php b/inc/classes/main/controller/default/class_WebDefaultController.php index 6b2b89d..7f7e862 100644 --- a/inc/classes/main/controller/default/class_WebDefaultController.php +++ b/inc/classes/main/controller/default/class_WebDefaultController.php @@ -7,6 +7,7 @@ * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org + * @todo This controller shall still provide some headlines for sidebars * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +22,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class WebWebDefaultController extends BaseController implements Controller { +class WebDefaultController extends BaseController implements Controller { /** * Protected constructor * @@ -32,10 +33,10 @@ class WebWebDefaultController extends BaseController implements Controller { parent::__construct(__CLASS__); // Set part description - $this->setObjectDescription("Standart-Controller für alle übrigen Anfragen"); + $this->setObjectDescription("Default controller for all other requests"); // Create unique ID number - $this->createUniqueID(); + $this->generateUniqueId(); } /** @@ -64,7 +65,7 @@ class WebWebDefaultController extends BaseController implements Controller { */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { // Get the command instance - $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance); + $commandInstance = $this->getResolverInstance()->resolveCommandByRequest($requestInstance); // This request was valid! :-D $requestInstance->requestIsValid();