ProtectedTitlesForm Class Reference
[SpecialPage]

List of all members.

Public Member Functions

 showList ($msg= '')
 formatRow ($row)
 Callback function to output a restriction.
 showOptions ($namespace, $type='edit', $level, $sizetype, $size)
 getNamespaceMenu ($namespace=null)
 Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace.
 getLevelMenu ($pr_level)

Protected Attributes

 $IdLevel = 'level'
 $IdType = 'type'


Detailed Description

Todo:
document

Definition at line 11 of file SpecialProtectedtitles.php.


Member Function Documentation

ProtectedTitlesForm::formatRow ( row  ) 

Callback function to output a restriction.

Definition at line 53 of file SpecialProtectedtitles.php.

References $row, $title, $wgContLang, $wgLang, $wgUser, Block::decodeExpiry(), Title::makeTitleSafe(), wfMsg(), wfMsgHtml(), wfProfileIn(), wfProfileOut(), and wfSpecialList().

ProtectedTitlesForm::getLevelMenu ( pr_level  ) 

Returns:
string Formatted HTML
Access:
private

Definition at line 126 of file SpecialProtectedtitles.php.

References $options, $text, $type, $wgRestrictionLevels, Xml::label(), Xml::option(), Xml::tags(), and wfMsg().

Referenced by showOptions().

ProtectedTitlesForm::getNamespaceMenu ( namespace = null  ) 

Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace.

Parameters:
mixed $namespace Pre-select namespace
Returns:
string

Definition at line 116 of file SpecialProtectedtitles.php.

References Xml::label(), Xml::namespaceSelector(), and wfMsg().

Referenced by showOptions().

ProtectedTitlesForm::showList ( msg = ''  ) 

ProtectedTitlesForm::showOptions ( namespace,
type = 'edit',
level,
sizetype,
size 
)

Parameters:
$namespace int
$type string
$level string
$minsize int
Access:
private

Definition at line 94 of file SpecialProtectedtitles.php.

References $action, $title, $wgScript, Xml::element(), getLevelMenu(), getNamespaceMenu(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::submitButton(), and wfMsg().

Referenced by showList().


Member Data Documentation

ProtectedTitlesForm::$IdLevel = 'level' [protected]

Definition at line 13 of file SpecialProtectedtitles.php.

ProtectedTitlesForm::$IdType = 'type' [protected]

Definition at line 14 of file SpecialProtectedtitles.php.


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

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