Exemple #1
0
 protected function createTexy()
 {
     $texy = parent::createTexy();
     $texy->headingModule->top = 2;
     return $texy;
 }
Exemple #2
0
 /**
  * @param $name
  * @return Nette\ComponentModel\IComponent
  */
 protected function createComponent($name)
 {
     $control = parent::createComponent($name);
     if ($control instanceof IFilesystemContextAware) {
         $control->setRoot(realpath($this->getRoot()));
         $control->setDirectory($this->getDirectory());
     }
     return $control;
 }
Exemple #3
0
 public function attached($presenter)
 {
     parent::attached($presenter);
     $this->redrawControl(NULL, FALSE);
 }