Example #1
0
 public function render()
 {
     $this->template->files = $this->administrationManager->getJsFiles();
     $this->template->render();
 }
Example #2
0
 /**
  * @param string $name
  * @return \Nette\Application\UI\Control
  */
 protected function createComponent($name)
 {
     return $this->administrationManager->getTrayWidgetManager()->getWidget($name);
 }
Example #3
0
 /**
  * @return \Nette\Application\UI\Control
  */
 protected function createComponentSideComponent()
 {
     $sideComponents = $this->administrationManager->getSideComponents();
     return $sideComponents[$this->sideComponent]['factory']->create();
 }