Esempio n. 1
0
 public function renderTitle($noTags = false)
 {
     if ($this->getRequest()->getActionName() == 'index') {
         return parent::renderTitle($noTags);
     }
     $action = $this->actionGet($this->getCurrentAction());
     if (!$action) {
         return parent::renderTitle($noTags);
     }
     $title = $this->getRecordTitle($action->getTitle());
     if (!$noTags) {
         $title .= sprintf(' (<a href="%s">%s</a>)', $this->escape($this->getBackUrl()), ___("return"));
     }
     return $title;
 }