SpecialContributions Class Reference

Inherits SpecialPage.

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Default execute method Checks user permissions, calls the function given in mFunction.

Protected Member Functions

 setSyndicated ()
 contributionsSub ($nt, $id)
 Generates the subheading with links.
 getForm ()
 Generates the namespace selector form with hidden attributes.
 feed ($type)
 Output a subscription feed listing recent edits to this page.
 feedTitle ()
 feedItem ($row)
 feedItemAuthor ($revision)
 feedItemDesc ($revision)


Detailed Description

Definition at line 8 of file SpecialContributions.php.


Constructor & Destructor Documentation

SpecialContributions::__construct (  ) 

Definition at line 10 of file SpecialContributions.php.


Member Function Documentation

SpecialContributions::contributionsSub ( nt,
id 
) [protected]

Generates the subheading with links.

Parameters:
Title $nt Title object for the target
integer $id User ID for the target
Returns:
String: appropriately-escaped HTML to be output literally

Definition at line 143 of file SpecialContributions.php.

References $user, $wgLang, $wgSysopUserBans, $wgUser, SpecialPage::getTitleFor(), IP::isIPAddress(), User::newFromId(), wfEmptyMsg(), wfMsg(), wfMsgHtml(), and wfRunHooks().

Referenced by execute().

SpecialContributions::execute ( par  ) 

Default execute method Checks user permissions, calls the function given in mFunction.

This may be overridden by subclasses.

Reimplemented from SpecialPage.

Definition at line 14 of file SpecialContributions.php.

References $ns, $text, $wgLang, $wgOut, $wgRequest, $wgUser, contributionsSub(), feed(), getForm(), User::idFromName(), IP::isIPAddress(), Title::makeTitleSafe(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), setSyndicated(), wfEmptyMsg(), wfMsg(), wfMsgExt(), wfMsgHtml(), wfMsgNoTrans(), and wfRunHooks().

SpecialContributions::feed ( type  )  [protected]

Output a subscription feed listing recent edits to this page.

Parameters:
string $type

Definition at line 282 of file SpecialContributions.php.

References $row, $type, $wgFeed, $wgFeedClasses, $wgFeedLimit, $wgOut, $wgRequest, feedItem(), feedTitle(), SpecialPage::getTitle(), Title::makeTitleSafe(), and wfMsgExt().

Referenced by execute().

SpecialContributions::feedItem ( row  )  [protected]

Definition at line 328 of file SpecialContributions.php.

References $revision, $row, $title, feedItemAuthor(), feedItemDesc(), and Revision::newFromTitle().

Referenced by feed().

SpecialContributions::feedItemAuthor ( revision  )  [protected]

Definition at line 348 of file SpecialContributions.php.

References $revision.

Referenced by feedItem().

SpecialContributions::feedItemDesc ( revision  )  [protected]

Definition at line 352 of file SpecialContributions.php.

References $revision, FeedItem::stripComment(), and wfMsgForContent().

Referenced by feedItem().

SpecialContributions::feedTitle (  )  [protected]

Definition at line 321 of file SpecialContributions.php.

References $page, $wgContLanguageCode, $wgSitename, and SpecialPage::getPage().

Referenced by feed().

SpecialContributions::getForm (  )  [protected]

Generates the namespace selector form with hidden attributes.

Parameters:
$this->opts Array: the options to be included.

Definition at line 205 of file SpecialContributions.php.

References $name, $wgScript, $wgTitle, ChangeTags::buildTagFilterSelector(), Xml::closeElement(), Xml::dateMenu(), Xml::element(), Xml::hidden(), Xml::input(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::radioLabel(), Xml::submitButton(), Xml::tags(), wfEmptyMsg(), wfMsg(), and wfMsgExt().

Referenced by execute().

SpecialContributions::setSyndicated (  )  [protected]

Definition at line 127 of file SpecialContributions.php.

References $wgOut, and wfArrayToCGI().

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