X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fclass_;h=c665c8e3bb0a605ac8beadb849ca1c1dc02fc8f9;hb=11418f67e82ab51b0623749de5f24d34fbe1cd8a;hp=e332f9f2e30f1dc1edec5d96d9be25cc068c6e4f;hpb=b1b77d5d19b8cd81457c19d885baa949652f2c68;p=hub.git diff --git a/application/hub/main/class_ b/application/hub/main/class_ index e332f9f2e..c665c8e3b 100644 --- a/application/hub/main/class_ +++ b/application/hub/main/class_ @@ -1,10 +1,10 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -21,16 +21,28 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class ??? extends BaseHubSystem { +class ??? extends BaseFrameworkSystem implements === { /** * Protected constructor * - * @param $className Name of the class * @return void */ - protected function __construct ($className) { + protected function __construct () { // Call parent constructor - parent::__construct($className); + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $!!!Instance An instance of a === class + */ + public final static function create??? () { + // Get new instance + $!!!Instance = new ???(); + + // Return the prepared instance + return $!!!Instance; } }