MediaWiki  REL1_20
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 ()
 Count the number of items on a user's watchlist.
 cutoffLinks ($days, $options=array())
 Returns html.
 daysLink ($d, $options=array())
 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

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

Returns:
Integer

Definition at line 499 of file SpecialWatchlist.php.

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

Referenced by execute().

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

Returns html.

Returns:
string

Definition at line 477 of file SpecialWatchlist.php.

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

Referenced by execute().

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

Definition at line 442 of file SpecialWatchlist.php.

References $options, $value, SpecialPage\getTitle(), Linker\linkKnown(), and SpecialPage\msg().

Referenced by execute().


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: