Returns all modules with the given state.
public get_modules ( integer $state = self::MODULE_STATE_ALL ) : |
||
$state | integer | Optional. State of the modules. Defaults to all modules. |
return | Array of module objects. |