dmBridge PHP API
DMModuleManager Class Reference

Public Member Functions

Static Public Member Functions


Detailed Description


Member Function Documentation

DMModuleManager::bootstrapAllModules ( )

Alias of getAllModules(), called during dmBridge initialization.

No need to call manually.

Definition at line 72 of file DMModuleManager.php.

static DMModuleManager::destroyInstance ( ) [static]

Destroys the Singleton instance.

Returns:
void

Definition at line 40 of file DMModuleManager.php.

DMModuleManager::getAllModules ( )

Returns an array of all compatible modules detected by the system.

Returns:
array Array of DMBridgeModule objects
Since:
2.0

Definition at line 82 of file DMModuleManager.php.

Referenced by bootstrapAllModules(), getEnabledModules(), and getModuleByName().

DMModuleManager::getEnabledModules ( )
Returns:
array Array of DMBridgeModule objects
Since:
2.0

Definition at line 113 of file DMModuleManager.php.

static DMModuleManager::getInstance ( ) [static]
DMModuleManager::getModuleByName ( name)
Parameters:
stringname
Returns:
DMBridgeModule

Definition at line 127 of file DMModuleManager.php.

DMModuleManager::getModulesPathname ( )
Returns:
string

Definition at line 221 of file DMModuleManager.php.

Referenced by getAllModules().

DMModuleManager::isModuleEnabled ( module)
Parameters:
mixedmodule A DMBridgeModule object, or the name of a module.
Returns:
boolean

Definition at line 140 of file DMModuleManager.php.

Referenced by getEnabledModules().

DMModuleManager::setModuleEnabled ( DMBridgeModule module,
enabled 
)
Parameters:
DMBridgeModulemodule
boolenabled
Returns:
void
Exceptions:
DMModuleActivationException

Definition at line 150 of file DMModuleManager.php.

DMModuleManager::setModulesPathname ( pathname)
Parameters:
stringpathname

Definition at line 228 of file DMModuleManager.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables