MediaWiki  REL1_19
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 475 of file SpecialWatchlist.php.

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

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Returns html.

Returns:
string

Definition at line 453 of file SpecialWatchlist.php.

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

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 436 of file SpecialWatchlist.php.

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

Referenced by cutoffLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialWatchlist::hoursLink ( h,
options = array() 
) [protected]

Definition at line 425 of file SpecialWatchlist.php.

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

Referenced by cutoffLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecialWatchlist::showHideLink ( options,
message,
name,
value 
) [protected]

Definition at line 418 of file SpecialWatchlist.php.

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

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


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: