]> git.mxchange.org Git - core.git/commitdiff
Removed method re-added. Warning added to config-hubmaster.php
authorRoland Häder <roland@mxchange.org>
Tue, 10 Mar 2009 23:06:19 +0000 (23:06 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 10 Mar 2009 23:06:19 +0000 (23:06 +0000)
inc/config/class_FrameworkConfiguration.php
inc/config/config-hubmaster.php

index 28f0c0a6786852b7004dd4d0c1443e1b46b29dff..e9610ed2e940077657153f312e67cdd8b30743c7 100644 (file)
@@ -231,6 +231,8 @@ class FrameworkConfiguration implements Registerable {
        /**
         * Detect safely the script path without trailing slash which is the glue
         * between "http://your-domain.invalid/" and "script-name.php"
+        *
+        * @return      $scriptPath             The script path extracted from $_SERVER['SCRIPT_NAME']
         */
        public function detectScriptPath () {
                // Default is empty
@@ -245,6 +247,17 @@ class FrameworkConfiguration implements Registerable {
                // Return it
                return $scriptPath;
        }
+
+       /**
+        * Getter for field name
+        *
+        * @param       $fieldName              Field name which we shall get
+        * @return      $fieldValue             Field value from the user
+        * @throws      NullPointerException    If the result instance is null
+        */
+       public final function getField ($fieldName) {
+               // Our super interface "FrameworkInterface" requires this
+       }
 }
 
 // [EOF]
index 5f24383e05e1bbff8eb0dedffa12b75856c484fa..a47854b5dc9278c81e875fcda230a9eb02033db0 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+///////////////////////////////////////////////////////////////////////////////
+/// DO NOT RELY ON THIS CONFIG ENTRIES! THEY ARE SUBJECT OF BEING REPLACED. ///
+///////////////////////////////////////////////////////////////////////////////
+
 // Get the configuration instance
 $cfg = FrameworkConfiguration::getInstance();