array_push($items, $poi1); } } } if (count($items) > 0) { echo application_getMessage($items); } else { echo application_getMessage(msg_failed); } } } } //msg_updatefile if ($action == msg_updatefile) { //($aGroupId, $aUsrId, $aFilename, $aDescription) if ($fac->updateGroupFile($groupid, $usr->getUid(), $filename, $description)) { echo application_getMessage(msg_ok); } else { echo application_getMessage(msg_failed); } } //msg_gettags if ($action == msg_gettags) { $tc = new TagContainer(); $p1 = new ItemParser(); $lst1 = $p1->getTags(); if ($lst1 != null) { for ($i = 0; $i < count($lst1); $i++) { $tag1 = $lst1[$i]; $tc->addTag($tag1); }