Class Whups_Reports

Description

Whups_Reports:: class.

$Horde: whups/lib/Reports.php,v 1.35.2.2 2009/12/16 21:56:12 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.

Located in /lib/Reports.php (line 15)


	
			
Variable Summary
Method Summary
 Whups_Reports Whups_Reports ( $whups_driver)
 void getDataSet ( $report)
 integer|array getTime ( $stat, [string $group_by = null], string $operation, string $state)
 void _updateDataSet ( &$dataset,  $index,  $newdata,  $operation)
Variables
mixed $_alltickets (line 23)
mixed $_backend (line 17)
mixed $_closedtickets (line 21)
mixed $_opentickets (line 19)
Methods
Constructor Whups_Reports (line 25)
Whups_Reports Whups_Reports ( $whups_driver)
  • $whups_driver
getDataSet (line 30)
void getDataSet ( $report)
  • $report
getTime (line 137)

Returns a time (max, min, avg) that tickets are in a particular state (open, assigned, etc.).

  • return: The time value requested, or an array of values, if the $group_by parameter has been specified.
integer|array getTime ( $stat, [string $group_by = null], string $operation, string $state)
  • string $operation: One of 'max', 'min', or 'avg'.
  • string $state: The state to measure - 'open', etc.
  • string $group_by: A ticket property by which to group the results.
  • $stat
_updateDataSet (line 96)
void _updateDataSet ( &$dataset,  $index,  $newdata,  $operation)
  • &$dataset
  • $index
  • $newdata
  • $operation

Documentation generated on Sun, 30 Jan 2011 05:41:43 +0000 by phpDocumentor 1.4.3