| Constant Summary |
| CONSTANT NAME | CONSTANT VALUE | DESCRIPTION |
|---|
| Function Summary |
createSortedArray ( $modules )
function createSortedArray |
addModule ( $module_file, $name, [$init = false] )
Function to dynamically load in a module |
is_true ( $option )
Function to check for false options This function checks if the 'false' string is used. |
fh_serialize ( $array )
Function to replace serialize |
exit_fh ( )
Global addressable exit function |
| Constant Detail |
| Function Detail |
createSortedArray ( $modules )
function createSortedArrayThis function Sorts all the dynamically loaded modules, do they will be executed in the runlevel they specified.
modules: array of module-objects
* @sorted_modules: sorted array of module-objectsaddModule ( $module_file, $name, [$init = false] )
Function to dynamically load in a moduleThis function can be called from within the application to add another module. The added module should be in a higher runlevel
module_file: the file that contains the module-code
* @name: the name to be used in the modules-array
* @init: true when called in initiation process (not all modules
* available)
* @message: a debug message to display (can be called before debug
messaging module exists)is_true ( $option )
Function to check for false options This function checks if the 'false' string is used.option: the option to check
* @the boolean valuefh_serialize ( $array )
Function to replace serializestring or array
* @return_string: value serialized in a stringexit_fh ( )
Global addressable exit functionThis should call functions from different modules and debug and error