コード例 #1
0
ファイル: TagControl.php プロジェクト: zaxxx/zaxcms
 protected function createTexy()
 {
     $texy = parent::createTexy();
     $texy->headingModule->top = 2;
     return $texy;
 }
コード例 #2
0
ファイル: FileManagerAbstract.php プロジェクト: zaxxx/zaxcms
 /**
  * @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;
 }
コード例 #3
0
ファイル: NavigationControl.php プロジェクト: zaxxx/zaxcms
 public function attached($presenter)
 {
     parent::attached($presenter);
     $this->redrawControl(NULL, FALSE);
 }