SpecialPrefixindex Class Reference
[SpecialPage]

implements Special:Prefixindex More...

Inherits SpecialAllpages.

List of all members.

Public Member Functions

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


Detailed Description

implements Special:Prefixindex

Definition at line 7 of file SpecialPrefixindex.php.


Constructor & Destructor Documentation

SpecialPrefixindex::__construct (  ) 

Definition at line 10 of file SpecialPrefixindex.php.


Member Function Documentation

SpecialPrefixindex::execute ( par  ) 

Entry point : initialise variables and call subfunctions.

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

Reimplemented from SpecialAllpages.

Definition at line 18 of file SpecialPrefixindex.php.

References $prefix, $wgContLang, $wgOut, $wgRequest, namespacePrefixForm(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), showPrefixChunk(), and wfMsg().

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

HTML for the top form.

Parameters:
integer $namespace A namespace constant (default NS_MAIN).
string $from dbKey we are starting listing at.

Definition at line 51 of file SpecialPrefixindex.php.

References $out, $t, $wgScript, Xml::closeElement(), Xml::element(), SpecialPage::getTitle(), Xml::hidden(), Xml::input(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::submitButton(), and wfMsg().

Referenced by execute(), and showPrefixChunk().

SpecialPrefixindex::showPrefixChunk ( namespace = NS_MAIN,
prefix,
from = null 
)

Parameters:
integer $namespace (Default NS_MAIN)
string $from list all pages from this name (default FALSE)

Definition at line 89 of file SpecialPrefixindex.php.

References $dbr, $n, $out, $prefix, $res, $s, $self, $t, $wgContLang, $wgLang, $wgOut, $wgUser, Xml::closeElement(), SpecialAllpages::getNamespaceKeyAndText(), SpecialPage::getTitle(), SpecialPage::including(), Title::makeTitle(), namespacePrefixForm(), Xml::openElement(), wfGetDB(), wfMsg(), wfMsgExt(), wfMsgHtml(), and wfMsgWikiHtml().

Referenced by execute().


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

Generated on Sat Sep 5 02:08:47 2009 for MediaWiki by  doxygen 1.5.9