41 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
45 return $sua->login(
$client,$username,$password);
50 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
54 return $sua->loginCAS(
$client, $PT, $user);
59 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
63 return $sua->loginLDAP(
$client, $username, $password);
71 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
75 return $sua->loginStudipUser($sid,$user_id);
81 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
85 return $sua->logout($sid);
89 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
93 return $sua->lookupUser($sid,$user_name);
96 public static function getUser($sid,$user_id)
98 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
102 return $sua->getUser($sid,$user_id);
111 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
115 return $sua->deleteUser($sid,$user_id);
122 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
126 return $sca->addCourse($sid,
$target_id,$crs_xml);
130 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
134 return $sca->deleteCourse($sid,$course_id);
138 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
142 return $sca->assignCourseMember($sid,$course_id,$user_id,$type);
146 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
150 return $sca->isAssignedToCourse($sid,$course_id,$user_id);
155 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
159 return $sca->excludeCourseMember($sid,$course_id,$user_id);
163 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
167 return $sca->getCourseXML($sid,$course_id);
171 include_once
'./webservice/soap/classes/class.ilSoapCourseAdministration.php';
175 return $sca->updateCourse($sid,$course_id,$xml);
180 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
184 return $soa->getObjIdByImportId($sid,$import_id);
189 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
193 return $soa->getRefIdsByImportId($sid,$import_id);
197 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
201 return $soa->getRefIdsByObjId($sid,$object_id);
207 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
211 return $soa->getObjectByReference($sid,$a_ref_id,$user_id);
216 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
220 return $soa->getObjectsByTitle($sid,$a_title,$user_id);
223 public static function addObject($sid,$a_target_id,$a_xml)
225 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
229 return $soa->addObject($sid,$a_target_id,$a_xml);
234 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
238 return $soa->addReference($sid,$a_source_id,$a_target_id);
243 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
247 return $soa->deleteObject($sid,$reference_id);
252 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
256 return $soa->removeFromSystemByImportId($sid,$import_id);
261 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
265 return $soa->updateObjects($sid,$obj_xml);
267 public static function searchObjects($sid,$types,$key,$combination,$user_id)
269 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
273 return $soa->searchObjects($sid,$types,$key,$combination,$user_id);
278 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
282 return $soa->getTreeChilds($sid,
$ref_id,$types,$user_id);
287 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
291 return $soa->getXMLTree($sid,
$ref_id,$types,$user_id);
299 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
303 return $soa->getOperations($sid);
309 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
313 return $soa->addUserRoleEntry($sid,$user_id,$role_id);
318 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
322 return $soa->deleteUserRoleEntry($sid,$user_id,$role_id);
327 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
331 return $soa->revokePermissions($sid,
$ref_id,$role_id);
336 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
340 return $soa->grantPermissions($sid,
$ref_id,$role_id,$permissions);
345 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
349 return $soa->getLocalRoles($sid,
$ref_id);
354 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
358 return $soa->getUserRoles($sid,$user_id);
363 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
367 return $soa->deleteRole($sid,$role_id);
372 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
376 return $soa->addRole($sid,
$target_id,$obj_xml);
380 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
389 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
393 return $soa->getObjectTreeOperations($sid,
$ref_id,$user_id);
398 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
402 return $soa->addGroup($sid,
$target_id,$group_xml);
407 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
411 return $soa->groupExists($sid,
$title);
415 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
419 return $soa->getGroup($sid,
$ref_id);
424 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
428 return $sca->assignGroupMember($sid,$group_id,$user_id,$type);
432 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
436 return $sca->isAssignedToGroup($sid,$group_id,$user_id);
441 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
445 return $sca->excludeGroupMember($sid,$group_id,$user_id,$type);
449 public static function sendMail($sid,$to,$cc,$bcc,$sender,$subject,$message,$attach)
451 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
454 $sou->disableSOAPCheck();
455 $sou->ignoreUserAbort();
457 return $sou->sendMail($sid,$to,$cc,$bcc,$sender,$subject,$message,$attach);
462 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
465 return $sou->distributeMails($sid,$mail_xml);
469 public static function ilClone($sid,$copy_identifier)
471 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
474 $sou->disableSOAPCheck();
475 $sou->ignoreUserAbort();
477 return $sou->ilClone($sid,$copy_identifier);
481 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
484 $sou->disableSOAPCheck();
485 $sou->ignoreUserAbort();
487 return $sou->ilCloneDependencies($sid,$copy_identifier);
492 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
495 $sou->disableSoapCheck();
496 $sou->ignoreUserAbort();
498 return $sou->handleECSTasks($sid,$a_server_id);
503 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
507 return $sass->saveQuestionResult($sid,$user_id,$test_id,$question_id,
$pass,$solution);
512 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
516 return $sass->saveQuestion($sid,$active_id,$question_id,
$pass,$solution);
521 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
525 return $sass->saveQuestionSolution($sid,$active_id,$question_id,
$pass,$solution);
530 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
534 return $sass->getQuestionSolution($sid,$active_id,$question_id,
$pass);
539 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
543 return $sass->getTestUserData($sid,$active_id);
548 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
552 return $sass->getNrOfQuestionsInPass($sid, $active_id,
$pass);
557 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
561 return $sass->getPositionOfQuestion($sid, $active_id, $question_id,
$pass);
566 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
570 return $sass->getPreviousReachedPoints($sid, $active_id, $question_id,
$pass);
575 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
578 $sou->disableSOAPCheck();
580 return $sou->saveTempFileAsMediaObject($sid, $name, $tmp_name);
585 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
588 $sou->disableSOAPCheck();
590 return $sou->getMobsOfObject($sid,
$a_type, $a_id);
594 include_once
'./webservice/soap/classes/class.ilSoapStructureObjectAdministration.php';
598 return $sca->getStructureObjects ($sid,
$ref_id);
601 public static function getRoles($sid, $role_type, $id)
603 include_once
'./webservice/soap/classes/class.ilSoapRBACAdministration.php';
607 return $soa->getRoles($sid, $role_type, $id);
610 public static function importUsers ($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail)
612 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
616 return $sua->importUsers($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail);
621 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
625 return $sua->getUsersForContainer($sid,
$ref_id, $attach_roles, $active);
630 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
634 return $sua->getUserForRole($sid, $role_id, $attach_roles, $active);
638 public static function searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active) {
639 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
643 return $sua->searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active);
649 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
653 return $sua->hasNewMail($sid);
657 include_once
'./webservice/soap/classes/class.ilSoapAdministration.php';
659 return $soa->getNIC($sid);
663 include_once
'./webservice/soap/classes/class.ilSoapExerciseAdministration.php';
665 return $sta->getExerciseXML($sid,
$ref_id, $attachFileContentsMode);
671 include_once
'./webservice/soap/classes/class.ilSoapExerciseAdministration.php';
673 return $sta->updateExercise($sid,
$ref_id, $xml);
678 include_once
'./webservice/soap/classes/class.ilSoapExerciseAdministration.php';
680 return $sta->addExercise($sid,
$ref_id, $xml);
686 include_once
'./webservice/soap/classes/class.ilSoapFileAdministration.php';
688 return $sta->getFileXML($sid,
$ref_id, $attachFileContentsMode);
695 include_once
'./webservice/soap/classes/class.ilSoapFileAdministration.php';
697 return $sta->updateFile($sid,
$ref_id, $xml);
703 include_once
'./webservice/soap/classes/class.ilSoapFileAdministration.php';
705 return $sta->addFile($sid,
$ref_id, $xml);
711 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
715 return $soa->getObjIdsByRefIds($sid, $ref_ids);
718 public static function getUserXML($sid,$user_ids, $attach_roles)
720 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
724 return $sua->getUserXML($sid, $user_ids, $attach_roles);
729 include_once
'./webservice/soap/classes/class.ilSoapGroupAdministration.php';
733 return $sua->updateGroup($sid,
$ref_id, $grp_xml);
737 include_once
'./webservice/soap/classes/class.ilSoapSCORMAdministration.php';
741 return $sua->getIMSManifestXML($sid,
$ref_id);
745 include_once
'./webservice/soap/classes/class.ilSoapSCORMAdministration.php';
749 return $sua->hasSCORMCertificate($sid,
$ref_id,$usr_id);
757 public static function copyObject($sid, $copy_settings_xml) {
758 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
762 return $soa->copyObject($sid, $copy_settings_xml);
774 include_once
'./webservice/soap/classes/class.ilSoapObjectAdministration.php';
793 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
797 return $soa->getTestResults($sid,
$ref_id,$sum_only);
812 include_once
'./webservice/soap/classes/class.ilSoapTestAdministration.php';
815 return $soa->removeTestResults($sid,
$ref_id,$a_user_ids);
826 include_once
'webservice/soap/classes/class.ilSoapCourseAdministration.php';
828 return $soc->getCoursesForUser($sid, $parameters);
839 include_once
'webservice/soap/classes/class.ilSoapGroupAdministration.php';
841 return $soc->getGroupsForUser($sid, $parameters);
845 include_once
'webservice/soap/classes/class.ilSoapObjectAdministration.php';
847 return $soa->getPathForRefId($sid,
$ref_id);
850 public static function searchRoles ($sid, $key, $combination, $role_type)
852 include_once
'webservice/soap/classes/class.ilSoapRBACAdministration.php';
854 return $roa->searchRoles($sid, $key, $combination, $role_type);
859 include_once
'webservice/soap/classes/class.ilSoapAdministration.php';
861 return $roa->getInstallationInfoXML();
865 include_once
'webservice/soap/classes/class.ilSoapAdministration.php';
867 return $roa->getClientInfoXML($clientid);
878 $protocol =
'https://';
882 $protocol =
'http://';
889 include_once
'Services/Utilities/classes/class.ilUtil.php';
892 $dirs = explode(
'/',$module);
894 foreach($dirs as $dir)
896 $uri = dirname($uri);
903 include_once
'./webservice/soap/classes/class.ilSoapSCORMAdministration.php';
907 return $sua->getSCORMCompletionStatus($sid, $usr_id, $a_ref_id);
912 include_once
'./webservice/soap/classes/class.ilSoapUserAdministration.php';
916 return $sua->getUserIdBySid($sid);
921 include_once
'./webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
924 return $swa->readWebLink($sid,
$ref_id);
929 include_once
'./webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
932 return $swa->createWebLink($sid,
$ref_id,$xml);
937 include_once
'./webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
940 return $swa->updateWebLink($sid,
$ref_id,$xml);
958 include_once
'./webservice/soap/classes/class.ilSoapUtils.php';
961 $sou->disableSOAPCheck();
962 $sou->ignoreUserAbort();
964 return $sou->deleteExpiredDualOptInUserObjects($sid, $usr_id);
1002 public static function deleteProgress($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter)
1004 include_once
'./webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1006 return $sla->deleteProgress($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter);
1011 include_once
'./webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1015 return $s->getLearningProgressChanges($sid,
$timestamp, $include_ref_ids, $type_filter);
1029 include_once
'./webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1031 return $sla->getProgressInfo($sid,
$ref_id, $progress_filter);
1047 include_once
'./webservice/soap/classes/class.ilSoapDataCollectionAdministration.php';
1049 return $dcl->exportDataCollectionContent($sid, $data_collection_id, $table_id, $format, $filepath);
1061 include_once
'./webservice/soap/classes/class.ilSoapBackgroundTaskAdministration.php';
1063 return $bg->processBackgroundTask($sid, $task_id);
static removeFromSystemByImportId($sid, $import_id)
static isAssignedToGroup($sid, $group_id, $user_id)
static getLocalRoles($sid, $ref_id)
static getObjIdsByRefIds($sid, $ref_ids)
static getOperations($sid)
static deleteUser($sid, $user_id)
static updateExercise($sid, $ref_id, $xml)
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static searchRoles($sid, $key, $combination, $role_type)
static loginStudipUser($sid, $user_id)
static getUserRoles($sid, $user_id)
static processBackgroundTask($sid, $task_id)
Process background task.
static getInstallationInfoXML()
static grantPermissions($sid, $ref_id, $role_id, $permissions)
static getPositionOfQuestion($sid, $active_id, $question_id, $pass)
This class handles all DB changes necessary for fraunhofer.
static getUsersForContainer($sid, $ref_id, $attach_roles, $active)
static login($client, $username, $password)
static getUsersForRole($sid, $role_id, $attach_roles, $active)
static removeTestResults($sid, $ref_id, $a_user_ids)
Remove test results of user.
static getClientInfoXML($clientid)
static deleteUserRoleEntry($sid, $user_id, $role_id)
static revokePermissions($sid, $ref_id, $role_id)
static getSCORMCompletionStatus($sid, $usr_id, $a_ref_id)
static ilClone($sid, $copy_identifier)
static getGroup($sid, $ref_id)
static getQuestionSolution($sid, $active_id, $question_id, $pass)
static importUsers($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail)
static excludeGroupMember($sid, $group_id, $user_id)
static getCourseXML($sid, $course_id)
static deleteProgress($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter)
Delete progress.
static updateObjects($sid, $obj_xml)
static createWebLink($sid, $ref_id, $xml)
static searchUser($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active)
static getRefIdsByImportId($sid, $import_id)
static saveQuestionResult($sid, $user_id, $test_id, $question_id, $pass, $solution)
static assignCourseMember($sid, $course_id, $user_id, $type)
static handleECSTasks($sid, $a_server_id)
static assignGroupMember($sid, $group_id, $user_id, $type)
static readWebLink($sid, $ref_id)
static deleteObject($sid, $reference_id)
static getObjectTreeOperations($sid, $ref_id, $user_id)
static addGroup($sid, $target_id, $group_xml)
static addCourse($sid, $target_id, $crs_xml)
static getUser($sid, $user_id)
static copyObject($sid, $copy_settings_xml)
copy object in repository $sid session id $settings_xml contains copy wizard settings following ilias...
static deleteRole($sid, $role_id)
static loginCAS($client, $PT, $user)
static addReference($sid, $a_source_id, $a_target_id)
static moveObject($sid, $ref_id, $target_id)
move object in repository
static searchObjects($sid, $types, $key, $combination, $user_id)
static buildHTTPPath()
builds http path if no client is available
static deleteExpiredDualOptInUserObjects($sid, $usr_id)
Static method for soap webservice: deleteExpiredDualOptInUserObjects.
static getIMSManifestXML($sid, $ref_id)
static addUserRoleEntry($sid, $user_id, $role_id)
static getGroupsForUser($sid, $parameters)
return courses for users depending on the status
static distributeMails($sid, $mail_xml)
static getUserXML($sid, $user_ids, $attach_roles)
static getStructureObjects($sid, $ref_id)
static getRoles($sid, $role_type, $id)
static deleteCourse($sid, $course_id)
static sendMail($sid, $to, $cc, $bcc, $sender, $subject, $message, $attach)
static lookupUser($sid, $user_name)
static getTestResults($sid, $ref_id, $sum_only)
get results of test
static getMobsOfObject($sid, $a_type, $a_id)
Soap methods for adminstrating web links.
static saveQuestionSolution($sid, $active_id, $question_id, $pass, $solution)
static addFile($sid, $ref_id, $xml)
static getFileXML($sid, $ref_id, $attachFileContentsMode)
static hasSCORMCertificate($sid, $ref_id, $usr_id)
static excludeCourseMember($sid, $course_id, $user_id)
static groupExists($sid, $title)
static getExerciseXML($sid, $ref_id, $attachFileContentsMode)
static getRefIdsByObjId($sid, $object_id)
static getLearningProgressChanges($sid, $timestamp, $include_ref_ids, $type_filter)
static getObjectByReference($sid, $a_ref_id, $user_id)
static removeTrailingPathSeparators($path)
static loginLDAP($client, $username, $password)
static addExercise($sid, $ref_id, $xml)
static saveQuestion($sid, $active_id, $question_id, $pass, $solution)
static getUserIdBySid($sid)
static getPreviousReachedPoints($sid, $active_id, $question_id, $pass)
static getProgressInfo($sid, $ref_id, $progress_filter)
Get learning progress info.
foreach($mandatory_scripts as $file) $timestamp
static getXMLTree($sid, $ref_id, $types, $user_id)
static addRoleFromTemplate($sid, $target_id, $obj_xml, $template_id)
static getObjectsByTitle($sid, $a_title, $user_id)
static updateCourse($sid, $course_id, $xml)
static ilCloneDependencies($sid, $copy_identifier)
static getPathForRefId($sid, $ref_id)
static getObjIdByImportId($sid, $import_id)
static updateWebLink($sid, $ref_id, $xml)
static getTreeChilds($sid, $ref_id, $types, $user_id)
static getCoursesForUser($sid, $parameters)
return courses for users depending on the status
static exportDataCollectionContent($sid, $data_collection_id, $table_id=null, $format="xls", $filepath=null)
Exports a given table of a datacollection into xls.
static addObject($sid, $a_target_id, $a_xml)
static getTestUserData($sid, $active_id)
static isAssignedToCourse($sid, $course_id, $user_id)
static getNrOfQuestionsInPass($sid, $active_id, $pass)
static updateGroup($sid, $ref_id, $grp_xml)
static saveTempFileAsMediaObject($sid, $name, $tmp_name)
static addRole($sid, $target_id, $obj_xml)
static updateFile($sid, $ref_id, $xml)