Class: StatisticService

Source Location: /CORE/system/classes/statistic/StatisticService.php

Class StatisticService

Class Overview

This class server information about your Website Statistics.

Located in /CORE/system/classes/statistic/StatisticService.php [line 35]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: StatisticService.php,v 1.7 2006/11/26 22:04:27 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
StatisticService   StatisticService()  
void   countAllHits()  
void   countOperatingSystem()  
void   countSessions()  
void   countTopReferer()  
void   countTopVisitors()  
void   countTotalBrowser()  
void   deleteAllStatistics()  
void   deleteStatisticsBefore()  
void   executeStatisticSQL()   Executes a SQL against the Statistic Database.
void   getMaxTimestamp()  
void   getMinTimestamp()  
void   getTopURLs()  
void   setSQLHelper()   Sets the SQLHelper that should be used for receiving Statistic information.

[ Top ]
Methods
Constructor StatisticService  [line 42]

  StatisticService StatisticService( )



[ Top ]
countAllHits  [line 70]

  void countAllHits( [ $cid = _CID_]  )

Parameters:
   $cid: 


[ Top ]
countOperatingSystem  [line 95]

  void countOperatingSystem( $names, [ $cid = _CID_]  )

Parameters:
   $names: 
   $cid: 


[ Top ]
countSessions  [line 130]

  void countSessions( [ $cid = _CID_]  )

Parameters:
   $cid: 


[ Top ]
countTopReferer  [line 105]

  void countTopReferer( $limit, $filter, [ $cid = _CID_]  )

Parameters:
   $limit: 
   $filter: 
   $cid: 


[ Top ]
countTopVisitors  [line 88]

  void countTopVisitors( $limit, [ $cid = _CID_]  )

Parameters:
   $limit: 
   $cid: 


[ Top ]
countTotalBrowser  [line 78]

  void countTotalBrowser( $names, [ $cid = _CID_]  )

Parameters:
   $names: 
   $cid: 


[ Top ]
deleteAllStatistics  [line 57]

  void deleteAllStatistics( [ $cid = _CID_]  )

Parameters:
   $cid: 


[ Top ]
deleteStatisticsBefore  [line 63]

  void deleteStatisticsBefore( $date, [ $cid = _CID_]  )

Parameters:
   $date: 
   $cid: 


[ Top ]
executeStatisticSQL  [line 176]

  void executeStatisticSQL( String $sqlString  )

Executes a SQL against the Statistic Database.

Parameters:
String   $sqlString:  the SQL Command to execute


[ Top ]
getMaxTimestamp  [line 144]

  void getMaxTimestamp( [ $cid = _CID_]  )

Parameters:
   $cid: 


[ Top ]
getMinTimestamp  [line 137]

  void getMinTimestamp( [ $cid = _CID_]  )

Parameters:
   $cid: 


[ Top ]
getTopURLs  [line 118]

  void getTopURLs( $limit, [ $commands = array()], [ $cid = _CID_]  )

Parameters:
   $limit: 
   $commands: 
   $cid: 


[ Top ]
setSQLHelper  [line 52]

  void setSQLHelper( SQLHelper $sqlhelper  )

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

Parameters:
SQLHelper   $sqlhelper:  the SQLHelper to use


[ Top ]