ILIAS  Release_3_10_x_branch Revision 61812
 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 getQuestionSolution ($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 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

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 634 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 658 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.

{
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.

{
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 807 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 706 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.

{
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 796 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 757 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 619 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 641 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 770 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 693 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 790 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 540 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 613 of file inc.soap_functions.php.

{
include_once './webservice/soap/classes/class.ilSoapAdministration.php';
$soa = & new ilSoapAdministration();
return $soa->getNIC($sid);
}
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 666 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 776 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::getQuestionSolution (   $sid,
  $active_id,
  $question_id,
  $pass 
)
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->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 558 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::getStructureObjects (   $sid,
  $ref_id 
)
static

Definition at line 550 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 741 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::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 576 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 585 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 675 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 604 of file inc.soap_functions.php.

{
include_once './webservice/soap/classes/class.ilSoapUserAdministration.php';
$sua =& new ilSoapUserAdministration();
return $sua->hasNewMail($sid);
}
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 567 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.

{
#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.

{
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 721 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::saveTempFileAsMediaObject (   $sid,
  $name,
  $tmp_name 
)
static

Definition at line 530 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 278 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 782 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 595 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 627 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 650 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 684 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: