Class StatisticService

Description

This class server information about your Website Statistics.

  • version: $Id: StatisticService.php,v 1.7 2006/11/26 22:04:27 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Method Summary
StatisticService StatisticService ()
void countAllHits ([ $cid = _CID_])
void countOperatingSystem ( $names, [ $cid = _CID_])
void countSessions ([ $cid = _CID_])
void countTopReferer ( $limit,  $filter, [ $cid = _CID_])
void countTopVisitors ( $limit, [ $cid = _CID_])
void countTotalBrowser ( $names, [ $cid = _CID_])
void deleteAllStatistics ([ $cid = _CID_])
void deleteStatisticsBefore ( $date, [ $cid = _CID_])
void executeStatisticSQL (String $sqlString)
void getMaxTimestamp ([ $cid = _CID_])
void getMinTimestamp ([ $cid = _CID_])
void getTopURLs ( $limit, [ $commands = array()], [ $cid = _CID_])
void setSQLHelper (SQLHelper $sqlhelper)
Methods
Constructor StatisticService (line 42)
StatisticService StatisticService ()
countAllHits (line 70)
void countAllHits ([ $cid = _CID_])
  • $cid
countOperatingSystem (line 95)
void countOperatingSystem ( $names, [ $cid = _CID_])
  • $names
  • $cid
countSessions (line 130)
void countSessions ([ $cid = _CID_])
  • $cid
countTopReferer (line 105)
void countTopReferer ( $limit,  $filter, [ $cid = _CID_])
  • $limit
  • $filter
  • $cid
countTopVisitors (line 88)
void countTopVisitors ( $limit, [ $cid = _CID_])
  • $limit
  • $cid
countTotalBrowser (line 78)
void countTotalBrowser ( $names, [ $cid = _CID_])
  • $names
  • $cid
deleteAllStatistics (line 57)
void deleteAllStatistics ([ $cid = _CID_])
  • $cid
deleteStatisticsBefore (line 63)
void deleteStatisticsBefore ( $date, [ $cid = _CID_])
  • $date
  • $cid
executeStatisticSQL (line 176)

Executes a SQL against the Statistic Database.

void executeStatisticSQL (String $sqlString)
  • String $sqlString: the SQL Command to execute
getMaxTimestamp (line 144)
void getMaxTimestamp ([ $cid = _CID_])
  • $cid
getMinTimestamp (line 137)
void getMinTimestamp ([ $cid = _CID_])
  • $cid
getTopURLs (line 118)
void getTopURLs ( $limit, [ $commands = array()], [ $cid = _CID_])
  • $limit
  • $commands
  • $cid
setSQLHelper (line 52)

Sets the SQLHelper that should be used for receiving Statistic information.

void setSQLHelper (SQLHelper $sqlhelper)

Documentation generated by phpDocumentor 1.3.1