API documentation :: Docs For Class arbitModuleManager
Packages:Interfaces:
Classes:
|
Core::Module::arbitModuleManagerClass arbitModuleManagerModule manager, which needs to take care of proper module registration. Module manager, which needs to take care of proper module registration.
Member Variables
Method Summary
MethodsactivateModule
static void
activateModule(
name
$moduleName
)
Activates a module Activates a module in core, just given by its name. Activates a module Activates a module in core, just given by its name. Parameters:
Exceptions:
findModuleClass
static void
findModuleClass(
string
$moduleName
)
Find the module definition class in the filesystem. Find the module definition class in the filesystem. The module definition struct must be located under modules/<name>/definition.php. This method checks if such a file is available and includes the definition struct. Parameters:
get
static arbitModuleDefinition
get(
string
$moduleName
)
Get module definition Return the module definition structure for the requested module. Get module definition Return the module definition structure for the requested module. Parameters:
getAutoloads
static array
getAutoloads(
)
Get all autoload definitions Returns the autoload definition array for all registerd modules. array is merged from all modules and contains the definition in commonly used structure. Get all autoload definitions Returns the autoload definition array for all registerd modules. The array is merged from all modules and contains the definition in commonly used structure. getPermissions
static array
getPermissions(
)
Get all permissions Get a list of all permissions as a multidimensional array, where the module name is the first dimension, wihich contains an array, in which the name of the permission is associated with its description, like: Get all permissions Get a list of all permissions as a multidimensional array, where the module name is the first dimension, wihich contains an array, in which the name of the permission is associated with its description, like:
getSignals
static array
getSignals(
)
Get all signals Get a list of all signals as a multidimensional array, where the module name is the first dimension, wihich contains an array, in which the name of the signal is associated with its description, like: Get all signals Get a list of all signals as a multidimensional array, where the module name is the first dimension, wihich contains an array, in which the name of the signal is associated with its description, like:
getTemplatePaths
static array
getTemplatePaths(
)
Get template paths Get a plain array of all module template paths. Get template paths Get a plain array of all module template paths. registerModule
static void
registerModule(
string
$moduleName
)
Registers an available module. Registers an available module. Registers a module identifier that is available for the arbit installation. Parameters:
setLocator
static void
setLocator(
arbitModuleDefinitionLocator
$locator
)
Set a custom module class locator. Set a custom module class locator. This is mainly intented for testing, your module classes really should just obey the defined naming scheme. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:03 +0200 by phpDocumentor 1.4.3
|