Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($namespace, CategoryFactoryInterface $categoryFactory=null, DatabaseInterface $db=null) | |
createRouter (CMSApplicationInterface $application, AbstractMenu $menu) | |
Attributs privés | |
$namespace | |
$categoryFactory | |
$db | |
Default router factory.
__construct | ( | $namespace, | |
CategoryFactoryInterface | $categoryFactory = null , |
||
DatabaseInterface | $db = null |
||
) |
The namespace must be like: Joomla
string | $namespace | The namespace |
CategoryFactoryInterface | $categoryFactory | The category object |
DatabaseInterface | $db | The database object |
Références $db, et $namespace.
createRouter | ( | CMSApplicationInterface | $application, |
AbstractMenu | $menu | ||
) |
Creates a router.
CMSApplicationInterface | $application | The application |
AbstractMenu | $menu | The menu object to work with |
Implémente RouterFactoryInterface.
Références $className, $menu, et CMSApplicationInterface\getName().
|
private |
|
private |
|
private |