Module
Implements ModuleInterface, HelperFactoryInterfaceAccess to module specific services.
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
Module constructor.
__construct(\Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface dispatcherFactory, \Joomla\CMS\Helper\HelperFactoryInterface helperFactory) :
since |
4.0.0 |
---|
Arguments
- dispatcherFactory
ModuleDispatcherFactoryInterface
The dispatcher factory- helperFactory
HelperFactoryInterface
The helper factory
Response
mixed
getDispatcher
Returns the dispatcher for the given application, module and input.
getDispatcher(\stdClass module, \Joomla\CMS\Application\CMSApplicationInterface application, \Joomla\Input\Input input = null) : \Joomla\CMS\Dispatcher\DispatcherInterface
since |
4.0.0 |
---|
Arguments
- module
stdClass
The module- application
CMSApplicationInterface
The application- input
Input
The input object, defaults to the one in the application
Response
getHelper
Returns a helper instance for the given name.
getHelper( name, mixed||string|int config = []) : \stdClass
since |
4.0.0 |
---|
Arguments
- name
string
The name- config
array<string|int, mixed>
The config
Response
stdClass