MediaWiki  REL1_20
SpecialPrefixindex Class Reference

Implements Special:Prefixindex. More...

Inheritance diagram for SpecialPrefixindex:
Collaboration diagram for SpecialPrefixindex:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Entry point : initialise variables and call subfunctions.
 namespacePrefixForm ($namespace=NS_MAIN, $from= '', $hideredirects=false)
 HTML for the top form.
 showPrefixChunk ($namespace=NS_MAIN, $prefix, $from=null, $hideredirects=false)

Detailed Description

Implements Special:Prefixindex.

Definition at line 29 of file SpecialPrefixindex.php.


Constructor & Destructor Documentation


Member Function Documentation

Entry point : initialise variables and call subfunctions.

Parameters:
$parString: becomes "FOO" when called like Special:Prefixindex/FOO (default null)

Reimplemented from SpecialAllpages.

Definition at line 40 of file SpecialPrefixindex.php.

References $out, $wgContLang, SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\including(), SpecialPage\msg(), namespacePrefixForm(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), and showPrefixChunk().

SpecialPrefixindex::namespacePrefixForm ( namespace = NS_MAIN,
from = '',
hideredirects = false 
)

HTML for the top form.

Parameters:
$namespaceInteger: a namespace constant (default NS_MAIN).
$fromString: dbKey we are starting listing at.
$hideredirectsBool: hide redirects (default FALSE)
Returns:
string

Definition at line 90 of file SpecialPrefixindex.php.

References $out, Xml\checkLabel(), Xml\closeElement(), Xml\element(), SpecialPage\getTitle(), Html\hidden(), Xml\input(), Xml\label(), SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), and Xml\submitButton().

Referenced by execute(), and showPrefixChunk().

SpecialPrefixindex::showPrefixChunk ( namespace = NS_MAIN,
prefix,
from = null,
hideredirects = false 
)
Parameters:
$namespaceInteger, default NS_MAIN
$prefixString
$fromString: list all pages from this name (default FALSE)
$hideredirectsBool: hide redirects (default FALSE)

Definition at line 141 of file SpecialPrefixindex.php.

References $dbr, $n, $out, $res, $s, $self, $t, $wgContLang, Xml\closeElement(), Html\element(), SpecialAllpages\getNamespaceKeyAndText(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\including(), Linker\linkKnown(), Title\makeTitle(), SpecialPage\msg(), namespacePrefixForm(), Xml\openElement(), Html\rawElement(), and wfGetDB().

Referenced by execute().


The documentation for this class was generated from the following file: