Example #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]));
 }
Example #2
0
 public function renderStatus($record)
 {
     $statusOptions = HelpdeskTicket::getStatusOptions();
     return sprintf('<td>%s</td>', $statusOptions[$record->status]);
 }