ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSoapFunctions Class Reference
+ Collaboration diagram for ilSoapFunctions:

Static Public Member Functions

static login ($client, $username, $password)
 
static loginCAS ($client, $PT, $user)
 
static loginLDAP ($client, $username, $password)
 
static loginStudipUser ($sid, $user_id)
 
static logout ($sid)
 
static lookupUser ($sid, $user_name)
 
static getUser ($sid, $user_id)
 
static deleteUser ($sid, $user_id)
 
static addCourse ($sid, $target_id, $crs_xml)
 
static deleteCourse ($sid, $course_id)
 
static assignCourseMember ($sid, $course_id, $user_id, $type)
 
static isAssignedToCourse ($sid, $course_id, $user_id)
 
static excludeCourseMember ($sid, $course_id, $user_id)
 
static getCourseXML ($sid, $course_id)
 
static updateCourse ($sid, $course_id, $xml)
 
static getObjIdByImportId ($sid, $import_id)
 
static getRefIdsByImportId ($sid, $import_id)
 
static getRefIdsByObjId ($sid, $object_id)
 
static getObjectByReference ($sid, $a_ref_id, $user_id)
 
static getObjectsByTitle ($sid, $a_title, $user_id)
 
static addObject ($sid, $a_target_id, $a_xml)
 
static addReference ($sid, $a_source_id, $a_target_id)
 
static deleteObject ($sid, $reference_id)
 
static removeFromSystemByImportId ($sid, $import_id)
 
static updateObjects ($sid, $obj_xml)
 
static searchObjects ($sid, $types, $key, $combination, $user_id)
 
static getTreeChilds ($sid, $ref_id, $types, $user_id)
 
static getXMLTree ($sid, $ref_id, $types, $user_id)
 
static getOperations ($sid)
 
static addUserRoleEntry ($sid, $user_id, $role_id)
 
static deleteUserRoleEntry ($sid, $user_id, $role_id)
 
static revokePermissions ($sid, $ref_id, $role_id)
 
static grantPermissions ($sid, $ref_id, $role_id, $permissions)
 
static getLocalRoles ($sid, $ref_id)
 
static getUserRoles ($sid, $user_id)
 
static deleteRole ($sid, $role_id)
 
static addRole ($sid, $target_id, $obj_xml)
 
static addRoleFromTemplate ($sid, $target_id, $obj_xml, $template_id)
 
static getObjectTreeOperations ($sid, $ref_id, $user_id)
 
static addGroup ($sid, $target_id, $group_xml)
 
static groupExists ($sid, $title)
 
static getGroup ($sid, $ref_id)
 
static assignGroupMember ($sid, $group_id, $user_id, $type)
 
static isAssignedToGroup ($sid, $group_id, $user_id)
 
static excludeGroupMember ($sid, $group_id, $user_id)
 
static sendMail ($sid, $to, $cc, $bcc, $sender, $subject, $message, $attach)
 
static distributeMails ($sid, $mail_xml)
 
static ilClone ($sid, $copy_identifier)
 
static ilCloneDependencies ($sid, $copy_identifier)
 
static handleECSTasks ($sid, $a_server_id)
 
static saveQuestionResult ($sid, $user_id, $test_id, $question_id, $pass, $solution)
 
static saveQuestion ($sid, $active_id, $question_id, $pass, $solution)
 
static saveQuestionSolution ($sid, $active_id, $question_id, $pass, $solution)
 
static getQuestionSolution ($sid, $active_id, $question_id, $pass)
 
static getTestUserData ($sid, $active_id)
 
static getNrOfQuestionsInPass ($sid, $active_id, $pass)
 
static getPositionOfQuestion ($sid, $active_id, $question_id, $pass)
 
static getPreviousReachedPoints ($sid, $active_id, $question_id, $pass)
 
static saveTempFileAsMediaObject ($sid, $name, $tmp_name)
 
static getMobsOfObject ($sid, $a_type, $a_id)
 
static getStructureObjects ($sid, $ref_id)
 
static getRoles ($sid, $role_type, $id)
 
static importUsers ($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail)
 
static getUsersForContainer ($sid, $ref_id, $attach_roles, $active)
 
static getUsersForRole ($sid, $role_id, $attach_roles, $active)
 
static searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active)
 
static hasNewMail ($sid)
 
static getNIC ($sid)
 
static getExerciseXML ($sid, $ref_id, $attachFileContentsMode)
 
static updateExercise ($sid, $ref_id, $xml)
 
static addExercise ($sid, $ref_id, $xml)
 
static getFileXML ($sid, $ref_id, $attachFileContentsMode)
 
static updateFile ($sid, $ref_id, $xml)
 
static addFile ($sid, $ref_id, $xml)
 
static getObjIdsByRefIds ($sid, $ref_ids)
 
static getUserXML ($sid, $user_ids, $attach_roles)
 
static updateGroup ($sid, $ref_id, $grp_xml)
 
static getIMSManifestXML ($sid, $ref_id)
 
static hasSCORMCertificate ($sid, $ref_id, $usr_id)
 
static copyObject ($sid, $copy_settings_xml)
 copy object in repository $sid session id $settings_xml contains copy wizard settings following ilias_copy_wizard_settings.dtd More...
 
static moveObject ($sid, $ref_id, $target_id)
 move object in repository More...
 
static getTestResults ($sid, $ref_id, $sum_only)
 get results of test More...
 
static removeTestResults ($sid, $ref_id, $a_user_ids)
 Remove test results of user. More...
 
static getCoursesForUser ($sid, $parameters)
 return courses for users depending on the status More...
 
static getGroupsForUser ($sid, $parameters)
 return courses for users depending on the status More...
 
static getPathForRefId ($sid, $ref_id)
 
static searchRoles ($sid, $key, $combination, $role_type)
 
static getInstallationInfoXML ()
 
static getClientInfoXML ($clientid)
 
static buildHTTPPath ()
 builds http path if no client is available More...
 
static getSCORMCompletionStatus ($sid, $usr_id, $a_ref_id)
 
static getUserIdBySid ($sid)
 
static readWebLink ($sid, $ref_id)
 
static createWebLink ($sid, $ref_id, $xml)
 
static updateWebLink ($sid, $ref_id, $xml)
 
static deleteExpiredDualOptInUserObjects ($sid, $usr_id)
 Static method for soap webservice: deleteExpiredDualOptInUserObjects. More...
 
static deleteProgress ($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter)
 Delete progress. More...
 
static getLearningProgressChanges ($sid, $timestamp, $include_ref_ids, $type_filter)
 
static getProgressInfo ($sid, $ref_id, $progress_filter)
 Get learning progress info. More...
 
static exportDataCollectionContent ($sid, $data_collection_id, $table_id=null, $format="xls", $filepath=null)
 Exports a given table of a datacollection into xls. More...
 
static processBackgroundTask ($sid, $task_id)
 Process background task. More...
 

Detailed Description

Definition at line 34 of file inc.soap_functions.php.

Member Function Documentation

◆ addCourse()

static ilSoapFunctions::addCourse (   $sid,
  $target_id,
  $crs_xml 
)
static

Definition at line 120 of file inc.soap_functions.php.

References $target_id.

121  {
122  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
123 
124  $sca = new ilSoapCourseAdministration();
125 
126  return $sca->addCourse($sid,$target_id,$crs_xml);
127  }
$target_id
Definition: goto.php:51

◆ addExercise()

static ilSoapFunctions::addExercise (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 677 of file inc.soap_functions.php.

References $ref_id.

677  {
678  include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
679  $sta = new ilSoapExerciseAdministration();
680  return $sta->addExercise($sid, $ref_id, $xml);
681 
682  }
$ref_id
Definition: sahs_server.php:39

◆ addFile()

static ilSoapFunctions::addFile (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 701 of file inc.soap_functions.php.

References $ref_id.

702  {
703  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
704  $sta = new ilSoapFileAdministration();
705  return $sta->addFile($sid, $ref_id, $xml);
706 
707  }
$ref_id
Definition: sahs_server.php:39

◆ addGroup()

static ilSoapFunctions::addGroup (   $sid,
  $target_id,
  $group_xml 
)
static

Definition at line 396 of file inc.soap_functions.php.

References $target_id.

397  {
398  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
399 
400  $soa = new ilSoapGroupAdministration();
401 
402  return $soa->addGroup($sid,$target_id,$group_xml);
403  }
$target_id
Definition: goto.php:51

◆ addObject()

static ilSoapFunctions::addObject (   $sid,
  $a_target_id,
  $a_xml 
)
static

Definition at line 223 of file inc.soap_functions.php.

224  {
225  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
226 
227  $soa = new ilSoapObjectAdministration();
228 
229  return $soa->addObject($sid,$a_target_id,$a_xml);
230  }

◆ addReference()

static ilSoapFunctions::addReference (   $sid,
  $a_source_id,
  $a_target_id 
)
static

Definition at line 232 of file inc.soap_functions.php.

233  {
234  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
235 
236  $soa = new ilSoapObjectAdministration();
237 
238  return $soa->addReference($sid,$a_source_id,$a_target_id);
239  }

◆ addRole()

static ilSoapFunctions::addRole (   $sid,
  $target_id,
  $obj_xml 
)
static

Definition at line 370 of file inc.soap_functions.php.

References $target_id.

371  {
372  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
373 
374  $soa = new ilSoapRBACAdministration();
375 
376  return $soa->addRole($sid,$target_id,$obj_xml);
377  }
$target_id
Definition: goto.php:51

◆ addRoleFromTemplate()

static ilSoapFunctions::addRoleFromTemplate (   $sid,
  $target_id,
  $obj_xml,
  $template_id 
)
static

Definition at line 378 of file inc.soap_functions.php.

References $target_id, and $template_id.

379  {
380  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
381 
382  $soa = new ilSoapRBACAdministration();
383 
384  return $soa->addRoleFromTemplate($sid,$target_id,$obj_xml,$template_id);
385  }
$template_id
Definition: example_062.php:89
$target_id
Definition: goto.php:51

◆ addUserRoleEntry()

static ilSoapFunctions::addUserRoleEntry (   $sid,
  $user_id,
  $role_id 
)
static

Definition at line 307 of file inc.soap_functions.php.

308  {
309  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
310 
311  $soa = new ilSoapRBACAdministration();
312 
313  return $soa->addUserRoleEntry($sid,$user_id,$role_id);
314  }

◆ assignCourseMember()

static ilSoapFunctions::assignCourseMember (   $sid,
  $course_id,
  $user_id,
  $type 
)
static

Definition at line 136 of file inc.soap_functions.php.

137  {
138  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
139 
140  $sca = new ilSoapCourseAdministration();
141 
142  return $sca->assignCourseMember($sid,$course_id,$user_id,$type);
143  }

◆ assignGroupMember()

static ilSoapFunctions::assignGroupMember (   $sid,
  $group_id,
  $user_id,
  $type 
)
static

Definition at line 422 of file inc.soap_functions.php.

423  {
424  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
425 
426  $sca = new ilSoapGroupAdministration();
427 
428  return $sca->assignGroupMember($sid,$group_id,$user_id,$type);
429  }

◆ buildHTTPPath()

static ilSoapFunctions::buildHTTPPath ( )
static

builds http path if no client is available

Returns
string

Definition at line 875 of file inc.soap_functions.php.

References $_SERVER, $path, ILIAS_MODULE, and ilUtil\removeTrailingPathSeparators().

Referenced by ilSoapInstallationInfoXMLWriter\__buildHeader().

875  {
876  if($_SERVER["HTTPS"] == "on")
877  {
878  $protocol = 'https://';
879  }
880  else
881  {
882  $protocol = 'http://';
883  }
884  $host = $_SERVER['HTTP_HOST'];
885 
886  $path = dirname($_SERVER['REQUEST_URI']);
887 
888  //dirname cuts the last directory from a directory path e.g content/classes return content
889  include_once 'Services/Utilities/classes/class.ilUtil.php';
891 
892  $dirs = explode('/',$module);
893  $uri = $path;
894  foreach($dirs as $dir)
895  {
896  $uri = dirname($uri);
897  }
898  return ilUtil::removeTrailingPathSeparators($protocol.$host.$uri);
899  }
$path
Definition: aliased.php:25
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static removeTrailingPathSeparators($path)
const ILIAS_MODULE
Definition: server.php:14
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copyObject()

static ilSoapFunctions::copyObject (   $sid,
  $copy_settings_xml 
)
static

copy object in repository $sid session id $settings_xml contains copy wizard settings following ilias_copy_wizard_settings.dtd

Definition at line 757 of file inc.soap_functions.php.

757  {
758  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
759 
760  $soa = new ilSoapObjectAdministration();
761 
762  return $soa->copyObject($sid, $copy_settings_xml);
763 
764  }

◆ createWebLink()

static ilSoapFunctions::createWebLink (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 927 of file inc.soap_functions.php.

References $ref_id.

928  {
929  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
930 
931  $swa = new ilSoapWebLinkAdministration();
932  return $swa->createWebLink($sid, $ref_id,$xml);
933  }
Soap methods for adminstrating web links.
$ref_id
Definition: sahs_server.php:39

◆ deleteCourse()

static ilSoapFunctions::deleteCourse (   $sid,
  $course_id 
)
static

Definition at line 128 of file inc.soap_functions.php.

129  {
130  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
131 
132  $sca = new ilSoapCourseAdministration();
133 
134  return $sca->deleteCourse($sid,$course_id);
135  }

◆ deleteExpiredDualOptInUserObjects()

static ilSoapFunctions::deleteExpiredDualOptInUserObjects (   $sid,
  $usr_id 
)
static

Static method for soap webservice: deleteExpiredDualOptInUserObjects.

This service will run in background. The client has not to wait for response.

Parameters
string$sidSession id + client id, separated by ::
integer$usr_idUser id of the actuator
Returns
boolean true or false public

Definition at line 956 of file inc.soap_functions.php.

957  {
958  include_once './webservice/soap/classes/class.ilSoapUtils.php';
959 
960  $sou = new ilSoapUtils();
961  $sou->disableSOAPCheck();
962  $sou->ignoreUserAbort();
963 
964  return $sou->deleteExpiredDualOptInUserObjects($sid, $usr_id);
965  }

◆ deleteObject()

static ilSoapFunctions::deleteObject (   $sid,
  $reference_id 
)
static

Definition at line 241 of file inc.soap_functions.php.

242  {
243  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
244 
245  $soa = new ilSoapObjectAdministration();
246 
247  return $soa->deleteObject($sid,$reference_id);
248  }

◆ deleteProgress()

static ilSoapFunctions::deleteProgress (   $sid,
  $ref_ids,
  $usr_ids,
  $type_filter,
  $progress_filter 
)
static

Delete progress.

Parameters
string$sid
array$ref_ids
array$usr_ids
array$type_filter
Returns
type

Definition at line 1002 of file inc.soap_functions.php.

1003  {
1004  include_once './webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1006  return $sla->deleteProgress($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter);
1007  }
This class handles all DB changes necessary for fraunhofer.

◆ deleteRole()

static ilSoapFunctions::deleteRole (   $sid,
  $role_id 
)
static

Definition at line 361 of file inc.soap_functions.php.

362  {
363  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
364 
365  $soa = new ilSoapRBACAdministration();
366 
367  return $soa->deleteRole($sid,$role_id);
368  }

◆ deleteUser()

static ilSoapFunctions::deleteUser (   $sid,
  $user_id 
)
static

Definition at line 109 of file inc.soap_functions.php.

110  {
111  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
112 
113  $sua = new ilSoapUserAdministration();
114 
115  return $sua->deleteUser($sid,$user_id);
116  }

◆ deleteUserRoleEntry()

static ilSoapFunctions::deleteUserRoleEntry (   $sid,
  $user_id,
  $role_id 
)
static

Definition at line 316 of file inc.soap_functions.php.

317  {
318  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
319 
320  $soa = new ilSoapRBACAdministration();
321 
322  return $soa->deleteUserRoleEntry($sid,$user_id,$role_id);
323  }

◆ distributeMails()

static ilSoapFunctions::distributeMails (   $sid,
  $mail_xml 
)
static

Definition at line 460 of file inc.soap_functions.php.

461  {
462  include_once './webservice/soap/classes/class.ilSoapUtils.php';
463 
464  $sou = new ilSoapUtils();
465  return $sou->distributeMails($sid,$mail_xml);
466 
467  }

◆ excludeCourseMember()

static ilSoapFunctions::excludeCourseMember (   $sid,
  $course_id,
  $user_id 
)
static

Definition at line 153 of file inc.soap_functions.php.

154  {
155  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
156 
157  $sca = new ilSoapCourseAdministration();
158 
159  return $sca->excludeCourseMember($sid,$course_id,$user_id);
160  }

◆ excludeGroupMember()

static ilSoapFunctions::excludeGroupMember (   $sid,
  $group_id,
  $user_id 
)
static

Definition at line 439 of file inc.soap_functions.php.

440  {
441  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
442 
443  $sca = new ilSoapGroupAdministration();
444 
445  return $sca->excludeGroupMember($sid,$group_id,$user_id,$type);
446  }

◆ exportDataCollectionContent()

static ilSoapFunctions::exportDataCollectionContent (   $sid,
  $data_collection_id,
  $table_id = null,
  $format = "xls",
  $filepath = null 
)
static

Exports a given table of a datacollection into xls.

Parameters
string$sid
int$data_collection_id
int$table_id
string$format
string$filepath
Returns
string

Definition at line 1046 of file inc.soap_functions.php.

1046  {
1047  include_once './webservice/soap/classes/class.ilSoapDataCollectionAdministration.php';
1049  return $dcl->exportDataCollectionContent($sid, $data_collection_id, $table_id, $format, $filepath);
1050  }

◆ getClientInfoXML()

static ilSoapFunctions::getClientInfoXML (   $clientid)
static

Definition at line 864 of file inc.soap_functions.php.

864  {
865  include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
866  $roa = new ilSoapAdministration();
867  return $roa->getClientInfoXML($clientid);
868  }

◆ getCoursesForUser()

static ilSoapFunctions::getCoursesForUser (   $sid,
  $parameters 
)
static

return courses for users depending on the status

Parameters
string$sid
string$parametersxmlString following xmlResultSet
Returns
string xmlResultSet

Definition at line 825 of file inc.soap_functions.php.

825  {
826  include_once 'webservice/soap/classes/class.ilSoapCourseAdministration.php';
827  $soc = new ilSoapCourseAdministration();
828  return $soc->getCoursesForUser($sid, $parameters);
829  }

◆ getCourseXML()

static ilSoapFunctions::getCourseXML (   $sid,
  $course_id 
)
static

Definition at line 161 of file inc.soap_functions.php.

162  {
163  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
164 
165  $sca = new ilSoapCourseAdministration();
166 
167  return $sca->getCourseXML($sid,$course_id);
168  }

◆ getExerciseXML()

static ilSoapFunctions::getExerciseXML (   $sid,
  $ref_id,
  $attachFileContentsMode 
)
static

Definition at line 662 of file inc.soap_functions.php.

References $ref_id.

662  {
663  include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
664  $sta = new ilSoapExerciseAdministration();
665  return $sta->getExerciseXML($sid, $ref_id, $attachFileContentsMode);
666 
667  }
$ref_id
Definition: sahs_server.php:39

◆ getFileXML()

static ilSoapFunctions::getFileXML (   $sid,
  $ref_id,
  $attachFileContentsMode 
)
static

Definition at line 684 of file inc.soap_functions.php.

References $ref_id.

685  {
686  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
687  $sta = new ilSoapFileAdministration();
688  return $sta->getFileXML($sid, $ref_id, $attachFileContentsMode);
689 
690  }
$ref_id
Definition: sahs_server.php:39

◆ getGroup()

static ilSoapFunctions::getGroup (   $sid,
  $ref_id 
)
static

Definition at line 413 of file inc.soap_functions.php.

References $ref_id.

414  {
415  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
416 
417  $soa = new ilSoapGroupAdministration();
418 
419  return $soa->getGroup($sid,$ref_id);
420  }
$ref_id
Definition: sahs_server.php:39

◆ getGroupsForUser()

static ilSoapFunctions::getGroupsForUser (   $sid,
  $parameters 
)
static

return courses for users depending on the status

Parameters
string$sid
string$parametersxmlString following xmlResultSet
Returns
string xmlResultSet

Definition at line 838 of file inc.soap_functions.php.

838  {
839  include_once 'webservice/soap/classes/class.ilSoapGroupAdministration.php';
840  $soc = new ilSoapGroupAdministration();
841  return $soc->getGroupsForUser($sid, $parameters);
842  }

◆ getIMSManifestXML()

static ilSoapFunctions::getIMSManifestXML (   $sid,
  $ref_id 
)
static

Definition at line 736 of file inc.soap_functions.php.

References $ref_id.

736  {
737  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
738 
739  $sua = new ilSoapSCORMAdministration();
740 
741  return $sua->getIMSManifestXML($sid,$ref_id);
742  }
$ref_id
Definition: sahs_server.php:39

◆ getInstallationInfoXML()

static ilSoapFunctions::getInstallationInfoXML ( )
static

Definition at line 858 of file inc.soap_functions.php.

858  {
859  include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
860  $roa = new ilSoapAdministration();
861  return $roa->getInstallationInfoXML();
862  }

◆ getLearningProgressChanges()

static ilSoapFunctions::getLearningProgressChanges (   $sid,
  $timestamp,
  $include_ref_ids,
  $type_filter 
)
static

Definition at line 1009 of file inc.soap_functions.php.

References $timestamp.

1010  {
1011  include_once './webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1012 
1014 
1015  return $s->getLearningProgressChanges($sid, $timestamp, $include_ref_ids, $type_filter);
1016  }
This class handles all DB changes necessary for fraunhofer.
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81

◆ getLocalRoles()

static ilSoapFunctions::getLocalRoles (   $sid,
  $ref_id 
)
static

Definition at line 343 of file inc.soap_functions.php.

References $ref_id.

344  {
345  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
346 
347  $soa = new ilSoapRBACAdministration();
348 
349  return $soa->getLocalRoles($sid,$ref_id);
350  }
$ref_id
Definition: sahs_server.php:39

◆ getMobsOfObject()

static ilSoapFunctions::getMobsOfObject (   $sid,
  $a_type,
  $a_id 
)
static

Definition at line 583 of file inc.soap_functions.php.

References $a_type.

584  {
585  include_once './webservice/soap/classes/class.ilSoapUtils.php';
586 
587  $sou = new ilSoapUtils();
588  $sou->disableSOAPCheck();
589 
590  return $sou->getMobsOfObject($sid, $a_type, $a_id);
591  }
$a_type
Definition: workflow.php:93

◆ getNIC()

static ilSoapFunctions::getNIC (   $sid)
static

Definition at line 656 of file inc.soap_functions.php.

656  {
657  include_once './webservice/soap/classes/class.ilSoapAdministration.php';
658  $soa = new ilSoapAdministration();
659  return $soa->getNIC($sid);
660  }

◆ getNrOfQuestionsInPass()

static ilSoapFunctions::getNrOfQuestionsInPass (   $sid,
  $active_id,
  $pass 
)
static

Definition at line 546 of file inc.soap_functions.php.

References $pass.

547  {
548  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
549 
550  $sass = new ilSoapTestAdministration();
551 
552  return $sass->getNrOfQuestionsInPass($sid, $active_id, $pass);
553  }

◆ getObjectByReference()

static ilSoapFunctions::getObjectByReference (   $sid,
  $a_ref_id,
  $user_id 
)
static

Definition at line 205 of file inc.soap_functions.php.

206  {
207  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
208 
209  $soa = new ilSoapObjectAdministration();
210 
211  return $soa->getObjectByReference($sid,$a_ref_id,$user_id);
212  }

◆ getObjectsByTitle()

static ilSoapFunctions::getObjectsByTitle (   $sid,
  $a_title,
  $user_id 
)
static

Definition at line 214 of file inc.soap_functions.php.

215  {
216  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
217 
218  $soa = new ilSoapObjectAdministration();
219 
220  return $soa->getObjectsByTitle($sid,$a_title,$user_id);
221  }

◆ getObjectTreeOperations()

static ilSoapFunctions::getObjectTreeOperations (   $sid,
  $ref_id,
  $user_id 
)
static

Definition at line 387 of file inc.soap_functions.php.

References $ref_id.

388  {
389  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
390 
391  $soa = new ilSoapRBACAdministration();
392 
393  return $soa->getObjectTreeOperations($sid,$ref_id,$user_id);
394  }
$ref_id
Definition: sahs_server.php:39

◆ getObjIdByImportId()

static ilSoapFunctions::getObjIdByImportId (   $sid,
  $import_id 
)
static

Definition at line 178 of file inc.soap_functions.php.

179  {
180  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
181 
182  $soa = new ilSoapObjectAdministration();
183 
184  return $soa->getObjIdByImportId($sid,$import_id);
185  }

◆ getObjIdsByRefIds()

static ilSoapFunctions::getObjIdsByRefIds (   $sid,
  $ref_ids 
)
static

Definition at line 709 of file inc.soap_functions.php.

710  {
711  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
712 
713  $soa = new ilSoapObjectAdministration();
714 
715  return $soa->getObjIdsByRefIds($sid, $ref_ids);
716  }

◆ getOperations()

static ilSoapFunctions::getOperations (   $sid)
static

Definition at line 297 of file inc.soap_functions.php.

298  {
299  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
300 
301  $soa = new ilSoapRBACAdministration();
302 
303  return $soa->getOperations($sid);
304  }

◆ getPathForRefId()

static ilSoapFunctions::getPathForRefId (   $sid,
  $ref_id 
)
static

Definition at line 844 of file inc.soap_functions.php.

References $ref_id.

844  {
845  include_once 'webservice/soap/classes/class.ilSoapObjectAdministration.php';
846  $soa = new ilSoapObjectAdministration();
847  return $soa->getPathForRefId($sid, $ref_id);
848  }
$ref_id
Definition: sahs_server.php:39

◆ getPositionOfQuestion()

static ilSoapFunctions::getPositionOfQuestion (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

Definition at line 555 of file inc.soap_functions.php.

References $pass.

556  {
557  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
558 
559  $sass = new ilSoapTestAdministration();
560 
561  return $sass->getPositionOfQuestion($sid, $active_id, $question_id, $pass);
562  }

◆ getPreviousReachedPoints()

static ilSoapFunctions::getPreviousReachedPoints (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

Definition at line 564 of file inc.soap_functions.php.

References $pass.

565  {
566  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
567 
568  $sass = new ilSoapTestAdministration();
569 
570  return $sass->getPreviousReachedPoints($sid, $active_id, $question_id, $pass);
571  }

◆ getProgressInfo()

static ilSoapFunctions::getProgressInfo (   $sid,
  $ref_id,
  $progress_filter 
)
static

Get learning progress info.

Parameters
type$sid
type$ref_id
type$progress_filter
Returns
type

Definition at line 1027 of file inc.soap_functions.php.

References $ref_id.

1028  {
1029  include_once './webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1031  return $sla->getProgressInfo($sid, $ref_id, $progress_filter);
1032 
1033  }
This class handles all DB changes necessary for fraunhofer.
$ref_id
Definition: sahs_server.php:39

◆ getQuestionSolution()

static ilSoapFunctions::getQuestionSolution (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

Definition at line 528 of file inc.soap_functions.php.

References $pass.

529  {
530  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
531 
532  $sass = new ilSoapTestAdministration();
533 
534  return $sass->getQuestionSolution($sid,$active_id,$question_id,$pass);
535  }

◆ getRefIdsByImportId()

static ilSoapFunctions::getRefIdsByImportId (   $sid,
  $import_id 
)
static

Definition at line 187 of file inc.soap_functions.php.

188  {
189  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
190 
191  $soa = new ilSoapObjectAdministration();
192 
193  return $soa->getRefIdsByImportId($sid,$import_id);
194  }

◆ getRefIdsByObjId()

static ilSoapFunctions::getRefIdsByObjId (   $sid,
  $object_id 
)
static

Definition at line 195 of file inc.soap_functions.php.

196  {
197  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
198 
199  $soa = new ilSoapObjectAdministration();
200 
201  return $soa->getRefIdsByObjId($sid,$object_id);
202  }

◆ getRoles()

static ilSoapFunctions::getRoles (   $sid,
  $role_type,
  $id 
)
static

Definition at line 601 of file inc.soap_functions.php.

602  {
603  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
604 
605  $soa = new ilSoapRBACAdministration();
606 
607  return $soa->getRoles($sid, $role_type, $id);
608  }

◆ getSCORMCompletionStatus()

static ilSoapFunctions::getSCORMCompletionStatus (   $sid,
  $usr_id,
  $a_ref_id 
)
static

Definition at line 901 of file inc.soap_functions.php.

902  {
903  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
904 
905  $sua = new ilSoapSCORMAdministration();
906 
907  return $sua->getSCORMCompletionStatus($sid, $usr_id, $a_ref_id);
908  }

◆ getStructureObjects()

static ilSoapFunctions::getStructureObjects (   $sid,
  $ref_id 
)
static

Definition at line 593 of file inc.soap_functions.php.

References $ref_id.

593  {
594  include_once './webservice/soap/classes/class.ilSoapStructureObjectAdministration.php';
595 
597 
598  return $sca->getStructureObjects ($sid, $ref_id);
599  }
$ref_id
Definition: sahs_server.php:39

◆ getTestResults()

static ilSoapFunctions::getTestResults (   $sid,
  $ref_id,
  $sum_only 
)
static

get results of test

Parameters
string$sid
int$ref_id
boolean$sum_only
Returns
XMLResultSet with columns firstname, lastname, matriculation, maximum points, received points

Definition at line 792 of file inc.soap_functions.php.

References $ref_id.

792  {
793  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
794 
795  $soa = new ilSoapTestAdministration();
796 
797  return $soa->getTestResults($sid, $ref_id,$sum_only);
798 
799  }
$ref_id
Definition: sahs_server.php:39

◆ getTestUserData()

static ilSoapFunctions::getTestUserData (   $sid,
  $active_id 
)
static

Definition at line 537 of file inc.soap_functions.php.

538  {
539  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
540 
541  $sass = new ilSoapTestAdministration();
542 
543  return $sass->getTestUserData($sid,$active_id);
544  }

◆ getTreeChilds()

static ilSoapFunctions::getTreeChilds (   $sid,
  $ref_id,
  $types,
  $user_id 
)
static

Definition at line 276 of file inc.soap_functions.php.

References $ref_id.

277  {
278  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
279 
280  $soa = new ilSoapObjectAdministration();
281 
282  return $soa->getTreeChilds($sid,$ref_id,$types,$user_id);
283  }
$ref_id
Definition: sahs_server.php:39

◆ getUser()

static ilSoapFunctions::getUser (   $sid,
  $user_id 
)
static

Definition at line 96 of file inc.soap_functions.php.

97  {
98  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
99 
100  $sua = new ilSoapUserAdministration();
101 
102  return $sua->getUser($sid,$user_id);
103  }

◆ getUserIdBySid()

static ilSoapFunctions::getUserIdBySid (   $sid)
static

Definition at line 910 of file inc.soap_functions.php.

911  {
912  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
913 
914  $sua = new ilSoapUserAdministration();
915 
916  return $sua->getUserIdBySid($sid);
917  }

◆ getUserRoles()

static ilSoapFunctions::getUserRoles (   $sid,
  $user_id 
)
static

Definition at line 352 of file inc.soap_functions.php.

353  {
354  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
355 
356  $soa = new ilSoapRBACAdministration();
357 
358  return $soa->getUserRoles($sid,$user_id);
359  }

◆ getUsersForContainer()

static ilSoapFunctions::getUsersForContainer (   $sid,
  $ref_id,
  $attach_roles,
  $active 
)
static

Definition at line 619 of file inc.soap_functions.php.

References $ref_id.

620  {
621  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
622 
623  $sua = new ilSoapUserAdministration();
624 
625  return $sua->getUsersForContainer($sid, $ref_id, $attach_roles, $active);
626  }
$ref_id
Definition: sahs_server.php:39

◆ getUsersForRole()

static ilSoapFunctions::getUsersForRole (   $sid,
  $role_id,
  $attach_roles,
  $active 
)
static

Definition at line 628 of file inc.soap_functions.php.

629  {
630  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
631 
632  $sua = new ilSoapUserAdministration();
633 
634  return $sua->getUserForRole($sid, $role_id, $attach_roles, $active);
635  }

◆ getUserXML()

static ilSoapFunctions::getUserXML (   $sid,
  $user_ids,
  $attach_roles 
)
static

Definition at line 718 of file inc.soap_functions.php.

719  {
720  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
721 
722  $sua = new ilSoapUserAdministration();
723 
724  return $sua->getUserXML($sid, $user_ids, $attach_roles);
725  }

◆ getXMLTree()

static ilSoapFunctions::getXMLTree (   $sid,
  $ref_id,
  $types,
  $user_id 
)
static

Definition at line 285 of file inc.soap_functions.php.

References $ref_id.

286  {
287  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
288 
289  $soa = new ilSoapObjectAdministration();
290 
291  return $soa->getXMLTree($sid,$ref_id,$types,$user_id);
292  }
$ref_id
Definition: sahs_server.php:39

◆ grantPermissions()

static ilSoapFunctions::grantPermissions (   $sid,
  $ref_id,
  $role_id,
  $permissions 
)
static

Definition at line 334 of file inc.soap_functions.php.

References $ref_id.

335  {
336  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
337 
338  $soa = new ilSoapRBACAdministration();
339 
340  return $soa->grantPermissions($sid,$ref_id,$role_id,$permissions);
341  }
$ref_id
Definition: sahs_server.php:39

◆ groupExists()

static ilSoapFunctions::groupExists (   $sid,
  $title 
)
static

Definition at line 405 of file inc.soap_functions.php.

References $title.

406  {
407  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
408 
409  $soa = new ilSoapGroupAdministration();
410 
411  return $soa->groupExists($sid,$title);
412  }

◆ handleECSTasks()

static ilSoapFunctions::handleECSTasks (   $sid,
  $a_server_id 
)
static

Definition at line 490 of file inc.soap_functions.php.

Referenced by ilECSTaskScheduler\initNextExecution().

491  {
492  include_once './webservice/soap/classes/class.ilSoapUtils.php';
493 
494  $sou = new ilSoapUtils();
495  $sou->disableSoapCheck();
496  $sou->ignoreUserAbort();
497 
498  return $sou->handleECSTasks($sid,$a_server_id);
499  }
+ Here is the caller graph for this function:

◆ hasNewMail()

static ilSoapFunctions::hasNewMail (   $sid)
static

Definition at line 647 of file inc.soap_functions.php.

648  {
649  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
650 
651  $sua = new ilSoapUserAdministration();
652 
653  return $sua->hasNewMail($sid);
654  }

◆ hasSCORMCertificate()

static ilSoapFunctions::hasSCORMCertificate (   $sid,
  $ref_id,
  $usr_id 
)
static

Definition at line 744 of file inc.soap_functions.php.

References $ref_id.

744  {
745  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
746 
747  $sua = new ilSoapSCORMAdministration();
748 
749  return $sua->hasSCORMCertificate($sid,$ref_id,$usr_id);
750  }
$ref_id
Definition: sahs_server.php:39

◆ ilClone()

static ilSoapFunctions::ilClone (   $sid,
  $copy_identifier 
)
static

Definition at line 469 of file inc.soap_functions.php.

Referenced by ilSoapUtils\callNextNode(), and ilContainer\cloneAllObject().

470  {
471  include_once './webservice/soap/classes/class.ilSoapUtils.php';
472 
473  $sou = new ilSoapUtils();
474  $sou->disableSOAPCheck();
475  $sou->ignoreUserAbort();
476 
477  return $sou->ilClone($sid,$copy_identifier);
478  }
+ Here is the caller graph for this function:

◆ ilCloneDependencies()

static ilSoapFunctions::ilCloneDependencies (   $sid,
  $copy_identifier 
)
static

Definition at line 479 of file inc.soap_functions.php.

Referenced by ilSoapUtils\callNextDependency().

480  {
481  include_once './webservice/soap/classes/class.ilSoapUtils.php';
482 
483  $sou = new ilSoapUtils();
484  $sou->disableSOAPCheck();
485  $sou->ignoreUserAbort();
486 
487  return $sou->ilCloneDependencies($sid,$copy_identifier);
488  }
+ Here is the caller graph for this function:

◆ importUsers()

static ilSoapFunctions::importUsers (   $sid,
  $folder_id,
  $usr_xml,
  $conflict_rule,
  $send_account_mail 
)
static

Definition at line 610 of file inc.soap_functions.php.

611  {
612  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
613 
614  $sua = new ilSoapUserAdministration();
615 
616  return $sua->importUsers($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail);
617  }

◆ isAssignedToCourse()

static ilSoapFunctions::isAssignedToCourse (   $sid,
  $course_id,
  $user_id 
)
static

Definition at line 144 of file inc.soap_functions.php.

145  {
146  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
147 
148  $sca = new ilSoapCourseAdministration();
149 
150  return $sca->isAssignedToCourse($sid,$course_id,$user_id);
151  }

◆ isAssignedToGroup()

static ilSoapFunctions::isAssignedToGroup (   $sid,
  $group_id,
  $user_id 
)
static

Definition at line 430 of file inc.soap_functions.php.

431  {
432  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
433 
434  $sca = new ilSoapGroupAdministration();
435 
436  return $sca->isAssignedToGroup($sid,$group_id,$user_id);
437  }

◆ login()

static ilSoapFunctions::login (   $client,
  $username,
  $password 
)
static

Definition at line 39 of file inc.soap_functions.php.

References $client.

40  {
41  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
42 
43  $sua = new ilSoapUserAdministration();
44 
45  return $sua->login($client,$username,$password);
46  }
$client

◆ loginCAS()

static ilSoapFunctions::loginCAS (   $client,
  $PT,
  $user 
)
static

Definition at line 48 of file inc.soap_functions.php.

References $client.

49  {
50  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
51 
52  $sua = new ilSoapUserAdministration();
53 
54  return $sua->loginCAS($client, $PT, $user);
55  }
$client

◆ loginLDAP()

static ilSoapFunctions::loginLDAP (   $client,
  $username,
  $password 
)
static

Definition at line 57 of file inc.soap_functions.php.

References $client.

58  {
59  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
60 
61  $sua = new ilSoapUserAdministration();
62 
63  return $sua->loginLDAP($client, $username, $password);
64  }
$client

◆ loginStudipUser()

static ilSoapFunctions::loginStudipUser (   $sid,
  $user_id 
)
static
Deprecated:

Definition at line 69 of file inc.soap_functions.php.

70  {
71  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
72 
73  $sua = new ilSoapUserAdministration();
74 
75  return $sua->loginStudipUser($sid,$user_id);
76  }

◆ logout()

static ilSoapFunctions::logout (   $sid)
static

Definition at line 79 of file inc.soap_functions.php.

80  {
81  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
82 
83  $sua = new ilSoapUserAdministration();
84 
85  return $sua->logout($sid);
86  }

◆ lookupUser()

static ilSoapFunctions::lookupUser (   $sid,
  $user_name 
)
static

Definition at line 87 of file inc.soap_functions.php.

88  {
89  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
90 
91  $sua = new ilSoapUserAdministration();
92 
93  return $sua->lookupUser($sid,$user_name);
94  }

◆ moveObject()

static ilSoapFunctions::moveObject (   $sid,
  $ref_id,
  $target_id 
)
static

move object in repository

Parameters
$sidsession id
$refidsource iod
$targettarget ref id
Returns
int refid of new location, -1 if not successful

Definition at line 772 of file inc.soap_functions.php.

References $ref_id, and $target_id.

773  {
774  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
775 
776  $soa = new ilSoapObjectAdministration();
777 
778  return $soa->moveObject($sid, $ref_id, $target_id);
779  }
$target_id
Definition: goto.php:51
$ref_id
Definition: sahs_server.php:39

◆ processBackgroundTask()

static ilSoapFunctions::processBackgroundTask (   $sid,
  $task_id 
)
static

Process background task.

Parameters
string$sid
int$task_id
Returns
string

Definition at line 1060 of file inc.soap_functions.php.

1060  {
1061  include_once './webservice/soap/classes/class.ilSoapBackgroundTaskAdministration.php';
1063  return $bg->processBackgroundTask($sid, $task_id);
1064  }

◆ readWebLink()

static ilSoapFunctions::readWebLink (   $sid,
  $ref_id 
)
static

Definition at line 919 of file inc.soap_functions.php.

References $ref_id.

920  {
921  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
922 
923  $swa = new ilSoapWebLinkAdministration();
924  return $swa->readWebLink($sid, $ref_id);
925  }
Soap methods for adminstrating web links.
$ref_id
Definition: sahs_server.php:39

◆ removeFromSystemByImportId()

static ilSoapFunctions::removeFromSystemByImportId (   $sid,
  $import_id 
)
static

Definition at line 250 of file inc.soap_functions.php.

251  {
252  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
253 
254  $soa = new ilSoapObjectAdministration();
255 
256  return $soa->removeFromSystemByImportId($sid,$import_id);
257  }

◆ removeTestResults()

static ilSoapFunctions::removeTestResults (   $sid,
  $ref_id,
  $a_user_ids 
)
static

Remove test results of user.

Parameters
string$sid
int$ref_id
arrayuser ids
Returns
bool

Definition at line 810 of file inc.soap_functions.php.

References $ref_id.

811  {
812  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
813 
814  $soa = new ilSoapTestAdministration();
815  return $soa->removeTestResults($sid, $ref_id,$a_user_ids);
816  }
$ref_id
Definition: sahs_server.php:39

◆ revokePermissions()

static ilSoapFunctions::revokePermissions (   $sid,
  $ref_id,
  $role_id 
)
static

Definition at line 325 of file inc.soap_functions.php.

References $ref_id.

326  {
327  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
328 
329  $soa = new ilSoapRBACAdministration();
330 
331  return $soa->revokePermissions($sid,$ref_id,$role_id);
332  }
$ref_id
Definition: sahs_server.php:39

◆ saveQuestion()

static ilSoapFunctions::saveQuestion (   $sid,
  $active_id,
  $question_id,
  $pass,
  $solution 
)
static

Definition at line 510 of file inc.soap_functions.php.

References $pass.

511  {
512  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
513 
514  $sass = new ilSoapTestAdministration();
515 
516  return $sass->saveQuestion($sid,$active_id,$question_id,$pass,$solution);
517  }

◆ saveQuestionResult()

static ilSoapFunctions::saveQuestionResult (   $sid,
  $user_id,
  $test_id,
  $question_id,
  $pass,
  $solution 
)
static

Definition at line 501 of file inc.soap_functions.php.

References $pass.

502  {
503  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
504 
505  $sass = new ilSoapTestAdministration();
506 
507  return $sass->saveQuestionResult($sid,$user_id,$test_id,$question_id,$pass,$solution);
508  }

◆ saveQuestionSolution()

static ilSoapFunctions::saveQuestionSolution (   $sid,
  $active_id,
  $question_id,
  $pass,
  $solution 
)
static

Definition at line 519 of file inc.soap_functions.php.

References $pass.

520  {
521  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
522 
523  $sass = new ilSoapTestAdministration();
524 
525  return $sass->saveQuestionSolution($sid,$active_id,$question_id,$pass,$solution);
526  }

◆ saveTempFileAsMediaObject()

static ilSoapFunctions::saveTempFileAsMediaObject (   $sid,
  $name,
  $tmp_name 
)
static

Definition at line 573 of file inc.soap_functions.php.

574  {
575  include_once './webservice/soap/classes/class.ilSoapUtils.php';
576 
577  $sou = new ilSoapUtils();
578  $sou->disableSOAPCheck();
579 
580  return $sou->saveTempFileAsMediaObject($sid, $name, $tmp_name);
581  }

◆ searchObjects()

static ilSoapFunctions::searchObjects (   $sid,
  $types,
  $key,
  $combination,
  $user_id 
)
static

Definition at line 267 of file inc.soap_functions.php.

268  {
269  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
270 
271  $soa = new ilSoapObjectAdministration();
272 
273  return $soa->searchObjects($sid,$types,$key,$combination,$user_id);
274  }

◆ searchRoles()

static ilSoapFunctions::searchRoles (   $sid,
  $key,
  $combination,
  $role_type 
)
static

Definition at line 850 of file inc.soap_functions.php.

851  {
852  include_once 'webservice/soap/classes/class.ilSoapRBACAdministration.php';
853  $roa = new ilSoapRBACAdministration();
854  return $roa->searchRoles($sid, $key, $combination, $role_type);
855  }

◆ searchUser()

static ilSoapFunctions::searchUser (   $sid,
  $a_keyfields,
  $query_operator,
  $a_keyvalues,
  $attach_roles,
  $active 
)
static

Definition at line 638 of file inc.soap_functions.php.

638  {
639  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
640 
641  $sua = new ilSoapUserAdministration();
642 
643  return $sua->searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active);
644 
645  }

◆ sendMail()

static ilSoapFunctions::sendMail (   $sid,
  $to,
  $cc,
  $bcc,
  $sender,
  $subject,
  $message,
  $attach 
)
static

Definition at line 449 of file inc.soap_functions.php.

450  {
451  include_once './webservice/soap/classes/class.ilSoapUtils.php';
452 
453  $sou = new ilSoapUtils();
454  $sou->disableSOAPCheck();
455  $sou->ignoreUserAbort();
456 
457  return $sou->sendMail($sid,$to,$cc,$bcc,$sender,$subject,$message,$attach);
458  }

◆ updateCourse()

static ilSoapFunctions::updateCourse (   $sid,
  $course_id,
  $xml 
)
static

Definition at line 169 of file inc.soap_functions.php.

170  {
171  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
172 
173  $sca = new ilSoapCourseAdministration();
174 
175  return $sca->updateCourse($sid,$course_id,$xml);
176  }

◆ updateExercise()

static ilSoapFunctions::updateExercise (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 670 of file inc.soap_functions.php.

References $ref_id.

670  {
671  include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
672  $sta = new ilSoapExerciseAdministration();
673  return $sta->updateExercise($sid, $ref_id, $xml);
674 
675  }
$ref_id
Definition: sahs_server.php:39

◆ updateFile()

static ilSoapFunctions::updateFile (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 693 of file inc.soap_functions.php.

References $ref_id.

694  {
695  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
696  $sta = new ilSoapFileAdministration();
697  return $sta->updateFile($sid, $ref_id, $xml);
698 
699  }
$ref_id
Definition: sahs_server.php:39

◆ updateGroup()

static ilSoapFunctions::updateGroup (   $sid,
  $ref_id,
  $grp_xml 
)
static

Definition at line 727 of file inc.soap_functions.php.

References $ref_id.

728  {
729  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
730 
731  $sua = new ilSoapGroupAdministration();
732 
733  return $sua->updateGroup($sid,$ref_id, $grp_xml);
734  }
$ref_id
Definition: sahs_server.php:39

◆ updateObjects()

static ilSoapFunctions::updateObjects (   $sid,
  $obj_xml 
)
static

Definition at line 259 of file inc.soap_functions.php.

260  {
261  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
262 
263  $soa = new ilSoapObjectAdministration();
264 
265  return $soa->updateObjects($sid,$obj_xml);
266  }

◆ updateWebLink()

static ilSoapFunctions::updateWebLink (   $sid,
  $ref_id,
  $xml 
)
static

Definition at line 935 of file inc.soap_functions.php.

References $ref_id.

936  {
937  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
938 
939  $swa = new ilSoapWebLinkAdministration();
940  return $swa->updateWebLink($sid, $ref_id,$xml);
941  }
Soap methods for adminstrating web links.
$ref_id
Definition: sahs_server.php:39

The documentation for this class was generated from the following file: