PostNuke Help |
||
|---|---|---|
Previous |
Next |
|
get list of user modules
array pnModGetUserMods();
pnModGetUserMods() obtains information on the modules in this PostNuke system that are active and have a user 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 user interfaces
$modarray = pnModGetUserMods();
if (!$modarray) {
die('Error getting list of user modules');
}
pnModGetInfo(), pnModGetAdminMods()
Previous |
Next |