/** * @return string */ public function getDetails() { if ($this->details === null) { $pageTitle = $this->stringFormatter->makeStringUrlSafe($this->title->getPageTitle()); $this->details = $this->request->getModule() . '-' . $this->request->getController() . '-' . $pageTitle; } return $this->details; }
/** * @return string */ private function getControllerIndexActionTitle() { return $this->request->getArea() . '_' . $this->request->getController() . '_index'; }
/** * @inheritdoc */ protected function addCustomTemplateVarsBeforeOutput() { $this->view->assign('PAGE_TITLE', $this->translator->t('install', 'acp3_installation')); $this->view->assign('TITLE', $this->translator->t($this->request->getModule(), $this->request->getController() . '_' . $this->request->getAction())); $this->view->assign('LAYOUT', $this->request->isXmlHttpRequest() ? 'layout.ajax.tpl' : $this->getLayout()); }
/** * @inheritdoc */ protected function applyTemplateAutomatically() { return $this->request->getModule() . '/' . ucfirst($this->request->getArea()) . '/' . $this->request->getController() . '.' . $this->request->getAction() . '.tpl'; }
/** * @return string */ protected function buildControllerServiceId() { return $this->request->getModule() . '.controller.' . $this->request->getArea() . '.' . $this->request->getController() . '.' . $this->request->getAction(); }