AbstractModuleDispatcher

Extends \Joomla\CMS\Dispatcher\Dispatcher

Base class for a Joomla Module Dispatcher.

abstract
since

4.0.0

Methods

__construct

Constructor for Dispatcher

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

4.0.0

Arguments

$app

\Joomla\CMS\Application\CMSApplicationInterfaceThe application instance

$input

\Joomla\Input\InputThe input instance

dispatch

Runs the dispatcher.

dispatch() : void
since

4.0.0

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

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
since

4.0.0

Properties

module

The module instance

since

4.0.0

Type(s)

\stdClass

app

The application instance

inherited

input

The input instance

inherited
since

4.0.0

Type(s)

\Joomla\Input\Input