ILIAS  Release_4_0_x_branch Revision 61816
 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)

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 131 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 679 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 703 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 407 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 234 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 243 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 381 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 389 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 112 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 318 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 147 of file inc.soap_functions.php.

References $type.

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

References $type.

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

References $dir, $dirs, 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 759 of file inc.soap_functions.php.

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

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

{
include_once './webservice/soap/classes/class.ilSoapCourseAdministration.php';
return $sca->deleteCourse($sid,$course_id);
}
static ilSoapFunctions::deleteObject (   $sid,
  $reference_id 
)
static

Definition at line 252 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 372 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 120 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 327 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 164 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 450 of file inc.soap_functions.php.

References $type.

{
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 849 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 810 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 172 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 664 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 686 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 424 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 823 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 738 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 843 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 354 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 585 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 658 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 548 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 216 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 225 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 398 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 189 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 711 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 308 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 829 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 557 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 566 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 530 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 198 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 206 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 603 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 886 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 595 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 794 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 539 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 287 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 85 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::getUserRoles (   $sid,
  $user_id 
)
static

Definition at line 363 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 621 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 630 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 720 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 296 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 345 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 416 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 492 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 649 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 746 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 471 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 481 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 612 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 155 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 441 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, and $password.

{
#echo "Hallo";
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 49 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 58 of file inc.soap_functions.php.

References $client, and $password.

{
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 68 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 76 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 774 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::removeFromSystemByImportId (   $sid,
  $import_id 
)
static

Definition at line 261 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 336 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 512 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 503 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 521 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 575 of file inc.soap_functions.php.

References $name.

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

References $key.

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

References $key.

{
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 640 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 460 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 180 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 672 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 695 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 729 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 270 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 103 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 94 of file inc.soap_functions.php.

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

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