ModuleDispatcher
Extends AbstractModuleDispatcherBase class for a Joomla Module Dispatcher
Executes the single entry file of a module.
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
Constructor for Dispatcher
__construct(\stdClass module, \Joomla\CMS\Application\CMSApplicationInterface app, \Joomla\Input\Input input) :
inherited
since |
4.0.0 |
---|
Arguments
- module
stdClass
The module- app
CMSApplicationInterface
The application instance- input
Input
The input instance
Response
mixed
dispatch
Dispatches the dispatcher.
dispatch() :
since |
4.0.0 |
---|
Response
void
getApplication
The application the dispatcher is working with.
getApplication() : \Joomla\CMS\Application\CMSApplicationInterface
inherited
getLayoutData
Returns the layout data. This function can be overridden by subclasses to add more attributes for the layout.
getLayoutData() : array|false
inherited
If false is returned, then it means that the dispatch process should be stopped.
since |
4.0.0 |
---|
Response
array<string|int, mixed>|false
loadLanguage
Load the language.
loadLanguage() :
inherited
since |
4.0.0 |
---|
Response
void
Properties
input
The input instance
inherited
since |
4.0.0 |
---|
Type(s)
Input
module
The module instance
inherited
since |
4.0.0 |
---|
Type(s)
stdClass