\Vegas\MvcApplication

Class Application

Summary

Methods
Properties
Constants
registerModules()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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