private function getSortingAnchor() { $httpService = new HttpService(); $anchor = $this->html->el('a'); $attributes = array(); $attributes['href'] = $httpService->getSortUrl($this->getColumnName()); $anchor->addAttributes($attributes); $anchor->setText($this->getCellData()); return $anchor; }