more 'final' statements added
authorRoland Häder <roland@mxchange.org>
Thu, 13 Mar 2008 20:58:45 +0000 (20:58 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 13 Mar 2008 20:58:45 +0000 (20:58 +0000)
application/selector/class_ApplicationSelector.php
application/ship-simu/main/class_WorksContract.php
application/ship-simu/main/personell/class_SimulatorPersonell.php
inc/classes/main/database/classes/class_LocalFileDatabase.php

index b0866dcb8e97d37b00fa69def9d9ce0eaa822e0a..eb863ba9effeefc972e19f4e9019104b5c58de43 100644 (file)
@@ -157,7 +157,7 @@ class ApplicationSelector extends BaseFrameworkSystem {
         *
         * @param               $tplEngine      An instance of TemplateEngine
         */
-       private function setSelectorTemplateEngine (CompileableTemplate $tplEngine) {
+       private final function setSelectorTemplateEngine (CompileableTemplate $tplEngine) {
                $this->selectorTplEngine = $tplEngine;
        }
 
@@ -166,7 +166,7 @@ class ApplicationSelector extends BaseFrameworkSystem {
         *
         * @return      $selectTplEngine        The selector's template engine
         */
-       private function getSelectorTemplateEngine () {
+       private final function getSelectorTemplateEngine () {
                return $this->selectorTplEngine;
        }
 
@@ -176,7 +176,7 @@ class ApplicationSelector extends BaseFrameworkSystem {
         * @return      $loadedTemplates        An array object holding all loaded
         *                                                      application templates
         */
-       private function getLoadedTemplates () {
+       private final function getLoadedTemplates () {
                return $this->loadedTemplates;
        }
 
index 1613d7432efc1761844e3f43943e195b67c77756..aaa597fdb1ee6ac3cc67a4fa18cd0f0fa192b782 100644 (file)
@@ -127,7 +127,7 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
        }
 
        // Setter for ship instance
-       private function setShipInstance (ConstructableShip $shipInstance) {
+       private final function setShipInstance (ConstructableShip $shipInstance) {
                if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Schiff <strong>%s</strong> wird in den Bauvertrag aufgenommen.<br />\n",
                        __CLASS__,
                        __LINE__,
@@ -137,7 +137,7 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
        }
 
        // Setter for ship name
-       private function setShipName ($shipName) {
+       private final function setShipName ($shipName) {
                if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das neue Schiff wird <strong>%s</strong> heissen.<br />\n",
                        __CLASS__,
                        __LINE__,
index 1130bdbcda09cb7cd58d7e25acfc09f14c9e1844..1d148ddb69d85809946e214177370e006cf6ea8a 100644 (file)
@@ -338,7 +338,7 @@ class SimulatorPersonell extends BasePersonell {
         * @param               $cacheList      The new cache list to set or null for initialization/reset
         * @return      void
         */
-       private function setAllCacheList (FrameworkArrayObject $cacheList = null) {
+       private final function setAllCacheList (FrameworkArrayObject $cacheList = null) {
                $this->cacheList = $cacheList;
        }
 
@@ -348,7 +348,7 @@ class SimulatorPersonell extends BasePersonell {
         * @param               $cacheCond      The new cache conditions to set
         * @return      void
         */
-       private function setCacheCond ($cacheCond) {
+       private final function setCacheCond ($cacheCond) {
                $this->cacheCond = (string) $cacheCond;
        }
 
index 0dc66c680890a283cde233d5542340d24abe899a..ea4a8e19e49db057d7385fb2c677fe0092aa7391 100644 (file)
@@ -316,7 +316,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend
         * @param               $fqfn   The FQFN of the last read file
         * @return      void
         */
-       private function setLastFile ($fqfn) {
+       private final function setLastFile ($fqfn) {
                // Cast string
                $fqfn = (string) $fqfn;
                $this->lastFile = $fqfn;
@@ -337,7 +337,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend
         * @param               $contents               An array with header and data elements
         * @return      void
         */
-       private function setLastFileContents ($contents) {
+       private final function setLastFileContents ($contents) {
                // Cast array
                $contents = (array) $contents;
                $this->lastContents = $contents;