public function content($row = null) { if (null === $row) { // Generate content for table head column $result = $this->label(); if ($this->sortable()) { // Column is sortable - get anchor HTML $result .= $this->_getSortAnchor(); } return $result; } if (!$this->hasRenderer()) { return (string) $row->{$this->index()}; } return (string) $this->renderer($row); }