Свойство | Тип | Описание | |
---|---|---|---|
$_alltickets | array | Local cache of ticket sets | |
$_backend | Whups_Driver | ||
$_closedtickets | array | Local cache of closed tickets | |
$_opentickets | array | Local cache of open tickets |
Метод | Описание | |
---|---|---|
__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.). |
Метод | Описание | |
---|---|---|
_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 |
Результат | 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? |
Результат | array | The ticket set. |
public getDataSet ( string $report ) : array | ||
$report | string | The report |
Результат | array | The dataset |
protected array $_alltickets | ||
Результат | array |
protected array $_closedtickets | ||
Результат | array |
protected array $_opentickets | ||
Результат | array |