Changeset 124 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Sep 15, 2014 2:17:18 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
r123 r124 126 126 $fileName = $currentFile->getFileCategory() == $destination ? 'Copy of '.$currentFile->getFileName():$currentFile->getFileName(); 127 127 128 $tblfile = new Tblspacefile(); 128 return $currentFile; 129 130 /* $tblfile = new Tblspacefile(); 129 131 $tblfile->setFileResource($currentFile); 130 132 $tblfile->setFileCategory($destination); … … 133 135 $tblfile->setFileDate(date('Y-m-d H:i:s')); 134 136 $tblfile->save(); 135 return $tblfile->getFileId(); 137 return $tblfile->getFileId(); */ 136 138 } 137 139 … … 288 290 } 289 291 else { 290 $aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid);292 $aryNewTree['FILES'] = var_export($this->CopySpaceFile($treeObj->id, $destination, $userid), TRUE); 291 293 } 292 294 }
Note: See TracChangeset
for help on using the changeset viewer.