AbstractModuleDispatcher

Extends Dispatcher

Base class for a Joomla Module Dispatcher.

abstract
since

4.0.0

package

Joomla CMS

Methods

__construct

Constructor for Dispatcher

__construct(\stdClass module, \Joomla\CMS\Application\CMSApplicationInterface app, \Joomla\Input\Input input) : 
since

4.0.0

Arguments

module

stdClassThe module

app

CMSApplicationInterfaceThe application instance

input

InputThe input instance

Response

mixed

dispatch

Runs the dispatcher.

dispatch() : 
since

4.0.0

Response

void

getApplication

The application the dispatcher is working with.

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

4.0.0

Response

CMSApplicationInterface

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

since

4.0.0

Response

array<string|int, mixed>|false

loadLanguage

Load the language.

loadLanguage() : 
since

4.0.0

Response

void

Properties

app

The application instance

inherited
since

4.0.0

Type(s)

CMSApplicationInterface

input

The input instance

inherited
since

4.0.0

Type(s)

Input

module

The module instance

since

4.0.0

Type(s)

stdClass