SpecialStatistics Class Reference

Show the special page. More...

Inherits SpecialPage.

List of all members.

Public Member Functions

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

Private Member Functions

 formatRow ($text, $number, $trExtraParams=array(), $descMsg= '', $descMsgParam= '')
 Format a row.
 getPageStats ()
 Each of these methods is pretty self-explanatory, get a particular row for the table of statistics.
 getEditStats ()
 getUserStats ()
 getGroupStats ()
 getViewsStats ()
 getMostViewedPages ()
 doRawOutput ()
 Do the action=raw output for this page.

Private Attributes

 $views
 $edits
 $good
 $images
 $total
 $users
 $activeUsers
 $admins
 $numJobs = 0


Detailed Description

Show the special page.

Parameters:
mixed $par (not used)

Definition at line 16 of file SpecialStatistics.php.


Constructor & Destructor Documentation

SpecialStatistics::__construct (  ) 

Definition at line 21 of file SpecialStatistics.php.


Member Function Documentation

SpecialStatistics::doRawOutput (  )  [private]

Do the action=raw output for this page.

Legacy, but we support it for backwards compatibility http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039202.html

Definition at line 260 of file SpecialStatistics.php.

References $wgOut.

Referenced by execute().

SpecialStatistics::execute ( par  ) 

SpecialStatistics::formatRow ( text,
number,
trExtraParams = array(),
descMsg = '',
descMsgParam = '' 
) [private]

Format a row.

Parameters:
string $text description of the row
float $number a number
array $trExtraParams
string $descMsg
string $descMsgParam
Returns:
string table row in HTML format

Definition at line 99 of file SpecialStatistics.php.

References $text, $wgStylePath, Xml::closeElement(), Xml::element(), Xml::openElement(), wfEmptyMsg(), and wfMsgExt().

Referenced by getEditStats(), getGroupStats(), getMostViewedPages(), getPageStats(), getUserStats(), and getViewsStats().

SpecialStatistics::getEditStats (  )  [private]

Definition at line 136 of file SpecialStatistics.php.

References $wgLang, Xml::closeElement(), formatRow(), Xml::openElement(), Xml::tags(), and wfMsgExt().

Referenced by execute().

SpecialStatistics::getGroupStats (  )  [private]

SpecialStatistics::getMostViewedPages (  )  [private]

SpecialStatistics::getPageStats (  )  [private]

Each of these methods is pretty self-explanatory, get a particular row for the table of statistics.

Returns:
string

Definition at line 120 of file SpecialStatistics.php.

References $wgLang, Xml::closeElement(), formatRow(), Xml::openElement(), Xml::tags(), and wfMsgExt().

Referenced by execute().

SpecialStatistics::getUserStats (  )  [private]

SpecialStatistics::getViewsStats (  )  [private]

Definition at line 205 of file SpecialStatistics.php.

References $wgLang, Xml::closeElement(), formatRow(), Xml::openElement(), Xml::tags(), and wfMsgExt().

Referenced by execute().


Member Data Documentation

SpecialStatistics::$activeUsers [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$admins [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$edits [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$good [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$images [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$numJobs = 0 [private]

Definition at line 19 of file SpecialStatistics.php.

SpecialStatistics::$total [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$users [private]

Definition at line 18 of file SpecialStatistics.php.

SpecialStatistics::$views [private]

Definition at line 18 of file SpecialStatistics.php.


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