class_MoneyBank.php

Go to the documentation of this file.
00001 <?php
00024 class MoneyBank extends BaseFrameworkSystem implements Registerable {
00030         protected function __construct () {
00031                 // Call parent constructor
00032                 parent::__construct(__CLASS__);
00033 
00034                 // Clean up a little
00035                 $this->removeSystemArray();
00036         }
00037 
00044         public final static function createMoneyBank (ManageableAccount $userInstance) {
00045                 // Get a new instance
00046                 $moneyInstance = new MoneyBank();
00047 
00048                 // Set the user instance
00049                 $moneyInstance->setUserInstance($userInstance);
00050 
00051                 // Return the prepared instance
00052                 return $moneyInstance;
00053         }
00054 }
00055 
00056 // [EOF]
00057 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6