]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/actions/ship-simu/class_ShipSimuProfileAction.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / application / ship-simu / main / actions / ship-simu / class_ShipSimuProfileAction.php
index 313f43f79ec4eb2245a1b1cf81dead16226a5d22..f49cf3526ab33c427953d4bc3ac19f3e5340e10f 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
+ * 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...
        }
 }