X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Factions%2Fship-simu%2Fclass_ShipSimuLoginAction.php;h=2fbee377e11e32e7f25e0dc31eb67f8550cd3fef;hp=500d6d706190374b70f2371bba9ee500f4dbcd7c;hb=4f70843ae8428f051d70ccff5bb43fc4c03dda8d;hpb=5c3d5d84f8f862d0d51f095f9858860f86788ae8 diff --git a/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php b/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php index 500d6d7..2fbee37 100644 --- a/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php +++ b/application/ship-simu/main/actions/ship-simu/class_ShipSimuLoginAction.php @@ -2,11 +2,11 @@ /** * An action class for the login welcome page * - * @author Roland Haeder + * @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, 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 @@ -19,9 +19,9 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ -class ShipSimuLoginAction extends BaseAction implements PerformableAction { +class ShipSimuLoginAction extends BaseShipSimuAction implements PerformableAction { /** * Protected constructor * @@ -30,12 +30,6 @@ class ShipSimuLoginAction extends BaseAction implements PerformableAction { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); - - // Set description - $this->setObjectDescription("Login welcome action"); - - // Generate unique key - $this->generateUniqueId(); } /** @@ -43,7 +37,7 @@ class ShipSimuLoginAction extends BaseAction implements PerformableAction { * * @return $actionInstance An instance of this action class */ - public final static function createShipSimuLoginAction () { + public static final function createShipSimuLoginAction () { // Get a new instance $actionInstance = new ShipSimuLoginAction(); @@ -60,6 +54,10 @@ class ShipSimuLoginAction extends BaseAction implements PerformableAction { * @todo Maybe we need to do something later here */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { + // Call parent execute method + parent::execute($requestInstance, $responseInstance); + + // Add your code here } }