/**
* 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
// 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]
* 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();