Class Whups_Reports
Whups_Reports:: class.
Copyright 2002-2012 Horde LLC (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.
Methods summary
public
Whups_Reports
|
|
public
array
|
#
getDataSet( string $report )
Get the data set
Parameters
Returns
array The dataset
|
public
|
#
_updateDataSet( array & $dataset, integer $index, mixed $newdata, string $operation )
Update the dataset
Parameters
- $dataset
- The dataset.
- $index
- The index to update.
- $newdata
- The new data to insert.
- $operation
- The operation being performed.
|
public
integer|array
|
#
getTime( string $stat, string $group_by = null )
Returns a time (max, min, avg) that tickets are in a particular state
(open, assigned, etc.).
Returns a time (max, min, avg) that tickets are in a particular state
(open, assigned, etc.).
Parameters
- $stat
- $operation One of 'max', 'min', or 'avg'.
- $group_by
- $state The state to measure - 'open', etc.
Returns
integer|array The time value requested, or an array of values,
if the $group_by parameter has been specified.
Throws
|