/program/lib/modulemanagerlib.php - modulemanager
main entry point for modulemanager (called from /program/main_admin.php)
this routine dispatches the tasks, If the specified task is not recognised, the default task TASK_MODULEMANAGER_INTRO is executed.
compare two arrays by the title member (for sorting modules)
retrieve a list of modules that should appear in the module manager
this routine returns an array with id, name, title and description of all active modules that have at least one parameter in the modules_properties table. If there are no modules available (or an error occurs) an empty array is returned. The modules in the list is ordered by the translated name (title) of the module, i.e. the order depends on the current translation language.
handle the editing/saving of the main configuration information
this routine handles editing of the main configuration parameters. It either displays the edit dialog or saves the modified data and shows the configuration manager introduction screen.
Note that we do NOT try to redirect the user via a header() after a succesful save. It would be handy because this particular save action may have had impact on the global configuration, which is already read at this point. By redirecting we would make a fresh start, with the new parameters. However, we lose the easy ability to tell the user that the data was saved (via $output->add_message()). So, either no feedback or obsolete global config in core. Hmmmm. I settle for the feedback and the 'wrong' settings.
display an introductory text for the module manager
display the module manager menu
Documentation generated on Tue, 28 Jun 2016 19:10:31 +0200 by phpDocumentor 1.4.0