Configures the sub-modules of this module.
Call this method to declare sub-modules and configure them with their initial property values.
The parameter should be an array of module configurations. Each array element represents a single module,
which can be either a string representing the module ID or an ID-configuration pair representing
a module with the specified ID and the initial property values.
For example, the following array declares two modules:
array(
'admin', // a single module ID
'payment'=>array( // ID-configuration pair
'server'=>'paymentserver.com',
),
)
By default, the module class is determined using the expression
ucfirst($moduleID).'Module'
.
And the class file is located under
modules/$moduleID
.
You may override this default by explicitly specifying the 'class' option in the configuration.
You may also enable or disable a module by specifying the 'enabled' option in the configuration.
module configurations.