[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Extension/ -> Module.php (summary)

Joomla! Content Management System

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 98 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Module:: (3 methods):
  __construct()
  getDispatcher()
  getHelper()


Class: Module  - X-Ref

Access to module specific services.

__construct(ModuleDispatcherFactoryInterface $dispatcherFactory, HelperFactoryInterface $helperFactory)   X-Ref
Module constructor.

param: ModuleDispatcherFactoryInterface  $dispatcherFactory  The dispatcher factory
param: HelperFactoryInterface            $helperFactory      The helper factory

getDispatcher(\stdClass $module, CMSApplicationInterface $application, Input $input = null)   X-Ref
Returns the dispatcher for the given application, module and input.

param: \stdClass                $module       The module
param: CMSApplicationInterface  $application  The application
param: Input                    $input        The input object, defaults to the one in the application
return: DispatcherInterface

getHelper(string $name, array $config = [])   X-Ref
Returns a helper instance for the given name.

param: string  $name    The name
param: array   $config  The config
return: \stdClass



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer