Modules
class Modules
The module registry service.
Properties
protectedarray | $viewMixins | The view mixins of every module for every view. | |
protectedarray | $controllerMixins | The controller mixins of every module. | |
protectedarray | $apidocPaths | Additional source paths to generate the API documentation from. |
Methods
Create a new instance.
Register module assets in one step.
Registers a new view mixin of a module for a view.
Returns all mixins for a view that were registered by modules.
Registers a new controller mixin of a module.
Returns all mixins for a controller that were registered by modules.
Call all controller mixins registered for a certain controller.
Returns information about all installed BIIGLE modules
Get the registered apidoc paths of the modules.
Details
at line38
__construct()
Create a new instance.
at line51
register(string$module,array$assets)
Register module assets in one step.
at line77
registerViewMixin(string$module,string$view)
Registers a new view mixin of a module for a view.
at line87
addMixin($module,$view)deprecated
deprecated
at line98
array
getViewMixins(string$view)
Returns all mixins for a view that were registered by modules.
at line106
getMixins($view)deprecated
deprecated
at line118
registerControllerMixin(string$module,string$controller,callable$mixin)
Registers a new controller mixin of a module.
at line129
array
getControllerMixins(string$controller)
Returns all mixins for a controller that were registered by modules.
at line141
array
callControllerMixins(string$controller,array$args)
Call all controller mixins registered for a certain controller.
at line159
array
getInstalledModules()
Returns information about all installed BIIGLE modules
at line173
array
getApidocPaths()
Get the registered apidoc paths of the modules.