X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fclass_;h=634096c87e941bb448a7ff1867a14f28bfa68b40;hb=b42af148ba24a4e22bb54d596635a9e4e59260da;hp=762357225d8dd4fc18390e6eaa5b5a9dc791e633;hpb=65d72098d3ec6a0ef7782668264fc6f33f9ebeb6;p=shipsimu.git diff --git a/application/ship-simu/main/class_ b/application/ship-simu/main/class_ index 7623572..634096c 100644 --- a/application/ship-simu/main/class_ +++ b/application/ship-simu/main/class_ @@ -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 * @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class extends BaseFrameworkSystem { +class ??? extends BaseFrameworkSystem { /** * Protected constructor * @@ -31,16 +31,27 @@ class extends BaseFrameworkSystem { // Call parent constructor parent::__construct(__CLASS__); - // Set part description - $this->setObjectDescription(""); - - // Create unique ID number - $this->generateUniqueId(); - // Clean up a little $this->removeNumberFormaters(); $this->removeSystemArray(); } + + /** + * Creates an instance of this money bank class + * + * @param $userInstance A class instance of a user object + * @return $bankInstance An instance of this class + */ + public final static function create??? (ManageableAccount $userInstance) { + // Get a new instance + $moneyInstance = new ???(); + + // Set the user instance + $moneyInstance->setUserInstance($userInstance); + + // Return the prepared instance + return $moneyInstance; + } } // [EOF]