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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JMediawikiSites
+ Graphe d'héritage de JMediawikiSites:

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
 

Description détaillée

MediaWiki API Sites class for the Joomla Platform.

Depuis
3.1.4

Documentation des fonctions membres

◆ getEvents()

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.

Paramètres
array$lepropList of properties to get.
string$letypeFilter log actions to only this type.
string$leactionFilter log actions to only this type.
string$letitleFilter entries to those related to a page.
string$leprefixFilter entries that start with this prefix.
string$letagFilter entries with tag.
string$leuserFilter entries made by the given user.
string$lestartStarting timestamp.
string$leendEnding timestamp.
string$ledirDirection of enumeration.
integer$lelimitEvent limit to return.
Renvoie
object
Depuis
3.1.4

Références $path.

◆ getProtectedTitles()

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.

Paramètres
array$ptnamespaceOnly list titles in this namespace.
array$ptlevelOnly list titles with these protection level.
integer$ptlimitLimit of pages to return.
string$ptdirDirection of enumeration.
string$ptstartStarting timestamp.
string$ptendEnding timestamp.
array$ptpropList of properties to get.
Renvoie
object
Depuis
3.1.4

Références $path.

◆ getRecentChanges()

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.

Paramètres
string$rcstartStarting timestamp.
string$rcendEnding timestamp.
string$rcdirDirection of enumeration.
array$rcnamespaceFilter changes to only this namespace(s).
string$rcuserFilter changes by this user.
string$rcexcludeuserFilter changes to exclude changes by this user.
string$rctagFilter changes by this tag.
array$rcpropFilter log actions to only this type.
array$rctokenWhich token to obtain for each change.
array$rcshowFilter changes by this criteria.
string$rclimitChanges limit to return.
string$rctypeFilter event by type of changes.
string$rctoponlyFilter changes which are latest revision.
Renvoie
object
Depuis
3.1.4

Références $path.

◆ getSiteInfo()

getSiteInfo ( array  $siprop = null,
  $sifilteriw = null,
  $sishowalldb = false,
  $sinumberingroup = false,
array  $siinlanguagecode = null 
)

Method to get site information.

Paramètres
array$sipropThe sysinfo properties to get.
string$sifilteriwOnly local or only non local entries to return.
boolean$sishowalldbList all database servers.
boolean$sinumberingroupList the number of users in usergroups.
array$siinlanguagecodeLanguage code for localized languages.
Renvoie
object
Depuis
3.1.4

Références $path.


La documentation de cette classe a été générée à partir du fichier suivant :