프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |
public getDataSet ( string $report ) : array | ||
$report | string | The report |
리턴 | array | The dataset |