Ejemplo n.º 1
0
 function recurseConnectByPath(&$pRet, $pTreeHash, $pPath)
 {
     $popId = array_shift($pPath);
     if (count($pPath) > 0) {
         if (empty($pRet[$popId]['children'])) {
             $pRet[$popId]['children'] = array();
         }
         FisheyeGallery::recurseConnectByPath($pRet[$popId]['children'], $pTreeHash, $pPath);
     } else {
         $pRet[$popId]['content'] = $pTreeHash;
     }
 }