Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (ModuleDispatcherFactoryInterface $dispatcherFactory, HelperFactoryInterface $helperFactory) | |
getDispatcher (\stdClass $module, CMSApplicationInterface $application, Input $input=null) | |
getHelper (string $name, array $config=[]) | |
Attributs privés | |
$dispatcherFactory | |
$helperFactory | |
Access to module specific services.
__construct | ( | ModuleDispatcherFactoryInterface | $dispatcherFactory, |
HelperFactoryInterface | $helperFactory | ||
) |
Module constructor.
ModuleDispatcherFactoryInterface | $dispatcherFactory | The dispatcher factory |
HelperFactoryInterface | $helperFactory | The helper factory |
getDispatcher | ( | \stdClass | $module, |
CMSApplicationInterface | $application, | ||
Input | $input = null |
||
) |
Returns the dispatcher for the given application, module and input.
\stdClass | $module | The module |
CMSApplicationInterface | $application | The application |
Input | $input | The input object, defaults to the one in the application |
Implémente ModuleInterface.
getHelper | ( | string | $name, |
array | $config = [] |
||
) |
Returns a helper instance for the given name.
string | $name | The name |
array | $config | The config |
Implémente HelperFactoryInterface.
|
private |
|
private |