JMediawikiPages::getPageTemplates
Method to get all page templates from the given page.
Signature
public function getPageTemplates(array
$titles,
[array
$tlnamespace = null,
[integer
$tllimit = null,
[boolean
$tlcontinue = null,
[string
$tltemplates = null,
[string
$tldir = null]]]]] )
Parameters
-
$titles
- Page titles to retrieve templates.
-
$tlnamespace
- Show templates in this namespace(s) only.
-
$tllimit
- How many templates to return.
-
$tlcontinue
- When more results are available, use this to continue.
-
$tltemplates
- Only list these templates.
-
$tldir
- The direction in which to list.
Returns