MediaWiki REL1_33
|
Public Member Functions | |
addSubcategoryObject (Category $cat, $sortkey, $pageLength) | |
Add a subcategory to the internal lists. | |
clearCategoryState () | |
@inheritDoc | |
finaliseCategoryState () | |
@inheritDoc | |
Public Member Functions inherited from CategoryViewer | |
__construct ( $title, IContextSource $context, $from=[], $until=[], $query=[]) | |
addImage (Title $title, $sortkey, $pageLength, $isRedirect=false) | |
Add a page in the image namespace. | |
addPage ( $title, $sortkey, $pageLength, $isRedirect=false) | |
Add a miscellaneous page. | |
doCategoryQuery () | |
formatList ( $articles, $articles_start_char, $cutoff=6) | |
Format a list of articles chunked by letter, either as a bullet list or a columnar format, depending on the length. | |
generateLink ( $type, Title $title, $isRedirect, $html=null) | |
getCategoryBottom () | |
getCategoryTop () | |
getHTML () | |
Format the category data list. | |
getImageSection () | |
getPagesSection () | |
getSubcategorySection () | |
getSubcategorySortChar ( $title, $sortkey) | |
Get the character to be used for sorting subcategories. | |
Public Member Functions inherited from ContextSource | |
canUseWikiPage () | |
Check whether a WikiPage object can be get with getWikiPage(). | |
exportSession () | |
Export the resolved user IP, HTTP headers, user ID, and session ID. | |
getConfig () | |
getContext () | |
Get the base IContextSource object. | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getStats () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. | |
msg ( $key) | |
Get a Message object with context set Parameters are the same as wfMessage() | |
setContext (IContextSource $context) | |
Public Attributes | |
CategoryTree | $categorytree |
$child_cats | |
Public Attributes inherited from CategoryViewer | |
string[] | $articles |
array | $articles_start_char |
array | $children |
array | $children_start_char |
Collation | $collation |
array | $flip |
array | $from |
ImageGalleryBase | $gallery |
array | $imgsNoGallery |
array | $imgsNoGallery_start_char |
int | $limit |
array | $nextPage |
bool | $showGallery |
Title | $title |
array | $until |
Private Member Functions | |
getCategoryTree () | |
Additional Inherited Members | |
Static Public Member Functions inherited from CategoryViewer | |
static | columnList ( $articles, $articles_start_char) |
Format a list of articles chunked by letter in a three-column list, ordered vertically. | |
static | shortList ( $articles, $articles_start_char) |
Format a list of articles chunked by letter in a bullet list. | |
Protected Attributes inherited from CategoryViewer | |
array | $prevPage |
Definition at line 21 of file CategoryTreeCategoryViewer.php.
CategoryTreeCategoryViewer::addSubcategoryObject | ( | Category | $cat, |
$sortkey, | |||
$pageLength ) |
Add a subcategory to the internal lists.
Category | $cat | |
string | $sortkey | |
int | $pageLength |
Reimplemented from CategoryViewer.
Definition at line 52 of file CategoryTreeCategoryViewer.php.
References CategoryViewer\$cat, getCategoryTree(), ContextSource\getRequest(), CategoryViewer\getSubcategorySortChar(), and Category\getTitle().
CategoryTreeCategoryViewer::clearCategoryState | ( | ) |
@inheritDoc
Reimplemented from CategoryViewer.
Definition at line 70 of file CategoryTreeCategoryViewer.php.
CategoryTreeCategoryViewer::finaliseCategoryState | ( | ) |
@inheritDoc
Reimplemented from CategoryViewer.
Definition at line 78 of file CategoryTreeCategoryViewer.php.
References and().
|
private |
Definition at line 32 of file CategoryTreeCategoryViewer.php.
References $categorytree, and(), ContextSource\getOutput(), CategoryTree\setHeaders(), and CategoryTreeHooks\shouldForceHeaders().
Referenced by addSubcategoryObject().
CategoryTree CategoryTreeCategoryViewer::$categorytree |
Definition at line 27 of file CategoryTreeCategoryViewer.php.
Referenced by getCategoryTree().
CategoryTreeCategoryViewer::$child_cats |
Definition at line 22 of file CategoryTreeCategoryViewer.php.