Copyright updated, menu class added for 'home'
[shipsimu.git] / application / ship-simu / main / actions / ship-simu / class_ShipSimuProfileAction.php
index 997ba0d49a01e86fd1a25cc8281aae327275143c..1b1937e218f6092f2f36acd4887f7d4d0d1cb576 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.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
  *
@@ -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 ShipSimuProfileAction extends BaseAction implements PerformableAction {
+class ShipSimuProfileAction extends BaseShipSimuAction implements PerformableAction {
        /**
         * Protected constructor
         *
@@ -30,12 +30,6 @@ class ShipSimuProfileAction extends BaseAction implements PerformableAction {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Profile action");
-
-               // Generate unique key
-               $this->generateUniqueId();
        }
 
        /**
@@ -57,9 +51,13 @@ class ShipSimuProfileAction extends BaseAction implements PerformableAction {
         * @param       $requestInstance        An instance of a class with an Requestable interface
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
+        * @todo        Maybe we need to do something later here */
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               /* @TODO Maybe we need to do something later here */
+               // Call parent execute method
+               parent::execute($requestInstance, $responseInstance);
+
+               // Add your code here...
        }
 }