Class Dal_Statistics_AdServer_Split

Description

The data access layer code for summarising raw data into statistics, for

the AdServer module, when split tables are in use

Located in /maintenance/libraries/max/Dal/StatisticsAdServerSplit.php (line 42)

Dal
   |
   --Dal_Statistics_Common
      |
      --Dal_Statistics_AdServer
         |
         --Dal_Statistics_AdServer_Split
Method Summary
 Dal_Statistics_AdServer_Split Dal_Statistics_AdServer_Split ()
 integer deleteOldData (Date $summarisedTo)
 integer summariseClicks (Date $start, Date $end)
 integer summariseConnections (Date $start, Date $end)
 integer summariseImpressions (Date $start, Date $end)
Variables
Methods
Constructor Dal_Statistics_AdServer_Split (line 50)

The constructor method.

Dal_Statistics_AdServer_Split Dal_Statistics_AdServer_Split ()
deleteOldData (line 773)

A method to delete old (ie. summarised) raw data.

  • return: The number of raw tables dropped.
integer deleteOldData (Date $summarisedTo)
  • Date $summarisedTo: The date/time up to which data have been summarised (i.e. if there is no newer data than this date (minus any compact_stats_grace window) then the raw table will be dropped, unless required by the tracking module, where installed).

Redefinition of:
Dal_Statistics_AdServer::deleteOldData()
A method to delete old (ie. summarised) raw data.
getMaintenanceStatisticsLastRunInfo (line 82)

A method to find the last time that maintenance statistics was run.

  • return: A Date representing the date up to which the statistics have been summarised, for the specified update type, or the appropriate date based on raw data if maintenance statistics has never been run for the Max module before. Returns null if no raw data is available.
Date getMaintenanceStatisticsLastRunInfo (integer $type)
  • integer $type: The update type that occurred - that is, 0 if the update was done on the basis of the operation interval, or 1 if the update was done on the basis of the hour.

Redefinition of:
Dal_Statistics_AdServer::getMaintenanceStatisticsLastRunInfo()
A method to find the last time that maintenance statistics was run.
singleton (line 61)

The singleton method to create or return a single instance of the class.

  • return: The returned Dal_Statistics_AdServer_Split object.
  • static:

Redefinition of:
Dal_Statistics_AdServer::singleton()
The singleton method to create or return a single instance of the class.
summariseClicks (line 170)

A method for summarising clicks into a temporary table.

  • return: The number of conversion rows summarised.
integer summariseClicks (Date $start, Date $end)
  • Date $start: The start date/time to summarise from.
  • Date $end: The end date/time to summarise to.

Redefinition of:
Dal_Statistics_AdServer::summariseClicks()
A method for summarising clicks into a temporary table.
summariseConnections (line 244)

A method for summarising connections into a temporary table.

  • return: The number of connections summarised.
integer summariseConnections (Date $start, Date $end)
  • Date $start: The start date/time to summarise from.
  • Date $end: The end date/time to summarise to.

Redefinition of:
Dal_Statistics_AdServer::summariseConnections()
A method for summarising connections into a temporary table.
summariseImpressions (line 95)

A method for summarising impressions into a temporary table.

  • return: The number of conversion rows summarised.
integer summariseImpressions (Date $start, Date $end)
  • Date $start: The start date/time to summarise from.
  • Date $end: The end date/time to summarise to.

Redefinition of:
Dal_Statistics_AdServer::summariseImpressions()
A method for summarising impressions into a temporary table.
_saveConnectionsAndVariableValues (line 615)

A private method to save the tacker impression/ad impression and tracker impression/ad click connections that have been marked as "latest", and also save the associated tracker impression variable values.

  • private:
void _saveConnectionsAndVariableValues (Date $start, Date $end)
  • Date $start: The start date/time to save from.
  • Date $end: The end date/time to save to.

Redefinition of:
Dal_Statistics_AdServer::_saveConnectionsAndVariableValues()
A private method to save the tacker impression/ad impression and tracker impression/ad click connections that have been marked as "latest", and also save the associated tracker impression variable values.

Inherited Methods

Inherited From Dal_Statistics_AdServer

 Dal_Statistics_AdServer::Dal_Statistics_AdServer()
 Dal_Statistics_AdServer::decrementCampaigns()
 Dal_Statistics_AdServer::deleteOldData()
 Dal_Statistics_AdServer::getMaintenanceStatisticsLastRunInfo()
 Dal_Statistics_AdServer::logCompletion()
 Dal_Statistics_AdServer::saveHistory()
 Dal_Statistics_AdServer::saveIntermediate()
 Dal_Statistics_AdServer::saveSummary()
 Dal_Statistics_AdServer::singleton()
 Dal_Statistics_AdServer::summariseClicks()
 Dal_Statistics_AdServer::summariseConnections()
 Dal_Statistics_AdServer::summariseImpressions()
 Dal_Statistics_AdServer::_getMaintenanceStatisticsLastRunInfo()
 Dal_Statistics_AdServer::_saveConnectionsAndVariableValues()

Inherited From Dal_Statistics_Common

 Dal_Statistics_Common::Dal_Statistics_Common()
 Dal_Statistics_Common::deleteOldData()
 Dal_Statistics_Common::getMaintenanceStatisticsLastRunInfo()
 Dal_Statistics_Common::logCompletion()
 Dal_Statistics_Common::saveIntermediate()
 Dal_Statistics_Common::saveSummary()
 Dal_Statistics_Common::singleton()
 Dal_Statistics_Common::summariseClicks()
 Dal_Statistics_Common::summariseConnections()
 Dal_Statistics_Common::summariseImpressions()
 Dal_Statistics_Common::_checkIntervalDates()

Inherited From Dal

 Dal::Dal()
 Dal::execute()
 Dal::executeIgnoreErrors()
 Dal::singleton()

Documentation generated on Fri, 3 Dec 2004 12:27:39 +0000 by phpDocumentor 1.3.0RC3