[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/webservices/media/ -> media.php (summary)

(no description)

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

Defines 1 class

PlgWebservicesMedia:: (3 methods):
  onBeforeApiRoute()
  createAdapterReadRoutes()
  createMediaCRUDRoutes()


Class: PlgWebservicesMedia  - X-Ref

Web Services adapter for com_media.

onBeforeApiRoute(&$router)   X-Ref
Registers com_media's API's routes in the application.

param: ApiRouter  &$router  The API Routing object
return: void

createAdapterReadRoutes(&$router, $baseName, $controller, $defaults = [], $publicGets = false)   X-Ref
Creates adapter read routes.

param: ApiRouter  &$router     The API Routing object
param: string     $baseName    The base name of the component.
param: string     $controller  The name of the controller that contains CRUD functions.
param: array      $defaults    An array of default values that are used when the URL is matched.
param: bool       $publicGets  Allow the public to make GET requests.
return: void

createMediaCRUDRoutes(&$router, $baseName, $controller, $defaults = [], $publicGets = false)   X-Ref
Creates media CRUD routes.

param: ApiRouter  &$router     The API Routing object
param: string     $baseName    The base name of the component.
param: string     $controller  The name of the controller that contains CRUD functions.
param: array      $defaults    An array of default values that are used when the URL is matched.
param: bool       $publicGets  Allow the public to make GET requests.
return: void



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