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 | |
getSiteInfo (array $siprop=null, $sifilteriw=null, $sishowalldb=false, $sinumberingroup=false, array $siinlanguagecode=null) | |
getEvents (array $leprop=null, $letype=null, $leaction=null, $letitle=null, $leprefix=null, $letag=null, $leuser=null, $lestart=null, $leend=null, $ledir=null, $lelimit=null) | |
getRecentChanges ($rcstart=null, $rcend=null, $rcdir=null, array $rcnamespace=null, $rcuser=null, $rcexcludeuser=null, $rctag=null, array $rcprop=null, array $rctoken=null, array $rcshow=null, $rclimit=null, $rctype=null, $rctoponly=null) | |
getProtectedTitles (array $ptnamespace=null, array $ptlevel=null, $ptlimit=null, $ptdir=null, $ptstart=null, $ptend=null, array $ptprop=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 Sites class for the Joomla Platform.
getEvents | ( | array | $leprop = null , |
$letype = null , |
|||
$leaction = null , |
|||
$letitle = null , |
|||
$leprefix = null , |
|||
$letag = null , |
|||
$leuser = null , |
|||
$lestart = null , |
|||
$leend = null , |
|||
$ledir = null , |
|||
$lelimit = null |
|||
) |
Method to get events from logs.
array | $leprop | List of properties to get. |
string | $letype | Filter log actions to only this type. |
string | $leaction | Filter log actions to only this type. |
string | $letitle | Filter entries to those related to a page. |
string | $leprefix | Filter entries that start with this prefix. |
string | $letag | Filter entries with tag. |
string | $leuser | Filter entries made by the given user. |
string | $lestart | Starting timestamp. |
string | $leend | Ending timestamp. |
string | $ledir | Direction of enumeration. |
integer | $lelimit | Event limit to return. |
Références $path.
getProtectedTitles | ( | array | $ptnamespace = null , |
array | $ptlevel = null , |
||
$ptlimit = null , |
|||
$ptdir = null , |
|||
$ptstart = null , |
|||
$ptend = null , |
|||
array | $ptprop = null |
||
) |
Method to get protected titles on a site.
array | $ptnamespace | Only list titles in this namespace. |
array | $ptlevel | Only list titles with these protection level. |
integer | $ptlimit | Limit of pages to return. |
string | $ptdir | Direction of enumeration. |
string | $ptstart | Starting timestamp. |
string | $ptend | Ending timestamp. |
array | $ptprop | List of properties to get. |
Références $path.
getRecentChanges | ( | $rcstart = null , |
|
$rcend = null , |
|||
$rcdir = null , |
|||
array | $rcnamespace = null , |
||
$rcuser = null , |
|||
$rcexcludeuser = null , |
|||
$rctag = null , |
|||
array | $rcprop = null , |
||
array | $rctoken = null , |
||
array | $rcshow = null , |
||
$rclimit = null , |
|||
$rctype = null , |
|||
$rctoponly = null |
|||
) |
Method to get recent changes on a site.
string | $rcstart | Starting timestamp. |
string | $rcend | Ending timestamp. |
string | $rcdir | Direction of enumeration. |
array | $rcnamespace | Filter changes to only this namespace(s). |
string | $rcuser | Filter changes by this user. |
string | $rcexcludeuser | Filter changes to exclude changes by this user. |
string | $rctag | Filter changes by this tag. |
array | $rcprop | Filter log actions to only this type. |
array | $rctoken | Which token to obtain for each change. |
array | $rcshow | Filter changes by this criteria. |
string | $rclimit | Changes limit to return. |
string | $rctype | Filter event by type of changes. |
string | $rctoponly | Filter changes which are latest revision. |
Références $path.
getSiteInfo | ( | array | $siprop = null , |
$sifilteriw = null , |
|||
$sishowalldb = false , |
|||
$sinumberingroup = false , |
|||
array | $siinlanguagecode = null |
||
) |
Method to get site information.
array | $siprop | The sysinfo properties to get. |
string | $sifilteriw | Only local or only non local entries to return. |
boolean | $sishowalldb | List all database servers. |
boolean | $sinumberingroup | List the number of users in usergroups. |
array | $siinlanguagecode | Language code for localized languages. |
Références $path.