Свойство | Type | Description | |
---|---|---|---|
$_alltickets | array | Local cache of ticket sets | |
$_backend | Whups_Driver | ||
$_closedtickets | array | Local cache of closed tickets | |
$_opentickets | array | Local cache of open tickets |
Méthode | Description | |
---|---|---|
__construct ( Whups_Driver $whups_driver ) : Whups_Reports | Constructor | |
_updateDataSet ( array &$dataset, integer $index, mixed $newdata, string $operation ) | Update the dataset | |
getDataSet ( string $report ) : array | Get the data set | |
getTime ( $stat, string $group_by = null ) : integer | array | Returns a time (max, min, avg) that tickets are in a particular state (open, assigned, etc.). |
Méthode | Description | |
---|---|---|
_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. |
public __construct ( Whups_Driver $whups_driver ) : Whups_Reports | ||
$whups_driver | Whups_Driver | The backend driver |
Résultat | Whups_Reports |
protected _getTicketSet ( string $type, boolean $expanded = false ) : array | ||
$type | string | 'open', 'closed', or 'all' - the set of tickets to fetch. A previously cached set will be returned if it is available. |
$expanded | boolean | List tickets once for each owner of the ticket? |
Résultat | array | The ticket set. |
public getDataSet ( string $report ) : array | ||
$report | string | The report |
Résultat | array | The dataset |
protected array $_alltickets | ||
Résultat | array |
protected array $_closedtickets | ||
Résultat | array |
protected array $_opentickets | ||
Résultat | array |