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