PostNuke Help

Previous
pnModGetName

Home
up

Next
pnModGetVar


pnModGetUserMods

get list of user modules

Synopsis

array pnModGetUserMods();

Description

pnModGetUserMods() obtains information on the modules in this PostNuke system that are active and have a user component to them.

Return Values

This function returns an array of module information arrays if the module is found. This function returns void if an exception was raised.

Exceptions

This function raises DATABASE_ERROR if an error occurs while querying data.

Notes

Each module array contains the same set of items as a call to pnModGetInfo()

Examples

// Get list of available modules with user interfaces
$modarray = pnModGetUserMods();
if (!$modarray) {
  die('Error getting list of user modules');
}
       

See Also

pnModGetInfo(), pnModGetAdminMods()


Previous
pnModGetName

Home
up

Next
pnModGetVar