Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($config=[]) | |
getItems () | |
getPagination () | |
getStart () | |
getTotal () | |
Fonctions membres publiques hérités de BaseModel | |
__construct ($config=array()) | |
getName () | |
Fonctions membres publiques hérités de CMSObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Fonctions membres publiques hérités de StatefulModelInterface | |
getState ($property=null, $default=null) | |
setState ($property, $value=null) | |
Attributs privés | |
$mediaApiModel | |
$total = 0 | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de BaseModel | |
static | addIncludePath ($path='', $prefix='') |
Attributs protégés hérités de BaseModel | |
$name | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Attributs protégés statiques hérités de BaseModel | |
static | $paths |
Media web service model supporting lists of media items.
__construct | ( | $config = [] | ) |
Références $config, et Symfony\Contracts\Service\__construct().
getItems | ( | ) |
Method to get a list of files and/or folders.
A hacky way to enable the standard jsonapiView::displayList() to create a Pagination object. Because com_media's ApiModel does not support pagination as we know from regular ListModel derived models, we always return all retrieved items.
Implémente ListModelInterface.
Références $options, $path, Joomla\CMS\MVC\Model\getState(), Joomla\Component\Media\Administrator\Provider\resolveAdapterAndPath(), et Text\sprintf().
getPagination | ( | ) |
Method to get a object for the data set.
getStart | ( | ) |
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.
getTotal | ( | ) |
Method to get the total number of items for the data set.
Références $total.
|
private |
|
private |