[MaxMaintenance] element index

Package indexes

All elements
5 a b c d f g i l m n p r s t u _
_
top
Constant __FUNCTION__
__FUNCTION__ in bc.php
Method _saveIntermediateSummaries
A private method to save the summarised impressions/clicks/connections into the intermediate tables.
Method _summariseIntermediateClicks
A private method to summarise the ad clicks, ready for insertion into intermediate statistics tables.
Method _summariseIntermediateConnections
A private method to summarise the ad connections, ready for insertion into intermediate statistics tables.
Method _summariseIntermediateImpressions
A private method to summarise the ad impressions, ready for insertion into intermediate statistics tables.
a
top
Page all_tests.php
all_tests.php in all_tests.php
b
top
Page bc.php
bc.php in bc.php
c
top
Method checkDatesInSameHour
A static method to ensure that a Date range is in the same hour.
Method convertDateRangeToOperationIntervalID
A static method to convert a date range (in the form of two Dates) and return the operation interval ID represented by the range, or false if the date range spans more than one operation interval ID.
Method convertDateToOperationIntervalID
A static method to convert a Date object into the appropriate operation interval ID (of the week).
Method convertDateToOperationIntervalStartAndEndDates
A static method to convert a Date into an array containing the start and end dates of the operation interval that the date is in.
Variable $conf
Maintenance_Statistics_Common::$conf in StatisticsCommon.php
d
top
Variable $dal
Maintenance_Statistics_Common::$dal in StatisticsCommon.php
Method decrementCampaigns
A method to decrement the remaining impressions, clicks and conversions of campaigns based on the saved, summarised data.
Method deleteOldData
A method to delete raw data that is no-longer required, if the option to do so is set in the configuration .ini file.
Constant DATE_CALC_BEGIN_WEEKDAY
DATE_CALC_BEGIN_WEEKDAY in all_tests.php
f
top
Function file_get_contents
g
top
Method getOperationIntervalRange
A static method to calculate and return a range of operation intervals.
i
top
Function is_a
is_a() in bc.php
Compatibility code for users of PHP < 4.3.0
Method instance
The factory method used to instantiate a class that implements the Maintenance_Statistics_Common interface.
l
top
Variable $lastDateHourly
Variable $lastDateOI
Method logCompletion
A method to log the completion of summarising the raw data into statistics.
m
top
Class Maintenance
Maintenance in Maintenance.php
A static class for providing common methods for the maintenance scripts.
Page Maintenance.php
Maintenance.php in Maintenance.php
Method maxConnectionWindows
A method to find the largest, active impression and click connection windows.
Constant MINUTES_PER_DAY
MINUTES_PER_DAY in Maintenance.php
Constant MINUTES_PER_WEEK
MINUTES_PER_WEEK in Maintenance.php
Variable $module
Class Maintenance_Statistics
Maintenance_Statistics in Statistics.php
A factory class for creating Maintenance_Statistics_Common subclass objects.
Method Maintenance_Statistics_AdServer
The constructor method.
Class Maintenance_Statistics_AdServer
Maintenance_Statistics_AdServer in StatisticsAdServer.php
A class for summarising raw data into the various statistics that Max needs for the AdServer module.
Method Maintenance_Statistics_Common
A common constructor method that can be used for all children of the class.
Class Maintenance_Statistics_Common
Maintenance_Statistics_Common in StatisticsCommon.php
An abstract class that defines the interface and some common methods for summarising raw data into statistics, for all Max modules.
Method Maintenance_Table_Statistics
The constructor method.
Class Maintenance_Table_Statistics
Maintenance_Table_Statistics in TableStatistics.php
A class for creating the temporary Max database tables required for performing the maintenance statistics functions.
Constant maintenancePath
maintenancePath in all_tests.php
Method Maintenance_TestOfMaintenance
The constructor method.
Class Maintenance_TestOfMaintenance
Maintenance_TestOfMaintenance in TestOfMaintenance.php
A class for testing the Maintenance class.
Class Maintenance_TestOfStatistics
Maintenance_TestOfStatistics in TestOfStatistics.php
A class for testing the Maintenance_Statistics class.
Method Maintenance_TestOfStatistics
The constructor method.
Method Maintenance_TestOfStatisticsAdServer
The constructor method.
Class Maintenance_TestOfStatisticsAdServer
Maintenance_TestOfStatisticsAdServer in TestOfStatisticsAdServer.php
A class for testing the Maintenance_Statistics_AdServer class.
Method Maintenance_TestOfStatisticsCommon
The constructor method.
Class Maintenance_TestOfStatisticsCommon
Maintenance_TestOfStatisticsCommon in TestOfStatisticsCommon.php
A class for testing the Maintenance_Statistics_Common class.
Method Maintenance_TestOfTableStatistics
The constructor method.
Class Maintenance_TestOfTableStatistics
Maintenance_TestOfTableStatistics in TestOfTableStatistics.php
A class for testing the Maintenance_Table_Statistics class.
Constant MAX_PATH
MAX_PATH in all_tests.php
A script for running the Maintenance Engine tests. Designed to be included in a main, project-wide all_tests.php file, or to be run by itself.
n
top
Method nextOperationIntervalID
A static method to find the next operation interval ID.
Variable $now
Maintenance_Statistics_Common::$now in StatisticsCommon.php
p
top
Method prepareActivateCampaignEmail
A static method for premaring e-mails, advising of the activation of campaigns.
Method prepareDeactivateCampaignEmail
A static method for preparing e-mails, advising of the deactivation of campaigns.
Method previousOperationIntervalID
A static method to find the previous operation interval ID.
r
top
Variable $report
s
top
Constant SECONDS_PER_DAY
SECONDS_PER_DAY in Maintenance.php
Constant SECONDS_PER_WEEK
SECONDS_PER_WEEK in Maintenance.php
Page StatisticsAdServer.php
StatisticsAdServer.php in StatisticsAdServer.php
Page StatisticsCommon.php
StatisticsCommon.php in StatisticsCommon.php
Page Statistics.php
Statistics.php in Statistics.php
Method singleton
A singleton method to create or return a single instance of the Dal_Table_Maintenance_Statistics object.
Method summariseFinal
A method to summarise intermediate statistics into summary (final) statistics tables, where required.
Method summariseFinal
A method to summarise intermediate statistics into summary (final) statistics tables, where required.
Method summariseIntermediate
A method to summarise raw data into the intermediate statistics tables.
Method summariseIntermediate
A method to summarise raw data into the intermediate statistics tables.
t
top
Page TableStatistics.php
TableStatistics.php in TableStatistics.php
Page TestOfMaintenance.php
TestOfMaintenance.php in TestOfMaintenance.php
Page TestOfStatisticsAdServer.php
TestOfStatisticsAdServer.php in TestOfStatisticsAdServer.php
Page TestOfStatisticsCommon.php
TestOfStatisticsCommon.php in TestOfStatisticsCommon.php
Page TestOfStatistics.php
TestOfStatistics.php in TestOfStatistics.php
Page TestOfTableStatistics.php
TestOfTableStatistics.php in TestOfTableStatistics.php
Method testAllMaintenanceStatisticsTables
Tests creating/dropping all of the maintenance statistics tables.
Method testCheckDatesInSameHour
Tests the test of dates in the same hour.
Method testClass
The main test method.
Method testConvertDateRangeToOperationIntervalID
Tests that date ranges can be correctly converted into operation interval IDs.
Method testConvertDateToOperationIntervalID
Tests that dates can be correctly converted into opertation interval IDs.
Method testConvertDateToOperationIntervalStartAndEndDates
Tests that dates can be correctly converted into the start and end dates of the corresponding operation interval ID.
Method testCreateAdServer
Test the creation of an AdServer module via the factory.
Method testDeleteOldData
Tests the deleteOldData() method. Uses the AdServer module as a basis, but the test is equally valid for other modules, as the mechanism by which the modules differ is tested in the Dal package.
Method testGetOperationIntervalRange
Tests the calulation of a range of operation intervals.
Method testLogCompletion
Tests the logCompletion() method. Uses the AdServer module as a basis, but the test is equally valid for other modules, as the mechanism by which the modules differ is tested in the Dal package.
Method testMaintenance_Statistics_Common
Tests the constructor method. Uses the AdServer module as a basis, but the test is equally valid for other modules, as the mechanism by which the modules differ is tested in the Dal package.
Method testMaxConnectionWindows
Tests the maxConnectionWindows() method.
Method testNextOperationIntervalID
Tests the calculation of the next operation interval.
Method testPreviousOperationIntervalID
Tests the calculation of the previous operation interval.
Method testSendActivateCampaignEmail
Tests that an e-mail advising a campaign has been activated is able to be generated correctly.
Method testSendDeactivateCampaignEmail
Tests that e-mails advising a campaign has been deactivated is able to be generated correctly.
Method testSingleton
Tests that the singleton() method only ever returns one class instance.
u
top
Variable $updateHourly
Variable $updateOI
Variable $updateUsingOI
Variable $upToDateHourly
Variable $upToDateOI
5
top
Page 5.php
5.php in 5.php
5 a b c d f g i l m n p r s t u _