JMediawikiSites::getEvents
Method to get events from logs.
Signature
public function getEvents([array
$leprop = null,
[string
$letype = null,
[string
$leaction = null,
[string
$letitle = null,
[string
$leprefix = null,
[string
$letag = null,
[string
$leuser = null,
[string
$lestart = null,
[string
$leend = null,
[string
$ledir = null,
[integer
$lelimit = null]]]]]]]]]]] )
Parameters
-
$leprop
- List of properties to get.
-
$letype
- Filter log actions to only this type.
-
$leaction
- Filter log actions to only this type.
-
$letitle
- Filter entries to those related to a page.
-
$leprefix
- Filter entries that start with this prefix.
-
$letag
- Filter entries with tag.
-
$leuser
- Filter entries made by the given user.
-
$lestart
- Starting timestamp.
-
$leend
- Ending timestamp.
-
$ledir
- Direction of enumeration.
-
$lelimit
- Event limit to return.
Returns