Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onBeforeApiRoute (&$router) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Attributs protégés | |
$autoloadLanguage = true | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
createAdapterReadRoutes (&$router, $baseName, $controller, $defaults=[], $publicGets=false) | |
createMediaCRUDRoutes (&$router, $baseName, $controller, $defaults=[], $publicGets=false) | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Web Services adapter for com_media.
|
private |
Creates adapter read routes.
ApiRouter | &$router | The API Routing object |
string | $baseName | The base name of the component. |
string | $controller | The name of the controller that contains CRUD functions. |
array | $defaults | An array of default values that are used when the URL is matched. |
bool | $publicGets | Allow the public to make GET requests. |
|
private |
Creates media CRUD routes.
ApiRouter | &$router | The API Routing object |
string | $baseName | The base name of the component. |
string | $controller | The name of the controller that contains CRUD functions. |
array | $defaults | An array of default values that are used when the URL is matched. |
bool | $publicGets | Allow the public to make GET requests. |
onBeforeApiRoute | ( | & | $router | ) |
Registers com_media's API's routes in the application.
ApiRouter | &$router | The API Routing object |
|
protected |