public function td($row) { /** * @var FileModel $file */ $file = $row; return elem('td', null, '' . elem('span', array('class' => format_file_glyphicon($file)), true) . ' ' . elem('a', array('href' => $this->link($file)), htmlspecialchars($this->field($file)))); }
public function td($row) { return elem('td', array('style' => 'width: 1px'), elem('span', array('class' => format_file_glyphicon($row)), true)); }