[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2021 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 134 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MediaModel:: (5 methods):
__construct()
getItems()
getPagination()
getStart()
getTotal()
Class: MediaModel - X-Ref
Media web service model supporting lists of media items.__construct($config = []) X-Ref |
A hacky way to enable the standard jsonapiView::displayList() to create a Pagination object, since com_media's ApiModel does not support pagination as we know from regular ListModel derived models. |
getItems() X-Ref |
Method to get a list of files and/or folders. return: array An array of data items. |
getPagination() X-Ref |
Method to get a \JPagination object for the data set. return: Pagination A Pagination object for the data set. |
getStart() X-Ref |
Method to get the starting number of items for the data set. Because com_media's ApiModel does not support pagination as we know from regular ListModel derived models, we always start at the top. return: int The starting number of items available in the data set. |
getTotal() X-Ref |
Method to get the total number of items for the data set. return: int The total number of items available in the data set. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |