Exemple #1
0
 public function renderStatus($record)
 {
     $statusOptions = HelpdeskTicket::getStatusOptions();
     list($status) = explode('_', $record->status);
     $status = $this->getStatusIconId($status, $record);
     return sprintf('<td align="center">%s</td>', $this->getDi()->view->icon($status, $statusOptions[$record->status]));
 }
Exemple #2
0
 public function renderStatus($record)
 {
     $statusOptions = HelpdeskTicket::getStatusOptions();
     return sprintf('<td>%s</td>', $statusOptions[$record->status]);
 }