public function getAdminTitle() { $countParents = count($this->getParents()); $prefix = ''; for ($i = 0; $i < $countParents; $i++) { $prefix .= '- '; } return $prefix . '' . $this->getPageName(); }