Back to Joomla project (class list)

Class Module - list of methods

Access to module specific services.

Extends

Package: Joomla\CMS\Extension
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Extension/Module.php
Project: Joomla

Method Summary

public
(\Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface $dispatcherFactory, \Joomla\CMS\Helper\HelperFactoryInterface $helperFactory)

Module constructor.
Parameters
  • \Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface $dispatcherFactory The dispatcher factory
  • \Joomla\CMS\Helper\HelperFactoryInterface $helperFactory The helper factory
Since
  • 4.0.0
Show source code of this method: __construct Source Code

public \Joomla\CMS\Dispatcher\DispatcherInterface
(\stdClass $module, \Joomla\CMS\Application\CMSApplicationInterface $application, \Joomla\Input\Input $input = null)

Returns the dispatcher for the given application, module and input.
Parameters
  • \stdClass $module The module
  • \Joomla\CMS\Application\CMSApplicationInterface $application The application
  • \Joomla\Input\Input $input The input object, defaults to the one in the application
Returns
  • \Joomla\CMS\Dispatcher\DispatcherInterface
Since
  • 4.0.0
Show source code of this method: getDispatcher Source Code

public \stdClass
(string $name, array $config = [])

Returns a helper instance for the given name.
Parameters
  • string $name The name
  • array $config The config
Returns
  • \stdClass
Since
  • 4.0.0
Show source code of this method: getHelper Source Code

Properties Summary

private \Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface
$dispatcherFactory
The dispatcher factory.
Since
  • 4.0.0
private \Joomla\CMS\Helper\HelperFactoryInterface
$helperFactory
The helper factory.
Since
  • 4.0.0

Tags Summary

Since
4.0.0