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) : mixed
since |
4.0.0 |
---|
Arguments
- dispatcherFactory
\Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface
The dispatcher factory- helperFactory
\Joomla\CMS\Helper\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
\Joomla\CMS\Application\CMSApplicationInterface
The application- input
\Joomla\Input\Input
The input object, defaults to the one in the application
Response
\Joomla\CMS\Dispatcher\DispatcherInterface
getHelper
Returns a helper instance for the given name.
getHelper(string name, array config = []) : \stdClass
since |
4.0.0 |
---|
Arguments
- name
string
The name- config
array
The config
Response
\stdClass
Properties
dispatcherFactory
The dispatcher factory.
since |
4.0.0 |
---|
Type(s)
\Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface
helperFactory
The helper factory.
since |
4.0.0 |
---|
Type(s)
\Joomla\CMS\Helper\HelperFactoryInterface