JMediawikiCategories
class JMediawikiCategories extends JMediawikiObject
MediaWiki API Categories class for the Joomla Platform.
Methods
from JMediawikiObject
string
buildParameter(
array $params)
Method to build request parameters from a string array.
from JMediawikiObject
Object
validateResponse(
JHttpresponse $response)
Method to validate response for errors
from JMediawikiObject
object
getCategories(
array $titles,
array $clprop = null,
array $clshow = null,
integer $cllimit = null,
boolean $clcontinue = false,
array $clcategories = null,
string $cldir = null)
Method to list all categories the page(s) belong to.
object
getCategoriesUsed(
array $titles)
Method to get information about all categories used.
object
getCategoriesInfo(
array $titles,
boolean $clcontinue = false)
Method to get information about the given categories.
object
getCategoryMembers(
string $cmtitle = null,
string $cmpageid = null,
string $cmlimit = null,
array $cmprop = null,
array $cmnamespace = null,
array $cmtype = null,
string $cmstart = null,
string $cmend = null,
string $cmstartsortkey = null,
string $cmendsortkey = null,
string $cmstartsortkeyprefix = null,
string $cmendsortkeyprefix = null,
string $cmsort = null,
string $cmdir = null,
string $cmcontinue = null)
Method to get information about the pages within a category
object
enumerateCategories(
string $acfrom = null,
string $acto = null,
string $acprefix = null,
string $acdir = null,
integer $acmin = null,
integer $acmax = null,
integer $aclimit = null,
array $acprop = null)
Method to enumerate all categories.
object
getChangeTags(
array $tgprop = null,
string $tglimit = null)
Method to list change tags.
Details
object
getCategories(
array $titles,
array $clprop = null,
array $clshow = null,
integer $cllimit = null,
boolean $clcontinue = false,
array $clcategories = null,
string $cldir = null)
Method to list all categories the page(s) belong to.
object
getCategoriesInfo(
array $titles,
boolean $clcontinue = false)
Method to get information about the given categories.
object
getCategoryMembers(
string $cmtitle = null,
string $cmpageid = null,
string $cmlimit = null,
array $cmprop = null,
array $cmnamespace = null,
array $cmtype = null,
string $cmstart = null,
string $cmend = null,
string $cmstartsortkey = null,
string $cmendsortkey = null,
string $cmstartsortkeyprefix = null,
string $cmendsortkeyprefix = null,
string $cmsort = null,
string $cmdir = null,
string $cmcontinue = null)
Method to get information about the pages within a category