BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
HitCounters\HitCounters Class Reference

Static Public Member Functions

static getCount (Title $title)
 
static views ()
 
static numberOfViews (Parser &$parser, PPFrame $frame, $args)
 
static numberOfPageViews (Parser &$parser, PPFrame $frame, $args)
 
static getQueryInfo ()
 
static smwMappingFunction (\SMW\SemanticData $aSemanticData,\WikiPage $aWikiPage,\SMW\DIProperty $aProperty)
 

Static Protected Member Functions

static cacheStore ($cache, $key, $views)
 

Static Protected Attributes

static $mViews
 

Member Function Documentation

static HitCounters\HitCounters::getCount ( Title  $title)
static
Returns
int The view count for the page
static HitCounters\HitCounters::numberOfPageViews ( Parser $parser,
PPFrame  $frame,
  $args 
)
static

{{NUMBEROFPAGEVIEWS}} - number of total views of the page

(PHPMD.UnusedFormalParameter)

static HitCounters\HitCounters::numberOfViews ( Parser $parser,
PPFrame  $frame,
  $args 
)
static

{{NUMBEROFVIEWS}} - number of total views of the site

We can't choose our parameters since this is a hook and we don't really need to use the $parser and $cache parameters.

(PHPMD.UnusedFormalParameter)


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