Changeset 52 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Aug 21, 2014 11:23:17 AM (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
r51 r52 166 166 $this->errCode = ''; 167 167 } 168 169 public function executeDeleteMulti () { 170 $userId = $this->getRequestParameter('userid'); 171 $aryDel = $this->getRequestParameter('delobj'); 172 173 $aryObjs = json_decode($aryDel); 174 175 foreach ($aryObjs as $key => $obj) { 176 echo $obj->id , ' - ', $obj->name, ' - ', $obj->type; 177 if (is_array($obj->childDirs)) { 178 foreach ($obj->childDirs as $childDir) { 179 echo "\n",$childDir->id , ' - ', $childDir->name; 180 } 181 } 182 if (is_array($obj->childFiles)) { 183 foreach ($obj->childFiles as $childFile) { 184 echo "\n",$childFile->id , ' - ', $childFile->name, ' - ', $childFile->type; 185 } 186 } 187 } 188 } 168 189 169 190 public function executeUpload() {
Note: See TracChangeset
for help on using the changeset viewer.