MediaWiki  REL1_21
SpecialWatchlist Class Reference
Inheritance diagram for SpecialWatchlist:
Collaboration diagram for SpecialWatchlist:

List of all members.

Public Member Functions

 __construct ($page= 'Watchlist')
 Constructor.
 execute ($par)
 Execute.

Protected Member Functions

 countItems ($dbr)
 Count the number of items on a user's watchlist.
 cutoffLinks ($days, $options=array())
 Returns html.
 daysLink ($d, $options=array())
 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
 hoursLink ($h, $options=array())
 showHideLink ($options, $message, $name, $value)

Protected Attributes

 $customFilters

Detailed Description

Definition at line 23 of file SpecialWatchlist.php.


Constructor & Destructor Documentation

SpecialWatchlist::__construct ( page = 'Watchlist')

Constructor.

Definition at line 29 of file SpecialWatchlist.php.

References $page.


Member Function Documentation

SpecialWatchlist::countItems ( dbr) [protected]

Count the number of items on a user's watchlist.

Parameters:
$dbrA database connection
Returns:
Integer

Definition at line 514 of file SpecialWatchlist.php.

References $count, $dbr, $res, array(), and SpecialPage\getUser().

Referenced by execute().

SpecialWatchlist::cutoffLinks ( days,
options = array() 
) [protected]

Returns html.

Returns:
string

Definition at line 491 of file SpecialWatchlist.php.

References $options, array(), as, daysLink(), SpecialPage\getLanguage(), hoursLink(), and SpecialPage\msg().

Referenced by execute().

SpecialWatchlist::daysLink ( d,
options = array() 
) [protected]

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 524 of file SpecialWatchlist.php.

SpecialWatchlist::hoursLink ( h,
options = array() 
) [protected]
SpecialWatchlist::showHideLink ( options,
message,
name,
value 
) [protected]

Member Data Documentation

SpecialWatchlist::$customFilters [protected]

Definition at line 24 of file SpecialWatchlist.php.


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