ModuleDispatcher

Extends AbstractModuleDispatcher

Base class for a Joomla Module Dispatcher

Executes the single entry file of a module.

since

4.0.0

package

Application

Methods

__construct

Constructor for Dispatcher

__construct(\Joomla\CMS\Application\CMSApplicationInterface app, \Joomla\Input\Input input) : mixed
inherited
since

4.0.0

Arguments

app

\Joomla\CMS\Application\CMSApplicationInterfaceThe application instance

input

\Joomla\Input\InputThe input instance

Response

mixed

dispatch

Runs the dispatcher.

dispatch() : void
inherited
since

4.0.0

getApplication

The application the dispatcher is working with.

getApplication() : \Joomla\CMS\Application\CMSApplicationInterface
inherited
since

4.0.0

Response

\Joomla\CMS\Application\CMSApplicationInterface

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 aborted.

since

4.0.0

Response

array|false

loadLanguage

Load the language.

loadLanguage() : void
inherited
since

4.0.0

Properties

module

The module instance

inherited
since

4.0.0

Type(s)

\stdClass

app

The application instance

inherited
since

4.0.0

Type(s)

CMSApplicationInterface

input

The input instance

inherited
since

4.0.0

Type(s)

\Joomla\Input\Input