]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/factories/class_ShipSimuWebNewsFactory.php
Copyright updated, menu class added for 'home'
[shipsimu.git] / application / ship-simu / main / factories / class_ShipSimuWebNewsFactory.php
index 6b345531f04f9b0a6a58cfa0cbec56dd5a085eed..1d7cbb6993e7a5738762ca26b78527f28051991d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @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 <http://www.gnu.org/licenses/>.
  */
-class ShipSimuNewsFactory extends BaseFrameworkSystem {
+class ShipSimuWebNewsFactory extends BaseFrameworkSystem {
        /**
         * Protected constructor
         *
@@ -31,12 +31,6 @@ class ShipSimuNewsFactory extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Set part description
-               $this->setObjectDescription("News-Objektefabrik f&uuml;r Ship-Simu");
-
-               // Create unique ID number
-               $this->createUniqueID();
-
                // Clean up a little
                $this->removeNumberFormaters();
                $this->removeSystemArray();
@@ -47,9 +41,9 @@ class ShipSimuNewsFactory extends BaseFrameworkSystem {
         *
         * @return              $factoryInstance        An instance of this class
         */
-       public final static function createShipSimuNewsFactory () {
+       public final static function createShipSimuWebNewsFactory () {
                // Get a new instance
-               $factoryInstance = new ShipSimuNewsFactory();
+               $factoryInstance = new ShipSimuWebNewsFactory();
 
                // Return the prepared instance
                return $factoryInstance;