X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebDoFormCommand.php;h=03a63679c4686023194295a6b51c9dc94d41c937;hb=d527a312ec4b2983fc0ecda2179ce335c1a5a1f9;hp=79f292a7a76dda6b3543a0020c86122af45969cd;hpb=75552231db513fd6657bdb232c5f3109aaa605d7;p=shipsimu.git diff --git a/inc/classes/main/commands/web/class_WebDoFormCommand.php b/inc/classes/main/commands/web/class_WebDoFormCommand.php index 79f292a..03a6367 100644 --- a/inc/classes/main/commands/web/class_WebDoFormCommand.php +++ b/inc/classes/main/commands/web/class_WebDoFormCommand.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @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 * @@ -44,8 +44,8 @@ class WebDoFormCommand extends BaseCommand implements Commandable { /** * Creates an instance of this class * - * @param $resolverInstance An instance of a command resolver class - * @return $commandInstance An instance a prepared command class + * @param $resolverInstance An instance of a command resolver class + * @return $commandInstance An instance a prepared command class */ public final static function createWebDoFormCommand (CommandResolver $resolverInstance) { // Get new instance @@ -61,24 +61,23 @@ class WebDoFormCommand extends BaseCommand implements Commandable { /** * Executes the given command with given request and response objects * - * @param $requestInstance An instance of a class with an Requestable interface - * @param $responseInstance An instance of a class with an Responseable interface + * @param $requestInstance An instance of a class with an Requestable interface + * @param $responseInstance An instance of a class with an Responseable interface * @return void */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { // Should never be executed... - echo "This should never be executed!
";
-		debug_print_backtrace();
-		die("
Good bye..."); + $this->debugBackTrace(); } /** * Adds extra filters to the given controller instance * * @param $controllerInstance A controller instance + * @param $requestInstance An instance of a class with an Requestable interface * @return void */ - function addExtraFilters (Controller $controllerInstance) { + public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) { // Empty for now }