Ejemplo n.º 1
0
 /**
  * get path ids (adjacenca and nested set)
  * @group IL_Init
  * @param
  * @return
  */
 public function testGetPathIds()
 {
     $tree = new ilTree(ROOT_FOLDER_ID);
     $ids_ns = $tree->getPathIdsUsingNestedSets(24);
     $ids_al = $tree->getPathIdsUsingAdjacencyMap(24);
     $this->assertEquals($ids_ns, $ids_al);
 }