Abstract Class Maintenance_Statistics_Common

Description

An abstract class that defines the interface and some common methods for summarising raw data into statistics, for all Max modules.

  • abstract:

Located in /maintenance/libraries/max/Maintenance/StatisticsCommon.php (line 43)


	
			
Direct descendents
Class Description
 class Maintenance_Statistics_AdServer A class for summarising raw data into the various statistics that Max needs for the AdServer module.
Variable Summary
 mixed $conf
 mixed $dal
 mixed $lastDateOI
 mixed $module
 mixed $now
 mixed $report
 mixed $updateOI
 mixed $upToDateOI
Method Summary
 Maintenance_Statistics_Common Maintenance_Statistics_Common ([Date $now = null])
 void deleteOldData ()
 void logCompletion ([Date $now = null])
 void summariseFinal ()
Variables
mixed $conf (line 47)
mixed $dal (line 48)
mixed $lastDateHourly (line 54)
mixed $lastDateOI (line 51)
mixed $module (line 45)
mixed $now (line 46)
mixed $report (line 49)
mixed $updateHourly (line 55)
mixed $updateOI (line 52)
mixed $updateUsingOI (line 50)
mixed $upToDateHourly (line 56)
mixed $upToDateOI (line 53)
Methods
Constructor Maintenance_Statistics_Common (line 68)

A common constructor method that can be used for all children of the class.

Must have the class $module variable set before being called in the child constructor method.

Maintenance_Statistics_Common Maintenance_Statistics_Common ([Date $now = null])
  • Date $now: Optional Date representing the current date/time. Normally just used for testing the class constructor, or for faking the current time in order to re-generate past statistics, in the case of faulty raw data tables.
deleteOldData (line 196)

A method to delete raw data that is no-longer required, if the option to do so is set in the configuration .ini file.

void deleteOldData ()
logCompletion (line 230)

A method to log the completion of summarising the raw data into statistics.

void logCompletion ([Date $now = null])
  • Date $now: Optional Date representing the current date/time. Normally just used for testing the class constructor.
summariseFinal (line 190)

A method to summarise intermediate statistics into summary (final) statistics tables, where required.

void summariseFinal ()

Redefined in descendants as:
summariseIntermediate (line 184)

A method to summarise raw data into the intermediate statistics tables.

void summariseIntermediate ()

Redefined in descendants as:

Documentation generated on Fri, 10 Dec 2004 18:26:31 +0000 by phpDocumentor 1.3.0RC3