registerModules()
registerModules(array $modules, boolean $merge)
Register an array of modules present in the application
$this->registerModules(array(
'Example' => array(
'className' => 'Example\\Module',
'path' => APP_ROOT . '/app/modules/Example/Module.php'
),
'Test' => array(
'className' => 'Test\\Module',
'path' => APP_ROOT . '/app/modules/Test/Module.php'
)
));
Parameters
array | $modules | |
boolean | $merge |