Class SystemStats

Description

Collate some stats on the current usage of the system (number of bookings etc)

Located in /inc/systemstats.php (line 23)


	
			
Variable Summary
array $stats
array $tables
Method Summary
SystemStats SystemStats ()
void countEntries (string $table)
void get (string $table)
Variables
array $stats (line 28)

numbers of rows in each table ($table => $num_rows)

array $tables (line 33)

tables on which stats should be compiled

Methods
Constructor SystemStats (line 38)

Constructor: load up the stats

SystemStats SystemStats ()
countEntries (line 49)

Runs the SQL count(*) query to find out how many rows in the table

void countEntries (string $table)
  • string $table: the table to query
get (line 58)

Return the stats for the designated table

void get (string $table)
  • string $table: the table to query

Documentation generated on Tue, 06 Mar 2007 10:02:00 +0000 by phpDocumentor 1.3.0