コード例 #1
0
ファイル: DirectoryNode.php プロジェクト: kegi/dictionary
 /**
  * @return array
  */
 public function export()
 {
     if (!$this->isLoaded()) {
         $this->load();
     }
     return parent::export();
 }
コード例 #2
0
ファイル: FileNode.php プロジェクト: kegi/dictionary
 /**
  * @return array
  */
 public function export()
 {
     if (!$this->isLoaded()) {
         $this->load();
     }
     if ($this->isEntry()) {
         if ($this->getEntryNode() instanceof EntryNode) {
             return $this->getEntryNode()->export();
         }
         return null;
     }
     return parent::export();
 }