public function renderTitle() { if ($this->getType() != self::GROUP) { $title = $this->grid->renderTitle(); } else { $title = ___($this->getTitle()); } return "<h1>" . $title . '</h1>' . PHP_EOL; }
public function renderTitle() { if ($this->getType() != self::GROUP) { $title = $this->grid->renderTitle(); } else { $title = sprintf('%s (<a href="%s">%s</a>)', ___($this->getTitle()), Am_Controller::escape($this->grid->getBackUrl()), ___('return')); } return "<h1>" . $title . '</h1>' . PHP_EOL; }