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