More renamed
[shipsimu.git] / application / ship-simu / main / actions / web / class_WebShipSimuLoginRefillAction.php
index fc25b9501d853d7a06de9fc7cfc3f5cd259e8f10..31c73372cd2fc5c071a451ccec1fef44d34ac83c 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An action for money refill page
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * 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 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class WebShipSimuLoginRefillAction extends BaseAction implements Commandable, Registerable {
+class WebShipSimuLoginRefillAction extends BaseShipSimuAction implements Commandable, Registerable {
        /**
         * Protected constructor
         *
@@ -38,7 +38,7 @@ class WebShipSimuLoginRefillAction extends BaseAction implements Commandable, Re
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginRefillAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginRefillAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginRefillAction();
 
@@ -58,7 +58,10 @@ class WebShipSimuLoginRefillAction extends BaseAction implements Commandable, Re
         * @todo        0% done
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Unfinished method
+               // Call parent execute method
+               parent::execute($requestInstance, $responseInstance);
+
+               // Add your code here...
        }
 
        /**
@@ -69,7 +72,7 @@ class WebShipSimuLoginRefillAction extends BaseAction implements Commandable, Re
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // Add user status filter here
+               // Check for user status by default
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
 
                // Is the refill page active?