X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fextended%2Fclass_ObjectLimits.php;h=fbfda6c753e07789b62c2b8e5d01f7d0d4ae4e20;hp=880928d70f2757620524843177285886005bf49d;hb=d527a312ec4b2983fc0ecda2179ce335c1a5a1f9;hpb=cfe047bc347eebc611270d996cb4f0f21246139f diff --git a/inc/classes/main/extended/class_ObjectLimits.php b/inc/classes/main/extended/class_ObjectLimits.php index 880928d..fbfda6c 100644 --- a/inc/classes/main/extended/class_ObjectLimits.php +++ b/inc/classes/main/extended/class_ObjectLimits.php @@ -3,11 +3,12 @@ * This object limits other objects. This is mostly being used to prepare * objects to the datatabase connection or else a lot heap would be saved. * - * @author Roland Haeder - * @version 0.3.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @author Roland Haeder + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @link http://www.mxchange.org + * @link http://www.ship-simu.org + * @deprecated * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,19 +31,19 @@ class ObjectLimits extends BaseFrameworkSystem { private $limitArray = null; /** - * Private constructor + * Protected constructor * * @return void */ - private final function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set part description - $this->setObjectDescription("Limitierungsobjekt"); + $this->setObjectDescription("Class for "limiting" other classes. See description for details."); // Create unique ID number - $this->createUniqueID(); + $this->generateUniqueId(); // Clean up a little $this->removeNumberFormaters(); @@ -93,7 +94,7 @@ class ObjectLimits extends BaseFrameworkSystem { // Auto-initialization if (is_null($this->limitArray)) { // Initialize this array - $this->limitArray = new FrameworkArrayObject(); + $this->limitArray = new FrameworkArrayObject('FakedLimitArray'); } // Add the object's name to it @@ -110,7 +111,7 @@ class ObjectLimits extends BaseFrameworkSystem { // Auto-initialization if (is_null($this->limitArray)) { // Initialize this array - $this->limitArray = new FrameworkArrayObject(); + $this->limitArray = new FrameworkArrayObject("FakedLimitArray"); } // Add the direct string to ArrayObject