예제 #1
0
 /**
  *
  */
 public function render()
 {
     $config = $this->connector->getConfig();
     $this->template->paths = (object) $config['webPaths'];
     $this->template->userHasPermission = $this->connector->checkPermission();
     $this->template->setFile(__DIR__ . '/../templates/editrouble.latte');
     $this->template->render();
 }
예제 #2
0
 /**
  * @param Connector $connector
  */
 public function injectConnector(Connector $connector)
 {
     $this->editroubleConnector = $connector;
     $this->editroubleConnector->setPresenter($this);
 }