Changeset 110 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Sep 11, 2014 5:37:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php
r109 r110 88 88 $newDir = $this->CreateSpaceDir($currentCat->getCatName(), $destination, $userId); 89 89 90 return $newDir; 91 //$aryNewTree['DIRECTORIES'][] = $newDir; 90 $aryNewTree['DIRECTORIES'][] = $newDir; 92 91 93 92 /* if (isset($sourceObj->files)) { … … 98 97 } */ 99 98 100 /*if (isset($sourceObj->childs)) {99 if (isset($sourceObj->childs)) { 101 100 $aryChidlDirs = $sourceObj->childs; 102 101 foreach ($aryChidlDirs as $key => $dir) { 103 102 $this->CopySpaceDir($dir, $newDir, $userId, $aryNewTree); 104 103 } 105 } */104 } 106 105 } 107 106 … … 269 268 270 269 if (is_array($aryTreeObj)) { 271 $newDir = $this->CopySpaceDir($aryTreeObj[0], $destination, $userId, $aryNewTree);272 /*foreach ($aryTreeObj as $key => $treeObj){;270 //$newDir = $this->CopySpaceDir($aryTreeObj[0], $destination, $userId, $aryNewTree); 271 foreach ($aryTreeObj as $key => $treeObj){; 273 272 if ($treeObj->type == 'directory') { 274 273 $this->CopySpaceDir($treeObj, $destination, $userId, $aryNewTree); … … 279 278 //$aryNewTree['FILES'][] = $treeObj->id; 280 279 } 281 } */280 } 282 281 } 283 282
Note: See TracChangeset
for help on using the changeset viewer.