Go to the source code of this file.
Functions | |
ListAdd ($needle,&$haystack) | |
Adds an item to a list. | |
ListDel ($needle,&$haystack) | |
Removes an item from a list. | |
CallHooks () | |
Calls all modules which have added themselves to a given hook. | |
get_option ($haystack,$needle) | |
Get a given entry from a list. | |
set_option (&$haystack,$needle,$value) | |
Sets an entry in a list. | |
is_standard_page () | |
Checks if the requested page is a "normal" page. | |
module_installed () | |
To be called whenever a module is (un)installed. |
This includes several functions which modules and the module subsystem should use, such as the hook system, and the list manipulation system.
Currently a list is stored as a serialize'd array, suitable for storing in a database directly, however this may change, so these functions should be used.
Definition in file modfuncs.inc.php.
|
Calls all modules which have added themselves to a given hook. This function takes a variable length argument list - only the first argument is required, which is the name of the hook to call. The others are used if a certain hook needs additional parameters to be passed onto the called modules.
Definition at line 65 of file modfuncs.inc.php. References get_entry(). Referenced by basic_page_content(), basic_page_DoSummary(), get_page(), and stats_tr_cell(). |
|
Get a given entry from a list.
Definition at line 93 of file modfuncs.inc.php. Referenced by Istats_getCount(), and stats_text_DoStats(). |
|
Checks if the requested page is a "normal" page.
Definition at line 127 of file modfuncs.inc.php. References get_entry(). |
|
Adds an item to a list.
Definition at line 23 of file modfuncs.inc.php. Referenced by base_page_install(), basic_page_install(), copyright_install(), dbcleanup_install(), logo_install(), meta_generator_install(), MODULE_NAME_install(), stats_install(), and stats_text_install(). |
|
Removes an item from a list.
Definition at line 41 of file modfuncs.inc.php. Referenced by base_page_uninstall(), basic_page_uninstall(), copyright_uninstall(), dbcleanup_uninstall(), Istats_UIRH(), logo_uninstall(), meta_generator_uninstall(), MODULE_NAME_uninstall(), stats_text_uninstall(), and stats_uninstall(). |
|
To be called whenever a module is (un)installed. This contains functions which should be called whenever anything serious changes in the user's configuration of modphpcms. It will:
Definition at line 151 of file modfuncs.inc.php. References get_entry(). Referenced by base_page_install(), basic_page_install(), copyright_install(), dbcleanup_install(), logo_install(), meta_generator_install(), MODULE_NAME_install(), stats_install(), and stats_text_install(). |
|
Sets an entry in a list. This will set an entry in a list, creating the list and entry if neccessary.
Definition at line 113 of file modfuncs.inc.php. |