X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fcommands%2Fweb%2Fclass_WebShipsimuProfileCommand.php;h=1bb449a5e025c75c4d7ab6de6bfbf30a3158ba3b;hp=107d093d683312d24871380a4f1e0bdecaa4d5f2;hb=8ff12f905898b0c2b7ff8124c9749ad6fb9c44f3;hpb=4c35e8280767c1e33832097060e39a32b80ffd01 diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php index 107d093..1bb449a 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php @@ -4,7 +4,7 @@ * * @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, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -55,12 +55,6 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable { // Call parent constructor parent::__construct(__CLASS__); - // Set part description - $this->setObjectDescription("Registration handling command for Ship-Simu"); - - // Create unique ID number - $this->generateUniqueId(); - // Clean up a little $this->removeNumberFormaters(); $this->removeSystemArray(); @@ -89,14 +83,15 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable { * @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 Add functionality here */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { // Make sure only allowed values are comming through - foreach ($this->allowedData as $alias=>$element) { + foreach ($this->allowedData as $alias => $element) { // Get data $data = $requestInstance->getRequestElement($element); - // Skip empty fields + // Silently skip empty fields if (empty($data)) continue; // Do we have an alias? @@ -113,7 +108,8 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable { unset($this->allowedData); // Unfinished! - $this->debugInstance(); + $this->partialStub("Unfinished work."); + $this->debugBackTrace(); } /**