]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/commands/web/class_WebDoFormCommand.php
Actions (so called sub-commands) may now have own pre/post filter, profile update...
[shipsimu.git] / inc / classes / main / commands / web / class_WebDoFormCommand.php
index 87bd1d13bfc2f4c115b4de1e34182785f1eedd47..3dde736e3c61adf3564cfcf9dfb61c3b3f8b13c3 100644 (file)
@@ -67,10 +67,20 @@ class WebDoFormCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Should never be executed...
-               echo "<strong>This should never be executed!</strong><pre>";
-               debug_print_backtrace();
-               die("</pre>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
+        */
+       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
+               // Empty for now
+       }
+
 }
 
 // [EOF]