ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSoapFunctions Class Reference
+ Collaboration diagram for ilSoapFunctions:

Public Member Functions

 __call ($name, $arguments)
 

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 startBackgroundTaskWorker ($sid)
 
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...
 
static addDesktopItems ($sid, $user_id, $reference_ids)
 Add desktop items for user. More...
 
static removeDesktopItems ($sid, $user_id, $reference_ids)
 Add desktop items for user. More...
 

Detailed Description

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

Member Function Documentation

◆ __call()

ilSoapFunctions::__call (   $name,
  $arguments 
)
Parameters
string$name
array$arguments
Returns
mixed
Exceptions
SoapFault

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

References $_GET, $DIC, $name, ilContext\CONTEXT_SOAP, ilContext\CONTEXT_SOAP_NO_AUTH, ilContext\init(), and ilInitialisation\initILIAS().

1125  {
1126  // SoapHookPlugins need the client-ID submitted
1127  if (!isset($_GET['client_id'])) {
1128  throw new SoapFault('SOAP-ENV:Server', "Function '{$name}' does not exist");
1129  }
1130  // Note: We need to bootstrap ILIAS in order to get $ilPluginAdmin and load the soap plugins.
1131  // We MUST use a context that does not handle authentication at this point (session is checked by SOAP).
1135  global $DIC;
1136  $soapHook = new ilSoapHook($DIC['ilPluginAdmin']);
1137  // Method name may be invoked with namespace e.g. 'myMethod' vs 'ns:myMethod'
1138  if (strpos($name, ':') !== false) {
1139  list($_, $name) = explode(':', $name);
1140  }
1141  $method = $soapHook->getMethodByName($name);
1142  if ($method) {
1143  try {
1144  return $method->execute($arguments);
1145  } catch (ilSoapPluginException $e) {
1146  throw new SoapFault('SOAP-ENV:Server', $e->getMessage());
1147  }
1148  }
1149  throw new SoapFault('SOAP-ENV:Server', "Function '{$name}' does not exist");
1150  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
const CONTEXT_SOAP_NO_AUTH
static initILIAS()
ilias initialisation
Class ilSoapHook.
static init($a_type)
Init context by type.
const CONTEXT_SOAP
Class ilSoapPluginException.
+ Here is the call graph for this function:

◆ addCourse()

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

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

References $target_id.

126  {
127  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
128 
129  $sca = new ilSoapCourseAdministration();
130 
131  return $sca->addCourse($sid, $target_id, $crs_xml);
132  }
$target_id
Definition: goto.php:49

◆ addDesktopItems()

static ilSoapFunctions::addDesktopItems (   $sid,
  $user_id,
  $reference_ids 
)
static

Add desktop items for user.

Parameters
$sid
$user_id
$reference_ids
Returns
int

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

1097  {
1098  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
1099  $obj_handler = new ilSoapObjectAdministration();
1100  return $obj_handler->addDesktopItems($sid, $user_id, $reference_ids);
1101  }

◆ addExercise()

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

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

References $xml.

684  {
685  include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
686  $sta = new ilSoapExerciseAdministration();
687  return $sta->addExercise($sid, $ref_id, $xml);
688  }

◆ addFile()

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

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

References $xml.

706  {
707  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
708  $sta = new ilSoapFileAdministration();
709  return $sta->addFile($sid, $ref_id, $xml);
710  }

◆ addGroup()

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

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

References $target_id.

402  {
403  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
404 
405  $soa = new ilSoapGroupAdministration();
406 
407  return $soa->addGroup($sid, $target_id, $group_xml);
408  }
$target_id
Definition: goto.php:49

◆ addObject()

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

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

229  {
230  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
231 
232  $soa = new ilSoapObjectAdministration();
233 
234  return $soa->addObject($sid, $a_target_id, $a_xml);
235  }

◆ addReference()

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

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

238  {
239  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
240 
241  $soa = new ilSoapObjectAdministration();
242 
243  return $soa->addReference($sid, $a_source_id, $a_target_id);
244  }

◆ addRole()

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

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

References $target_id.

376  {
377  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
378 
379  $soa = new ilSoapRBACAdministration();
380 
381  return $soa->addRole($sid, $target_id, $obj_xml);
382  }
$target_id
Definition: goto.php:49

◆ addRoleFromTemplate()

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

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

References $target_id, and $template_id.

384  {
385  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
386 
387  $soa = new ilSoapRBACAdministration();
388 
389  return $soa->addRoleFromTemplate($sid, $target_id, $obj_xml, $template_id);
390  }
$target_id
Definition: goto.php:49
$template_id

◆ addUserRoleEntry()

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

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

313  {
314  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
315 
316  $soa = new ilSoapRBACAdministration();
317 
318  return $soa->addUserRoleEntry($sid, $user_id, $role_id);
319  }

◆ assignCourseMember()

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

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

References $type.

142  {
143  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
144 
145  $sca = new ilSoapCourseAdministration();
146 
147  return $sca->assignCourseMember($sid, $course_id, $user_id, $type);
148  }
$type

◆ assignGroupMember()

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

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

References $type.

428  {
429  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
430 
431  $sca = new ilSoapGroupAdministration();
432 
433  return $sca->assignGroupMember($sid, $group_id, $user_id, $type);
434  }
$type

◆ buildHTTPPath()

static ilSoapFunctions::buildHTTPPath ( )
static

builds http path if no client is available

Returns
string

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

References $_SERVER, $module, $path, GuzzleHttp\Psr7\$protocol, ILIAS_MODULE, and ilUtil\removeTrailingPathSeparators().

Referenced by ilSoapInstallationInfoXMLWriter\__buildHeader().

900  {
901  if ($_SERVER["HTTPS"] == "on") {
902  $protocol = 'https://';
903  } else {
904  $protocol = 'http://';
905  }
906  $host = $_SERVER['HTTP_HOST'];
907 
908  $path = dirname($_SERVER['REQUEST_URI']);
909 
910  //dirname cuts the last directory from a directory path e.g content/classes return content
911  include_once 'Services/Utilities/classes/class.ilUtil.php';
913 
914  $dirs = explode('/', $module);
915  $uri = $path;
916  foreach ($dirs as $dir) {
917  $uri = dirname($uri);
918  }
919  return ilUtil::removeTrailingPathSeparators($protocol . $host . $uri);
920  }
$path
Definition: aliased.php:25
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
if($modEnd===false) $module
Definition: module.php:59
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 762 of file inc.soap_functions.php.

763  {
764  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
765 
766  $soa = new ilSoapObjectAdministration();
767 
768  return $soa->copyObject($sid, $copy_settings_xml);
769  }

◆ createWebLink()

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

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

References $xml.

949  {
950  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
951 
952  $swa = new ilSoapWebLinkAdministration();
953  return $swa->createWebLink($sid, $ref_id, $xml);
954  }
Soap methods for adminstrating web links.

◆ deleteCourse()

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

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

134  {
135  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
136 
137  $sca = new ilSoapCourseAdministration();
138 
139  return $sca->deleteCourse($sid, $course_id);
140  }

◆ 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 977 of file inc.soap_functions.php.

978  {
979  include_once './webservice/soap/classes/class.ilSoapUtils.php';
980 
981  $sou = new ilSoapUtils();
982  $sou->disableSOAPCheck();
983  $sou->ignoreUserAbort();
984 
985  return $sou->deleteExpiredDualOptInUserObjects($sid, $usr_id);
986  }

◆ deleteObject()

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

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

247  {
248  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
249 
250  $soa = new ilSoapObjectAdministration();
251 
252  return $soa->deleteObject($sid, $reference_id);
253  }

◆ 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 1023 of file inc.soap_functions.php.

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

◆ deleteRole()

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

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

367  {
368  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
369 
370  $soa = new ilSoapRBACAdministration();
371 
372  return $soa->deleteRole($sid, $role_id);
373  }

◆ deleteUser()

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

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

115  {
116  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
117 
118  $sua = new ilSoapUserAdministration();
119 
120  return $sua->deleteUser($sid, $user_id);
121  }

◆ deleteUserRoleEntry()

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

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

322  {
323  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
324 
325  $soa = new ilSoapRBACAdministration();
326 
327  return $soa->deleteUserRoleEntry($sid, $user_id, $role_id);
328  }

◆ distributeMails()

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

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

466  {
467  include_once './webservice/soap/classes/class.ilSoapUtils.php';
468 
469  $sou = new ilSoapUtils();
470  return $sou->distributeMails($sid, $mail_xml);
471  }

◆ excludeCourseMember()

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

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

159  {
160  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
161 
162  $sca = new ilSoapCourseAdministration();
163 
164  return $sca->excludeCourseMember($sid, $course_id, $user_id);
165  }

◆ excludeGroupMember()

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

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

References $type.

445  {
446  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
447 
448  $sca = new ilSoapGroupAdministration();
449 
450  return $sca->excludeGroupMember($sid, $group_id, $user_id, $type);
451  }
$type

◆ 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 1066 of file inc.soap_functions.php.

References $format.

1067  {
1068  include_once './webservice/soap/classes/class.ilSoapDataCollectionAdministration.php';
1070  return $dcl->exportDataCollectionContent($sid, $data_collection_id, $table_id, $format, $filepath);
1071  }
$format
Definition: metadata.php:141

◆ getClientInfoXML()

static ilSoapFunctions::getClientInfoXML (   $clientid)
static

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

888  {
889  include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
890  $roa = new ilSoapAdministration();
891  return $roa->getClientInfoXML($clientid);
892  }

◆ 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 844 of file inc.soap_functions.php.

845  {
846  include_once 'webservice/soap/classes/class.ilSoapCourseAdministration.php';
847  $soc = new ilSoapCourseAdministration();
848  return $soc->getCoursesForUser($sid, $parameters);
849  }

◆ getCourseXML()

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

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

167  {
168  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
169 
170  $sca = new ilSoapCourseAdministration();
171 
172  return $sca->getCourseXML($sid, $course_id);
173  }

◆ getExerciseXML()

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

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

669  {
670  include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
671  $sta = new ilSoapExerciseAdministration();
672  return $sta->getExerciseXML($sid, $ref_id, $attachFileContentsMode);
673  }

◆ getFileXML()

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

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

691  {
692  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
693  $sta = new ilSoapFileAdministration();
694  return $sta->getFileXML($sid, $ref_id, $attachFileContentsMode);
695  }

◆ getGroup()

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

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

419  {
420  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
421 
422  $soa = new ilSoapGroupAdministration();
423 
424  return $soa->getGroup($sid, $ref_id);
425  }

◆ 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 858 of file inc.soap_functions.php.

859  {
860  include_once 'webservice/soap/classes/class.ilSoapGroupAdministration.php';
861  $soc = new ilSoapGroupAdministration();
862  return $soc->getGroupsForUser($sid, $parameters);
863  }

◆ getIMSManifestXML()

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

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

740  {
741  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
742 
743  $sua = new ilSoapSCORMAdministration();
744 
745  return $sua->getIMSManifestXML($sid, $ref_id);
746  }

◆ getInstallationInfoXML()

static ilSoapFunctions::getInstallationInfoXML ( )
static

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

881  {
882  include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
883  $roa = new ilSoapAdministration();
884  return $roa->getInstallationInfoXML();
885  }

◆ getLearningProgressChanges()

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

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

References $s, and $timestamp.

1031  {
1032  include_once './webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1033 
1035 
1036  return $s->getLearningProgressChanges($sid, $timestamp, $include_ref_ids, $type_filter);
1037  }
This class handles all DB changes necessary for fraunhofer.
$s
Definition: pwgen.php:45
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81

◆ getLocalRoles()

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

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

349  {
350  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
351 
352  $soa = new ilSoapRBACAdministration();
353 
354  return $soa->getLocalRoles($sid, $ref_id);
355  }

◆ getMobsOfObject()

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

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

References $a_type.

588  {
589  include_once './webservice/soap/classes/class.ilSoapUtils.php';
590 
591  $sou = new ilSoapUtils();
592  $sou->disableSOAPCheck();
593 
594  return $sou->getMobsOfObject($sid, $a_type, $a_id);
595  }
$a_type
Definition: workflow.php:92

◆ getNIC()

static ilSoapFunctions::getNIC (   $sid)
static

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

662  {
663  include_once './webservice/soap/classes/class.ilSoapAdministration.php';
664  $soa = new ilSoapAdministration();
665  return $soa->getNIC($sid);
666  }

◆ getNrOfQuestionsInPass()

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

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

References $pass.

551  {
552  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
553 
554  $sass = new ilSoapTestAdministration();
555 
556  return $sass->getNrOfQuestionsInPass($sid, $active_id, $pass);
557  }

◆ getObjectByReference()

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

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

211  {
212  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
213 
214  $soa = new ilSoapObjectAdministration();
215 
216  return $soa->getObjectByReference($sid, $a_ref_id, $user_id);
217  }

◆ getObjectsByTitle()

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

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

220  {
221  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
222 
223  $soa = new ilSoapObjectAdministration();
224 
225  return $soa->getObjectsByTitle($sid, $a_title, $user_id);
226  }

◆ getObjectTreeOperations()

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

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

393  {
394  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
395 
396  $soa = new ilSoapRBACAdministration();
397 
398  return $soa->getObjectTreeOperations($sid, $ref_id, $user_id);
399  }

◆ getObjIdByImportId()

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

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

184  {
185  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
186 
187  $soa = new ilSoapObjectAdministration();
188 
189  return $soa->getObjIdByImportId($sid, $import_id);
190  }

◆ getObjIdsByRefIds()

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

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

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

◆ getOperations()

static ilSoapFunctions::getOperations (   $sid)
static

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

303  {
304  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
305 
306  $soa = new ilSoapRBACAdministration();
307 
308  return $soa->getOperations($sid);
309  }

◆ getPathForRefId()

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

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

866  {
867  include_once 'webservice/soap/classes/class.ilSoapObjectAdministration.php';
868  $soa = new ilSoapObjectAdministration();
869  return $soa->getPathForRefId($sid, $ref_id);
870  }

◆ getPositionOfQuestion()

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

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

References $pass.

560  {
561  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
562 
563  $sass = new ilSoapTestAdministration();
564 
565  return $sass->getPositionOfQuestion($sid, $active_id, $question_id, $pass);
566  }

◆ getPreviousReachedPoints()

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

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

References $pass.

569  {
570  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
571 
572  $sass = new ilSoapTestAdministration();
573 
574  return $sass->getPreviousReachedPoints($sid, $active_id, $question_id, $pass);
575  }

◆ 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 1048 of file inc.soap_functions.php.

1049  {
1050  include_once './webservice/soap/classes/class.ilSoapLearningProgressAdministration.php';
1052  return $sla->getProgressInfo($sid, $ref_id, $progress_filter);
1053  }
This class handles all DB changes necessary for fraunhofer.

◆ getQuestionSolution()

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

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

References $pass.

533  {
534  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
535 
536  $sass = new ilSoapTestAdministration();
537 
538  return $sass->getQuestionSolution($sid, $active_id, $question_id, $pass);
539  }

◆ getRefIdsByImportId()

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

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

193  {
194  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
195 
196  $soa = new ilSoapObjectAdministration();
197 
198  return $soa->getRefIdsByImportId($sid, $import_id);
199  }

◆ getRefIdsByObjId()

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

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

201  {
202  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
203 
204  $soa = new ilSoapObjectAdministration();
205 
206  return $soa->getRefIdsByObjId($sid, $object_id);
207  }

◆ getRoles()

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

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

References $id.

607  {
608  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
609 
610  $soa = new ilSoapRBACAdministration();
611 
612  return $soa->getRoles($sid, $role_type, $id);
613  }
if(!array_key_exists('StateId', $_REQUEST)) $id

◆ getSCORMCompletionStatus()

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

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

923  {
924  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
925 
926  $sua = new ilSoapSCORMAdministration();
927 
928  return $sua->getSCORMCompletionStatus($sid, $usr_id, $a_ref_id);
929  }

◆ getStructureObjects()

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

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

598  {
599  include_once './webservice/soap/classes/class.ilSoapStructureObjectAdministration.php';
600 
602 
603  return $sca->getStructureObjects($sid, $ref_id);
604  }

◆ 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 811 of file inc.soap_functions.php.

812  {
813  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
814 
815  $soa = new ilSoapTestAdministration();
816 
817  return $soa->getTestResults($sid, $ref_id, $sum_only);
818  }

◆ getTestUserData()

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

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

542  {
543  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
544 
545  $sass = new ilSoapTestAdministration();
546 
547  return $sass->getTestUserData($sid, $active_id);
548  }

◆ getTreeChilds()

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

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

282  {
283  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
284 
285  $soa = new ilSoapObjectAdministration();
286 
287  return $soa->getTreeChilds($sid, $ref_id, $types, $user_id);
288  }

◆ getUser()

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

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

102  {
103  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
104 
105  $sua = new ilSoapUserAdministration();
106 
107  return $sua->getUser($sid, $user_id);
108  }

◆ getUserIdBySid()

static ilSoapFunctions::getUserIdBySid (   $sid)
static

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

932  {
933  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
934 
935  $sua = new ilSoapUserAdministration();
936 
937  return $sua->getUserIdBySid($sid);
938  }

◆ getUserRoles()

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

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

358  {
359  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
360 
361  $soa = new ilSoapRBACAdministration();
362 
363  return $soa->getUserRoles($sid, $user_id);
364  }

◆ getUsersForContainer()

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

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

625  {
626  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
627 
628  $sua = new ilSoapUserAdministration();
629 
630  return $sua->getUsersForContainer($sid, $ref_id, $attach_roles, $active);
631  }

◆ getUsersForRole()

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

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

634  {
635  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
636 
637  $sua = new ilSoapUserAdministration();
638 
639  return $sua->getUserForRole($sid, $role_id, $attach_roles, $active);
640  }

◆ getUserXML()

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

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

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

◆ getXMLTree()

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

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

291  {
292  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
293 
294  $soa = new ilSoapObjectAdministration();
295 
296  return $soa->getXMLTree($sid, $ref_id, $types, $user_id);
297  }

◆ grantPermissions()

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

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

340  {
341  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
342 
343  $soa = new ilSoapRBACAdministration();
344 
345  return $soa->grantPermissions($sid, $ref_id, $role_id, $permissions);
346  }

◆ groupExists()

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

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

References $title.

411  {
412  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
413 
414  $soa = new ilSoapGroupAdministration();
415 
416  return $soa->groupExists($sid, $title);
417  }

◆ handleECSTasks()

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

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

Referenced by ilECSTaskScheduler\initNextExecution().

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

◆ hasNewMail()

static ilSoapFunctions::hasNewMail (   $sid)
static

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

653  {
654  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
655 
656  $sua = new ilSoapUserAdministration();
657 
658  return $sua->hasNewMail($sid);
659  }

◆ hasSCORMCertificate()

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

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

749  {
750  include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
751 
752  $sua = new ilSoapSCORMAdministration();
753 
754  return $sua->hasSCORMCertificate($sid, $ref_id, $usr_id);
755  }

◆ ilClone()

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

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

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

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

◆ ilCloneDependencies()

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

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

Referenced by ilSoapUtils\callNextDependency().

484  {
485  include_once './webservice/soap/classes/class.ilSoapUtils.php';
486 
487  $sou = new ilSoapUtils();
488  $sou->disableSOAPCheck();
489  $sou->ignoreUserAbort();
490 
491  return $sou->ilCloneDependencies($sid, $copy_identifier);
492  }
+ 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 615 of file inc.soap_functions.php.

616  {
617  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
618 
619  $sua = new ilSoapUserAdministration();
620 
621  return $sua->importUsers($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail);
622  }

◆ isAssignedToCourse()

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

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

150  {
151  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
152 
153  $sca = new ilSoapCourseAdministration();
154 
155  return $sca->isAssignedToCourse($sid, $course_id, $user_id);
156  }

◆ isAssignedToGroup()

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

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

436  {
437  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
438 
439  $sca = new ilSoapGroupAdministration();
440 
441  return $sca->isAssignedToGroup($sid, $group_id, $user_id);
442  }

◆ login()

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

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

References $client, and $password.

45  {
46  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
47 
48  $sua = new ilSoapUserAdministration();
49 
50  return $sua->login($client, $username, $password);
51  }
if($_SERVER['argc']< 4) $client
Definition: cron.php:12
$password
Definition: cron.php:14

◆ loginCAS()

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

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

References $client, and $user.

54  {
55  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
56 
57  $sua = new ilSoapUserAdministration();
58 
59  return $sua->loginCAS($client, $PT, $user);
60  }
if($_SERVER['argc']< 4) $client
Definition: cron.php:12
$user
Definition: migrateto20.php:57

◆ loginLDAP()

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

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

References $client, and $password.

63  {
64  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
65 
66  $sua = new ilSoapUserAdministration();
67 
68  return $sua->loginLDAP($client, $username, $password);
69  }
if($_SERVER['argc']< 4) $client
Definition: cron.php:12
$password
Definition: cron.php:14

◆ loginStudipUser()

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

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

75  {
76  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
77 
78  $sua = new ilSoapUserAdministration();
79 
80  return $sua->loginStudipUser($sid, $user_id);
81  }

◆ logout()

static ilSoapFunctions::logout (   $sid)
static

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

85  {
86  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
87 
88  $sua = new ilSoapUserAdministration();
89 
90  return $sua->logout($sid);
91  }

◆ lookupUser()

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

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

93  {
94  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
95 
96  $sua = new ilSoapUserAdministration();
97 
98  return $sua->lookupUser($sid, $user_name);
99  }

◆ 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 791 of file inc.soap_functions.php.

References $target_id.

792  {
793  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
794 
795  $soa = new ilSoapObjectAdministration();
796 
797  return $soa->moveObject($sid, $ref_id, $target_id);
798  }
$target_id
Definition: goto.php:49

◆ processBackgroundTask()

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

Process background task.

Parameters
string$sid
int$task_id
Returns
string

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

1082  {
1083  include_once './webservice/soap/classes/class.ilSoapBackgroundTaskAdministration.php';
1085  return $bg->processBackgroundTask($sid, $task_id);
1086  }

◆ readWebLink()

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

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

941  {
942  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
943 
944  $swa = new ilSoapWebLinkAdministration();
945  return $swa->readWebLink($sid, $ref_id);
946  }
Soap methods for adminstrating web links.

◆ removeDesktopItems()

static ilSoapFunctions::removeDesktopItems (   $sid,
  $user_id,
  $reference_ids 
)
static

Add desktop items for user.

Parameters
$sid
$user_id
$reference_ids
Returns
int

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

1112  {
1113  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
1114  $obj_handler = new ilSoapObjectAdministration();
1115  return $obj_handler->removeDesktopItems($sid, $user_id, $reference_ids);
1116  }

◆ removeFromSystemByImportId()

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

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

256  {
257  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
258 
259  $soa = new ilSoapObjectAdministration();
260 
261  return $soa->removeFromSystemByImportId($sid, $import_id);
262  }

◆ 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 829 of file inc.soap_functions.php.

830  {
831  include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
832 
833  $soa = new ilSoapTestAdministration();
834  return $soa->removeTestResults($sid, $ref_id, $a_user_ids);
835  }

◆ revokePermissions()

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

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

331  {
332  include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
333 
334  $soa = new ilSoapRBACAdministration();
335 
336  return $soa->revokePermissions($sid, $ref_id, $role_id);
337  }

◆ saveQuestion()

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

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

References $pass.

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

◆ saveQuestionResult()

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

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

References $pass.

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

◆ saveQuestionSolution()

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

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

References $pass.

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

◆ saveTempFileAsMediaObject()

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

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

References $name.

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

◆ searchObjects()

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

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

References $key.

273  {
274  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
275 
276  $soa = new ilSoapObjectAdministration();
277 
278  return $soa->searchObjects($sid, $types, $key, $combination, $user_id);
279  }
$key
Definition: croninfo.php:18

◆ searchRoles()

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

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

References $key.

873  {
874  include_once 'webservice/soap/classes/class.ilSoapRBACAdministration.php';
875  $roa = new ilSoapRBACAdministration();
876  return $roa->searchRoles($sid, $key, $combination, $role_type);
877  }
$key
Definition: croninfo.php:18

◆ searchUser()

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

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

644  {
645  include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
646 
647  $sua = new ilSoapUserAdministration();
648 
649  return $sua->searchUser($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active);
650  }

◆ sendMail()

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

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

References $message.

455  {
456  include_once './webservice/soap/classes/class.ilSoapUtils.php';
457 
458  $sou = new ilSoapUtils();
459  $sou->disableSOAPCheck();
460  $sou->ignoreUserAbort();
461 
462  return $sou->sendMail($sid, $to, $cc, $bcc, $sender, $subject, $message, $attach);
463  }
catch(Exception $e) $message

◆ startBackgroundTaskWorker()

static ilSoapFunctions::startBackgroundTaskWorker (   $sid)
static
Parameters
$sid
Returns
bool

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

778  {
779  require_once("./Services/BackgroundTasks/classes/class.ilSoapBackgroundTasksAdministration.php");
781 
782  return $soa->runAsync($sid);
783  }

◆ updateCourse()

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

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

References $xml.

175  {
176  include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
177 
178  $sca = new ilSoapCourseAdministration();
179 
180  return $sca->updateCourse($sid, $course_id, $xml);
181  }

◆ updateExercise()

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

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

References $xml.

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

◆ updateFile()

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

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

References $xml.

699  {
700  include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
701  $sta = new ilSoapFileAdministration();
702  return $sta->updateFile($sid, $ref_id, $xml);
703  }

◆ updateGroup()

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

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

731  {
732  include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
733 
734  $sua = new ilSoapGroupAdministration();
735 
736  return $sua->updateGroup($sid, $ref_id, $grp_xml);
737  }

◆ updateObjects()

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

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

265  {
266  include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
267 
268  $soa = new ilSoapObjectAdministration();
269 
270  return $soa->updateObjects($sid, $obj_xml);
271  }

◆ updateWebLink()

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

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

References $xml.

957  {
958  include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
959 
960  $swa = new ilSoapWebLinkAdministration();
961  return $swa->updateWebLink($sid, $ref_id, $xml);
962  }
Soap methods for adminstrating web links.

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