[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/api/components/com_media/src/Model/ -> MediumModel.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: 283 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MediumModel:: (4 methods):
  __construct()
  getItem()
  save()
  delete()


Class: MediumModel  - X-Ref

Media web service model supporting a single media item.

__construct($config = [])   X-Ref
Instance of com_media's ApiModel


getItem()   X-Ref
Method to get a single files or folder.

return: \stdClass  A file or folder object.

save($path = null)   X-Ref
Method to save a file or folder.

param: string  $path  The primary key of the item (if exists)
return: string   The path

delete()   X-Ref
Method to delete an existing file or folder.

return: void



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