Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
getImages (array $titles, $imagelimit=null, $imagecontinue=null, $imimages=null, $imdir=null) | |
getImagesUsed (array $titles) | |
getImageInfo (array $liprop=null, $lilimit=null, $listart=null, $liend=null, $liurlwidth=null, $liurlheight=null, $limetadataversion=null, $liurlparam=null, $licontinue=null) | |
enumerateImages ($aifrom=null, $aito=null, $aiprefix=null, $aiminsize=null, $aimaxsize=null, $ailimit=null, $aidir=null, $aisha1=null, $aisha1base36=null, array $aiprop=null, $aimime=null) | |
Fonctions membres publiques hérités de JMediawikiObject | |
__construct (Registry $options=null, JMediawikiHttp $client=null) | |
buildParameter (array $params) | |
validateResponse ($response) | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de JMediawikiObject | |
fetchUrl ($path) | |
Attributs protégés hérités de JMediawikiObject | |
$options | |
$client | |
MediaWiki API Images class for the Joomla Platform.
enumerateImages | ( | $aifrom = null , |
|
$aito = null , |
|||
$aiprefix = null , |
|||
$aiminsize = null , |
|||
$aimaxsize = null , |
|||
$ailimit = null , |
|||
$aidir = null , |
|||
$aisha1 = null , |
|||
$aisha1base36 = null , |
|||
array | $aiprop = null , |
||
$aimime = null |
|||
) |
Method to enumerate all images.
string | $aifrom | The image title to start enumerating from. |
string | $aito | The image title to stop enumerating at. |
string | $aiprefix | Search for all image titles that begin with this value. |
integer | $aiminsize | Limit to images with at least this many bytes. |
integer | $aimaxsize | Limit to images with at most this many bytes. |
integer | $ailimit | How many images in total to return. |
string | $aidir | The direction in which to list. |
string | $aisha1 | SHA1 hash of image. |
string | $aisha1base36 | SHA1 hash of image in base 36. |
array | $aiprop | What image information to get. |
string | $aimime | What MIME type to search for. |
Références $path.
getImageInfo | ( | array | $liprop = null , |
$lilimit = null , |
|||
$listart = null , |
|||
$liend = null , |
|||
$liurlwidth = null , |
|||
$liurlheight = null , |
|||
$limetadataversion = null , |
|||
$liurlparam = null , |
|||
$licontinue = null |
|||
) |
Method to get all image information and upload history.
array | $liprop | What image information to get. |
integer | $lilimit | How many image revisions to return. |
string | $listart | Timestamp to start listing from. |
string | $liend | Timestamp to stop listing at. |
integer | $liurlwidth | URL to an image scaled to this width will be returned.. |
integer | $liurlheight | URL to an image scaled to this height will be returned. |
string | $limetadataversion | Version of metadata to use. |
string | $liurlparam | A handler specific parameter string. |
boolean | $licontinue | When more results are available, use this to continue. |
Références $path.
getImages | ( | array | $titles, |
$imagelimit = null , |
|||
$imagecontinue = null , |
|||
$imimages = null , |
|||
$imdir = null |
|||
) |
Method to get all images contained on the given page(s).
array | $titles | Page titles to retrieve images. |
integer | $imagelimit | How many images to return. |
boolean | $imagecontinue | When more results are available, use this to continue. |
integer | $imimages | Only list these images. |
string | $imdir | The direction in which to list. |
Références $path.
getImagesUsed | ( | array | $titles | ) |
Method to get all images contained on the given page(s).
array | $titles | Page titles to retrieve links. |
Références $path.