This script implements the Phorum module admin API.
This API is used for managing Phorum modules. It can be used to retrieve information about the available modules and takes care of activating and deactivating them.
A small utility function which can be used to sort modules by name using the uasort() command.
Check if there are modules for which the module information is updated.
Flag a module as disabled.
This will only flag the module as disabled. After calling this function, phorum_api_modules_save() has to be called to store the new module settings in the database.
Flag a module as enabled.
This will only flag the module as enabled. After calling this function, phorum_api_modules_save() has to be called to store the new module settings in the database.
Retrieve a list of all available modules.
This function will scan the mods directory to find all available modules. For each module, the module information (info.txt or inline module info) is collected.
Store the module information in the database.
This function will sort out all module and hook priorities for the enabled modules and write the result data ($PHORUM["mods"] and $PHORUM["hooks"]) to the database.
Documentation generated on Wed, 16 Jan 2008 08:31:14 -0600 by phpDocumentor 1.3.0RC5