base\Module getModules()

getModules() public method

Returns the sub-modules in this module.

public array getModules ( $loadedOnly = false )
$loadedOnly boolean

Whether to return the loaded sub-modules only. If this is set false, then all sub-modules registered in this module will be returned, whether they are loaded or not. Loaded modules will be returned as objects, while unloaded modules as configuration arrays.

return array

The modules (indexed by their IDs).

doc_Yii
2016-10-30 16:52:05
Comments
Leave a Comment

Please login to continue.