$_backend
$_backend : \Whups_Driver
Whups_Reports:: class.
Copyright 2002-2017 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.
$_backend : \Whups_Driver
__construct(\Whups_Driver $whups_driver) : \Whups_Reports
Constructor
\Whups_Driver | $whups_driver | The backend driver |
getTime( $stat, string $group_by = null) : integer|array
Returns a time (max, min, avg) that tickets are in a particular state (open, assigned, etc.).
$stat | ||
string | $group_by | A ticket property by which to group the results. |
The time value requested, or an array of values, if the $group_by parameter has been specified.
_getTicketSet(string $type, boolean $expanded = false) : array
Loads a set of tickets, and cache the result inside the Whups_Reports:: object to save on database access.
string | $type | 'open', 'closed', or 'all' - the set of tickets to fetch. A previously cached set will be returned if it is available. |
boolean | $expanded | List tickets once for each owner of the ticket? |
The ticket set.