JMediawikiCategories::getCategories
Method to list all categories the page(s) belong to.
Signature
public function getCategories(array
$titles,
[array
$clprop = null,
[array
$clshow = null,
[integer
$cllimit = null,
[boolean
$clcontinue = false,
[array
$clcategories = null,
[string
$cldir = null]]]]]] )
Parameters
-
$titles
- Page titles to retrieve categories.
-
$clprop
- List of additional properties to get.
-
$clshow
- Type of categories to show.
-
$cllimit
- Number of categories to return.
-
$clcontinue
- Continue when more results are available.
-
$clcategories
- Only list these categories.
-
$cldir
- Direction of listing.
Returns