Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (CMSApplicationInterface $app, Input $input, MVCFactoryInterface $mvcFactory) | |
dispatch () | |
getController (string $name, string $client='', array $config=array()) | |
Fonctions membres publiques hérités de Dispatcher | |
__construct (CMSApplicationInterface $app, Input $input) | |
Fonctions membres protégées | |
loadLanguage () | |
checkAccess () | |
Fonctions membres protégées hérités de Dispatcher | |
getApplication () | |
Attributs protégés | |
$option | |
$mvcFactory | |
Attributs protégés hérités de Dispatcher | |
$app | |
$input | |
Base class for a Joomla Component Dispatcher
Dispatchers are responsible for checking ACL of a component if appropriate and choosing an appropriate controller (and if necessary, a task) and executing it.
__construct | ( | CMSApplicationInterface | $app, |
Input | $input, | ||
MVCFactoryInterface | $mvcFactory | ||
) |
Constructor for ComponentDispatcher
CMSApplicationInterface | $app | The application instance |
Input | $input | The input instance |
MVCFactoryInterface | $mvcFactory | The MVC factory instance |
Références $app, $input, $this, Symfony\Contracts\Service\__construct(), et ComponentHelper\getComponentName().
|
protected |
Method to check component access permission
dispatch | ( | ) |
Dispatch a controller task. Redirecting the user if appropriate.
Implémente DispatcherInterface.
getController | ( | string | $name, |
string | $client = '' , |
||
array | $config = array() |
||
) |
Get a controller from the component
string | $name | Controller name |
string | $client | Optional client (like Administrator, Site etc.) |
array | $config | Optional controller config |
Références $client, $config, $name, et Text\sprintf().
|
protected |
|
protected |
|
protected |