Пример #1
0
 /**
  * @param string $path
  * @param bool $is_dir
  * @return ilCloudFileNode
  */
 protected function createNode($path = "/", $id, $is_dir = false)
 {
     $node = new ilCloudFileNode(ilCloudUtil::normalizePath($path), $id);
     $this->item_list[$node->getPath()] = $node;
     $this->id_to_path_map[$node->getId()] = $node->getPath();
     $node->setIsDir($is_dir);
     return $node;
 }