ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 logout ($sid)
static lookupUser ($sid, $user_name)
static getUser ($sid, $user_id)
static updateUser ($sid, $user_data)
static updatePassword ($sid, $user_id, $new_password)
static addUser ($sid, $user_data, $global_role_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 ilClone ($sid, $copy_identifier)
static ilCloneDependencies ($sid, $copy_identifier)
static handleECSTasks ($sid)
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
static moveObject ($sid, $ref_id, $target_id)
 move object in repository
static getTestResults ($sid, $ref_id, $sum_only)
 get results of test
static getCoursesForUser ($sid, $parameters)
 return courses for users depending on the status
static getGroupsForUser ($sid, $parameters)
 return courses for users depending on the status
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
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.

Detailed Description

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

Member Function Documentation

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

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

References $target_id.

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->addCourse($sid,$target_id,$crs_xml);
}
static ilSoapFunctions::addExercise (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
return $sta->addExercise($sid, $ref_id, $xml);
}
static ilSoapFunctions::addFile (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
$sta = & new ilSoapFileAdministration();
return $sta->addFile($sid, $ref_id, $xml);
}
static ilSoapFunctions::addGroup (   $sid,
  $target_id,
  $group_xml 
)
static

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

References $target_id.

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $soa->addGroup($sid,$target_id,$group_xml);
}
static ilSoapFunctions::addObject (   $sid,
  $a_target_id,
  $a_xml 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->addObject($sid,$a_target_id,$a_xml);
}
static ilSoapFunctions::addReference (   $sid,
  $a_source_id,
  $a_target_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->addReference($sid,$a_source_id,$a_target_id);
}
static ilSoapFunctions::addRole (   $sid,
  $target_id,
  $obj_xml 
)
static

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

References $target_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->addRole($sid,$target_id,$obj_xml);
}
static ilSoapFunctions::addRoleFromTemplate (   $sid,
  $target_id,
  $obj_xml,
  $template_id 
)
static

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

References $target_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->addRoleFromTemplate($sid,$target_id,$obj_xml,$template_id);
}
static ilSoapFunctions::addUser (   $sid,
  $user_data,
  $global_role_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->addUser($sid,$user_data,$global_role_id);
}
static ilSoapFunctions::addUserRoleEntry (   $sid,
  $user_id,
  $role_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->addUserRoleEntry($sid,$user_id,$role_id);
}
static ilSoapFunctions::assignCourseMember (   $sid,
  $course_id,
  $user_id,
  $type 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->assignCourseMember($sid,$course_id,$user_id,$type);
}
static ilSoapFunctions::assignGroupMember (   $sid,
  $group_id,
  $user_id,
  $type 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $sca->assignGroupMember($sid,$group_id,$user_id,$type);
}
static ilSoapFunctions::buildHTTPPath ( )
static

builds http path if no client is available

Returns
string

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

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

Referenced by ilSoapInstallationInfoXMLWriter\__buildHeader().

{
if($_SERVER["HTTPS"] == "on")
{
$protocol = 'https://';
}
else
{
$protocol = 'http://';
}
$host = $_SERVER['HTTP_HOST'];
$path = dirname($_SERVER['REQUEST_URI']);
//dirname cuts the last directory from a directory path e.g content/classes return content
include_once 'Services/Utilities/classes/class.ilUtil.php';
$dirs = explode('/',$module);
$uri = $path;
foreach($dirs as $dir)
{
$uri = dirname($uri);
}
return ilUtil::removeTrailingPathSeparators($protocol.$host.$uri);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->copyObject($sid, $copy_settings_xml);
}
static ilSoapFunctions::createWebLink (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
return $swa->createWebLink($sid, $ref_id,$xml);
}
static ilSoapFunctions::deleteCourse (   $sid,
  $course_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->deleteCourse($sid,$course_id);
}
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 940 of file inc.soap_functions.php.

References $usr_id.

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou = new ilSoapUtils();
$sou->disableSOAPCheck();
$sou->ignoreUserAbort();
return $sou->deleteExpiredDualOptInUserObjects($sid, $usr_id);
}
static ilSoapFunctions::deleteObject (   $sid,
  $reference_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->deleteObject($sid,$reference_id);
}
static ilSoapFunctions::deleteRole (   $sid,
  $role_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->deleteRole($sid,$role_id);
}
static ilSoapFunctions::deleteUser (   $sid,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->deleteUser($sid,$user_id);
}
static ilSoapFunctions::deleteUserRoleEntry (   $sid,
  $user_id,
  $role_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->deleteUserRoleEntry($sid,$user_id,$role_id);
}
static ilSoapFunctions::excludeCourseMember (   $sid,
  $course_id,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->excludeCourseMember($sid,$course_id,$user_id);
}
static ilSoapFunctions::excludeGroupMember (   $sid,
  $group_id,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $sca->excludeGroupMember($sid,$group_id,$user_id,$type);
}
static ilSoapFunctions::getClientInfoXML (   $clientid)
static

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

{
include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
$roa = new ilSoapAdministration();
return $roa->getClientInfoXML($clientid);
}
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 809 of file inc.soap_functions.php.

{
include_once 'webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $soc->getCoursesForUser($sid, $parameters);
}
static ilSoapFunctions::getCourseXML (   $sid,
  $course_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->getCourseXML($sid,$course_id);
}
static ilSoapFunctions::getExerciseXML (   $sid,
  $ref_id,
  $attachFileContentsMode 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
return $sta->getExerciseXML($sid, $ref_id, $attachFileContentsMode);
}
static ilSoapFunctions::getFileXML (   $sid,
  $ref_id,
  $attachFileContentsMode 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
$sta = & new ilSoapFileAdministration();
return $sta->getFileXML($sid, $ref_id, $attachFileContentsMode);
}
static ilSoapFunctions::getGroup (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $soa->getGroup($sid,$ref_id);
}
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 822 of file inc.soap_functions.php.

{
include_once 'webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $soc->getGroupsForUser($sid, $parameters);
}
static ilSoapFunctions::getIMSManifestXML (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
return $sua->getIMSManifestXML($sid,$ref_id);
}
static ilSoapFunctions::getInstallationInfoXML ( )
static

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

{
include_once 'webservice/soap/classes/class.ilSoapAdministration.php';
$roa = new ilSoapAdministration();
return $roa->getInstallationInfoXML();
}
static ilSoapFunctions::getLocalRoles (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->getLocalRoles($sid,$ref_id);
}
static ilSoapFunctions::getMobsOfObject (   $sid,
  $a_type,
  $a_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou =& new ilSoapUtils();
$sou->disableSOAPCheck();
return $sou->getMobsOfObject($sid, $a_type, $a_id);
}
static ilSoapFunctions::getNIC (   $sid)
static

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

{
include_once './webservice/soap/classes/class.ilSoapAdministration.php';
$soa = & new ilSoapAdministration();
return $soa->getNIC($sid);
}
static ilSoapFunctions::getNrOfQuestionsInPass (   $sid,
  $active_id,
  $pass 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->getNrOfQuestionsInPass($sid, $active_id, $pass);
}
static ilSoapFunctions::getObjectByReference (   $sid,
  $a_ref_id,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getObjectByReference($sid,$a_ref_id,$user_id);
}
static ilSoapFunctions::getObjectsByTitle (   $sid,
  $a_title,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getObjectsByTitle($sid,$a_title,$user_id);
}
static ilSoapFunctions::getObjectTreeOperations (   $sid,
  $ref_id,
  $user_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->getObjectTreeOperations($sid,$ref_id,$user_id);
}
static ilSoapFunctions::getObjIdByImportId (   $sid,
  $import_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getObjIdByImportId($sid,$import_id);
}
static ilSoapFunctions::getObjIdsByRefIds (   $sid,
  $ref_ids 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getObjIdsByRefIds($sid, $ref_ids);
}
static ilSoapFunctions::getOperations (   $sid)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->getOperations($sid);
}
static ilSoapFunctions::getPathForRefId (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once 'webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getPathForRefId($sid, $ref_id);
}
static ilSoapFunctions::getPositionOfQuestion (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->getPositionOfQuestion($sid, $active_id, $question_id, $pass);
}
static ilSoapFunctions::getPreviousReachedPoints (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->getPreviousReachedPoints($sid, $active_id, $question_id, $pass);
}
static ilSoapFunctions::getQuestionSolution (   $sid,
  $active_id,
  $question_id,
  $pass 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->getQuestionSolution($sid,$active_id,$question_id,$pass);
}
static ilSoapFunctions::getRefIdsByImportId (   $sid,
  $import_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getRefIdsByImportId($sid,$import_id);
}
static ilSoapFunctions::getRefIdsByObjId (   $sid,
  $object_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getRefIdsByObjId($sid,$object_id);
}
static ilSoapFunctions::getRoles (   $sid,
  $role_type,
  $id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->getRoles($sid, $role_type, $id);
}
static ilSoapFunctions::getSCORMCompletionStatus (   $sid,
  $usr_id,
  $a_ref_id 
)
static

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

References $usr_id.

{
include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
return $sua->getSCORMCompletionStatus($sid, $usr_id, $a_ref_id);
}
static ilSoapFunctions::getStructureObjects (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapStructureObjectAdministration.php';
return $sca->getStructureObjects ($sid, $ref_id);
}
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 793 of file inc.soap_functions.php.

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
return $soa->getTestResults($sid, $ref_id,$sum_only);
}
static ilSoapFunctions::getTestUserData (   $sid,
  $active_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->getTestUserData($sid,$active_id);
}
static ilSoapFunctions::getTreeChilds (   $sid,
  $ref_id,
  $types,
  $user_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getTreeChilds($sid,$ref_id,$types,$user_id);
}
static ilSoapFunctions::getUser (   $sid,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->getUser($sid,$user_id);
}
static ilSoapFunctions::getUserIdBySid (   $sid)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
return $sua->getUserIdBySid($sid);
}
static ilSoapFunctions::getUserRoles (   $sid,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->getUserRoles($sid,$user_id);
}
static ilSoapFunctions::getUsersForContainer (   $sid,
  $ref_id,
  $attach_roles,
  $active 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->getUsersForContainer($sid, $ref_id, $attach_roles, $active);
}
static ilSoapFunctions::getUsersForRole (   $sid,
  $role_id,
  $attach_roles,
  $active 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->getUserForRole($sid, $role_id, $attach_roles, $active);
}
static ilSoapFunctions::getUserXML (   $sid,
  $user_ids,
  $attach_roles 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->getUserXML($sid, $user_ids, $attach_roles);
}
static ilSoapFunctions::getXMLTree (   $sid,
  $ref_id,
  $types,
  $user_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->getXMLTree($sid,$ref_id,$types,$user_id);
}
static ilSoapFunctions::grantPermissions (   $sid,
  $ref_id,
  $role_id,
  $permissions 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->grantPermissions($sid,$ref_id,$role_id,$permissions);
}
static ilSoapFunctions::groupExists (   $sid,
  $title 
)
static

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

References $title.

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $soa->addGroup($sid,$title);
}
static ilSoapFunctions::handleECSTasks (   $sid)
static

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

Referenced by ilECSTaskScheduler\start().

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou = new ilSoapUtils();
$sou->disableSoapCheck();
$sou->ignoreUserAbort();
return $sou->handleECSTasks($sid);
}

+ Here is the caller graph for this function:

static ilSoapFunctions::hasNewMail (   $sid)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->hasNewMail($sid);
}
static ilSoapFunctions::hasSCORMCertificate (   $sid,
  $ref_id,
  $usr_id 
)
static

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

References $ref_id, and $usr_id.

{
include_once './webservice/soap/classes/class.ilSoapSCORMAdministration.php';
return $sua->hasSCORMCertificate($sid,$ref_id,$usr_id);
}
static ilSoapFunctions::ilClone (   $sid,
  $copy_identifier 
)
static

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

Referenced by ilContainer\cloneAllObject().

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou = new ilSoapUtils();
$sou->disableSOAPCheck();
$sou->ignoreUserAbort();
return $sou->ilClone($sid,$copy_identifier);
}

+ Here is the caller graph for this function:

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

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

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou = new ilSoapUtils();
$sou->disableSOAPCheck();
$sou->ignoreUserAbort();
return $sou->ilCloneDependencies($sid,$copy_identifier);
}
static ilSoapFunctions::importUsers (   $sid,
  $folder_id,
  $usr_xml,
  $conflict_rule,
  $send_account_mail 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->importUsers($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail);
}
static ilSoapFunctions::isAssignedToCourse (   $sid,
  $course_id,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->isAssignedToCourse($sid,$course_id,$user_id);
}
static ilSoapFunctions::isAssignedToGroup (   $sid,
  $group_id,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $sca->isAssignedToGroup($sid,$group_id,$user_id);
}
static ilSoapFunctions::login (   $client,
  $username,
  $password 
)
static

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

References $client.

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->login($client,$username,$password);
}
static ilSoapFunctions::loginCAS (   $client,
  $PT,
  $user 
)
static

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

References $client, and $user.

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->loginCAS($client, $PT, $user);
}
static ilSoapFunctions::loginLDAP (   $client,
  $username,
  $password 
)
static

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

References $client.

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->loginLDAP($client, $username, $password);
}
static ilSoapFunctions::logout (   $sid)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->logout($sid);
}
static ilSoapFunctions::lookupUser (   $sid,
  $user_name 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->lookupUser($sid,$user_name);
}
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 773 of file inc.soap_functions.php.

References $ref_id, and $target_id.

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->moveObject($sid, $ref_id, $target_id);
}
static ilSoapFunctions::readWebLink (   $sid,
  $ref_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
return $swa->readWebLink($sid, $ref_id);
}
static ilSoapFunctions::removeFromSystemByImportId (   $sid,
  $import_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->removeFromSystemByImportId($sid,$import_id);
}
static ilSoapFunctions::revokePermissions (   $sid,
  $ref_id,
  $role_id 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapRBACAdministration.php';
$soa =& new ilSoapRBACAdministration();
return $soa->revokePermissions($sid,$ref_id,$role_id);
}
static ilSoapFunctions::saveQuestion (   $sid,
  $active_id,
  $question_id,
  $pass,
  $solution 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->saveQuestion($sid,$active_id,$question_id,$pass,$solution);
}
static ilSoapFunctions::saveQuestionResult (   $sid,
  $user_id,
  $test_id,
  $question_id,
  $pass,
  $solution 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->saveQuestionResult($sid,$user_id,$test_id,$question_id,$pass,$solution);
}
static ilSoapFunctions::saveQuestionSolution (   $sid,
  $active_id,
  $question_id,
  $pass,
  $solution 
)
static

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

References $pass.

{
include_once './webservice/soap/classes/class.ilSoapTestAdministration.php';
$sass =& new ilSoapTestAdministration();
return $sass->saveQuestionSolution($sid,$active_id,$question_id,$pass,$solution);
}
static ilSoapFunctions::saveTempFileAsMediaObject (   $sid,
  $name,
  $tmp_name 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou =& new ilSoapUtils();
$sou->disableSOAPCheck();
return $sou->saveTempFileAsMediaObject($sid, $name, $tmp_name);
}
static ilSoapFunctions::searchObjects (   $sid,
  $types,
  $key,
  $combination,
  $user_id 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->searchObjects($sid,$types,$key,$combination,$user_id);
}
static ilSoapFunctions::searchRoles (   $sid,
  $key,
  $combination,
  $role_type 
)
static

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

{
include_once 'webservice/soap/classes/class.ilSoapRBACAdministration.php';
return $roa->searchRoles($sid, $key, $combination, $role_type);
}
static ilSoapFunctions::searchUser (   $sid,
  $a_keyfields,
  $query_operator,
  $a_keyvalues,
  $attach_roles,
  $active 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active);
}
static ilSoapFunctions::sendMail (   $sid,
  $to,
  $cc,
  $bcc,
  $sender,
  $subject,
  $message,
  $attach 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUtils.php';
$sou =& new ilSoapUtils();
$sou->disableSOAPCheck();
$sou->ignoreUserAbort();
return $sou->sendMail($sid,$to,$cc,$bcc,$sender,$subject,$message,$attach);
}
static ilSoapFunctions::updateCourse (   $sid,
  $course_id,
  $xml 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->updateCourse($sid,$course_id,$xml);
}
static ilSoapFunctions::updateExercise (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapExerciseAdministration.php';
return $sta->updateExercise($sid, $ref_id, $xml);
}
static ilSoapFunctions::updateFile (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapFileAdministration.php';
$sta = & new ilSoapFileAdministration();
return $sta->updateFile($sid, $ref_id, $xml);
}
static ilSoapFunctions::updateGroup (   $sid,
  $ref_id,
  $grp_xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapGroupAdministration.php';
return $sua->updateGroup($sid,$ref_id, $grp_xml);
}
static ilSoapFunctions::updateObjects (   $sid,
  $obj_xml 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapObjectAdministration.php';
return $soa->updateObjects($sid,$obj_xml);
}
static ilSoapFunctions::updatePassword (   $sid,
  $user_id,
  $new_password 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->updatePassword($sid,$user_id,$new_password);
}
static ilSoapFunctions::updateUser (   $sid,
  $user_data 
)
static

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

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->updateUser($sid,$user_data);
}
static ilSoapFunctions::updateWebLink (   $sid,
  $ref_id,
  $xml 
)
static

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

References $ref_id.

{
include_once './webservice/soap/classes/class.ilSoapWebLinkAdministration.php';
return $swa->updateWebLink($sid, $ref_id,$xml);
}

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