FfGlobals
public class FfGlobals
Method Summary | |
---|---|
void | defineIfNotDefined(string name, string value) Creates a named constant if the constant hasn't already been defined. |
boolean | existsAndIsNotBlank(string key, array search) Returns true if key is an index in search and if the value at that position is more than just whitespace. |
void | Various FORMfields elements echo debug information when verbose printing is turned on. |
public void defineIfNotDefined(string name, string value)
Creates a named constant if the constant hasn't already been defined.
public boolean existsAndIsNotBlank(string key, array search)
Returns true if key is an index in search and if the value at that position is more than just whitespace.
public void getVerbose()
Various FORMfields elements echo debug information when verbose printing is turned on. If FF_GLOBALS_VERBOSE is true, FF_VERBOSE is true or $_REQUEST["FF_GLOBALS_VERBOSE"] is true, verbose printing is turned on. Verbose printing cannot be turned on if FF_GLOBALS_STRICT_SECURITY is true.
FfGlobas provides a small set of helper functions for global vaiables.