Class Maintenance_Statistics

Description

A factory class for creating Maintenance_Statistics_Common subclass objects.

Located in /maintenance/libraries/max/Maintenance/Statistics.php (line 39)


	
			
Method Summary
 void instance (string $classname, Maintenance_Statistics_Common &$msObj, [Date $now = null], [Date $lastUpdated = null])
Methods
instance (line 56)

The factory method used to instantiate a class that implements the Maintenance_Statistics_Common interface.

void instance (string $classname, Maintenance_Statistics_Common &$msObj, [Date $now = null], [Date $lastUpdated = null])
  • string $classname: The name of the class to instantiate.
  • Maintenance_Statistics_Common $msObj: A reference to the class object that will be created.
  • 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.
  • Date $lastUpdated: Optional Date representing the date/time the statistics were last updated. Only used when regenerating statistics.

Documentation generated on Thu, 20 Jan 2005 17:11:00 +0000 by phpDocumentor 1.3.0RC3