Example #1
0
 /**
  * @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;
 }
Example #2
0
File: Steps.php Project: acp3/core
 /**
  * @return string
  */
 private function getControllerIndexActionTitle()
 {
     return $this->request->getArea() . '_' . $this->request->getController() . '_index';
 }
Example #3
0
 /**
  * @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());
 }
Example #4
0
 /**
  * @inheritdoc
  */
 protected function applyTemplateAutomatically()
 {
     return $this->request->getModule() . '/' . ucfirst($this->request->getArea()) . '/' . $this->request->getController() . '.' . $this->request->getAction() . '.tpl';
 }
Example #5
0
 /**
  * @return string
  */
 protected function buildControllerServiceId()
 {
     return $this->request->getModule() . '.controller.' . $this->request->getArea() . '.' . $this->request->getController() . '.' . $this->request->getAction();
 }