PostNuke Help |
||
|---|---|---|
Previous |
Next |
|
get list of administration modules
array pnModGetAdminMods();
pnModGetAdminMods() obtains information on the modules in this PostNuke system that are active and have an administrative component to them.
This function returns an array of module information arrays if the module is found. This function returns void if an exception was raised.
This function raises DATABASE_ERROR if an error occurs while querying data.
Each module array contains the same set of items as a call to pnModGetInfo()
// Get list of available modules with administrative interfaces
$modarray = pnModGetAdminMods();
if (!$modarray) {
die('Error getting list of administrative modules');
}
pnModGetInfo(), pnModGetUserMods()
Previous |
Next |