ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilSoapAdministration ($use_nusoap=true) | |
__checkSession ($sid) | |
initErrorWriter () | |
Overwrite error handler. | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set | |
isFault ($object) | |
checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
check access for ref id: expected type, permission, return object instance if returnobject is true | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) |
Static Public Member Functions | |
static | return_bytes ($val) |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes |
Data Fields | |
$sauth = null | |
$error_method = null |
Private Member Functions | |
getClientInfo ($init, $client_dir) |
Definition at line 41 of file class.ilSoapAdministration.php.
ilSoapAdministration::__appendMessage | ( | $a_str | ) |
Definition at line 121 of file class.ilSoapAdministration.php.
Referenced by ilSoapUserAdministration\__validateUserData().
ilSoapAdministration::__checkSession | ( | $sid | ) |
Definition at line 76 of file class.ilSoapAdministration.php.
References $client, and __explodeSid().
Referenced by ilSoapCourseAdministration\addCourse(), ilSoapExerciseAdministration\addExercise(), ilSoapFileAdministration\addFile(), ilSoapGroupAdministration\addGroup(), ilSoapObjectAdministration\addObject(), ilSoapObjectAdministration\addReference(), ilSoapRBACAdministration\addRole(), ilSoapRBACAdministration\addRoleFromTemplate(), ilSoapUserAdministration\addUser(), ilSoapRBACAdministration\addUserRoleEntry(), ilSoapCourseAdministration\assignCourseMember(), ilSoapGroupAdministration\assignGroupMember(), ilSoapObjectAdministration\copyObject(), ilSoapCourseAdministration\deleteCourse(), ilSoapObjectAdministration\deleteObject(), ilSoapRBACAdministration\deleteRole(), ilSoapUserAdministration\deleteUser(), ilSoapRBACAdministration\deleteUserRoleEntry(), ilSoapCourseAdministration\excludeCourseMember(), ilSoapGroupAdministration\excludeGroupMember(), ilSoapCourseAdministration\getCoursesForUser(), ilSoapCourseAdministration\getCourseXML(), ilSoapExerciseAdministration\getExerciseXML(), ilSoapFileAdministration\getFileXML(), ilSoapGroupAdministration\getGroup(), ilSoapGroupAdministration\getGroupsForUser(), ilSoapSCORMAdministration\getIMSManifestXML(), ilSoapRBACAdministration\getLocalRoles(), ilSoapUtils\getMobsOfObject(), getNIC(), ilSoapObjectAdministration\getObjectByReference(), ilSoapObjectAdministration\getObjectsByTitle(), ilSoapRBACAdministration\getObjectTreeOperations(), ilSoapObjectAdministration\getObjIdByImportId(), ilSoapObjectAdministration\getObjIdsByRefIds(), ilSoapRBACAdministration\getOperations(), ilSoapObjectAdministration\getPathForRefId(), ilSoapTestAdministration\getQuestionSolution(), ilSoapObjectAdministration\getRefIdsByImportId(), ilSoapObjectAdministration\getRefIdsByObjId(), ilSoapRBACAdministration\getRoles(), ilSOAPStructureObjectAdministration\getStructureObjects(), ilSoapTestAdministration\getTestResults(), ilSoapObjectAdministration\getTreeChilds(), ilSoapUserAdministration\getUser(), ilSoapUserAdministration\getUserForRole(), ilSoapRBACAdministration\getUserRoles(), ilSoapUserAdministration\getUsersForContainer(), ilSoapUserAdministration\getUserXML(), ilSoapObjectAdministration\getXMLTree(), ilSoapRBACAdministration\grantPermissions(), ilSoapGroupAdministration\groupExists(), ilSoapUtils\handleECSTasks(), ilSoapUserAdministration\hasNewMail(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilSoapUserAdministration\importUsers(), ilSoapCourseAdministration\isAssignedToCourse(), ilSoapGroupAdministration\isAssignedToGroup(), ilSoapUserAdministration\logout(), ilSoapUserAdministration\lookupUser(), ilSoapObjectAdministration\moveObject(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilSoapRBACAdministration\revokePermissions(), ilSoapTestAdministration\saveQuestion(), ilSoapTestAdministration\saveQuestionResult(), ilSoapUtils\saveTempFileAsMediaObject(), ilSoapObjectAdministration\searchObjects(), ilSoapRBACAdministration\searchRoles(), ilSoapUserAdministration\searchUser(), ilSoapUtils\sendMail(), ilSoapCourseAdministration\updateCourse(), ilSoapExerciseAdministration\updateExercise(), ilSoapFileAdministration\updateFile(), ilSoapGroupAdministration\updateGroup(), ilSoapObjectAdministration\updateObjects(), ilSoapUserAdministration\updatePassword(), and ilSoapUserAdministration\updateUser().
ilSoapAdministration::__explodeSid | ( | $sid | ) |
Definition at line 105 of file class.ilSoapAdministration.php.
Referenced by __checkSession().
ilSoapAdministration::__getMessage | ( | ) |
Definition at line 117 of file class.ilSoapAdministration.php.
Referenced by ilSoapUserAdministration\__validateUserData(), ilSoapUserAdministration\addUser(), and ilSoapUserAdministration\updateUser().
ilSoapAdministration::__initAuthenticationObject | ( | $a_auth_mode = AUTH_LOCAL | ) |
Definition at line 128 of file class.ilSoapAdministration.php.
References AUTH_CAS, and AUTH_LDAP.
Referenced by ilSoapAdministration(), ilSoapUserAdministration\login(), ilSoapUserAdministration\loginCAS(), and ilSoapUserAdministration\loginLDAP().
ilSoapAdministration::__raiseError | ( | $a_message, | |
$a_code | |||
) |
Definition at line 146 of file class.ilSoapAdministration.php.
Referenced by ilSoapUserAdministration\__getImportProtocolAsXML(), ilSoapUserAdministration\__getUserMappingAsXML(), ilSoapCourseAdministration\addCourse(), ilSoapExerciseAdministration\addExercise(), ilSoapFileAdministration\addFile(), ilSoapGroupAdministration\addGroup(), ilSoapObjectAdministration\addObject(), ilSoapObjectAdministration\addReference(), ilSoapRBACAdministration\addRole(), ilSoapRBACAdministration\addRoleFromTemplate(), ilSoapUserAdministration\addUser(), ilSoapRBACAdministration\addUserRoleEntry(), ilSoapCourseAdministration\assignCourseMember(), ilSoapGroupAdministration\assignGroupMember(), ilSoapObjectAdministration\canAddType(), checkObjectAccess(), ilSoapObjectAdministration\copyObject(), ilSoapCourseAdministration\deleteCourse(), ilSoapObjectAdministration\deleteObject(), ilSoapRBACAdministration\deleteRole(), ilSoapUserAdministration\deleteUser(), ilSoapRBACAdministration\deleteUserRoleEntry(), ilSoapCourseAdministration\excludeCourseMember(), ilSoapGroupAdministration\excludeGroupMember(), getClientInfoXML(), ilSoapCourseAdministration\getCoursesForUser(), ilSoapCourseAdministration\getCourseXML(), ilSoapExerciseAdministration\getExerciseXML(), ilSoapFileAdministration\getFileXML(), ilSoapGroupAdministration\getGroup(), ilSoapGroupAdministration\getGroupsForUser(), ilSoapSCORMAdministration\getIMSManifestXML(), ilSoapRBACAdministration\getLocalRoles(), ilSoapUtils\getMobsOfObject(), getNIC(), ilSoapObjectAdministration\getObjectByReference(), ilSoapObjectAdministration\getObjectsByTitle(), ilSoapRBACAdministration\getObjectTreeOperations(), ilSoapObjectAdministration\getObjIdByImportId(), ilSoapObjectAdministration\getObjIdsByRefIds(), ilSoapRBACAdministration\getOperations(), ilSoapObjectAdministration\getPathForRefId(), ilSoapTestAdministration\getQuestionSolution(), ilSoapObjectAdministration\getRefIdsByImportId(), ilSoapObjectAdministration\getRefIdsByObjId(), ilSoapRBACAdministration\getRoles(), ilSOAPStructureObjectAdministration\getStructureObjects(), ilSoapTestAdministration\getTestResults(), ilSoapObjectAdministration\getTreeChilds(), ilSoapUserAdministration\getUser(), ilSoapUserAdministration\getUserForRole(), ilSoapRBACAdministration\getUserRoles(), ilSoapUserAdministration\getUsersForContainer(), ilSoapUserAdministration\getUserXML(), ilSoapObjectAdministration\getXMLTree(), ilSoapRBACAdministration\grantPermissions(), ilSoapGroupAdministration\groupExists(), ilSoapUtils\handleECSTasks(), ilSoapUserAdministration\hasNewMail(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilSoapUserAdministration\importUsers(), ilSoapCourseAdministration\isAssignedToCourse(), ilSoapGroupAdministration\isAssignedToGroup(), ilSoapUserAdministration\login(), ilSoapUserAdministration\loginCAS(), ilSoapUserAdministration\loginLDAP(), ilSoapUserAdministration\logout(), ilSoapUserAdministration\lookupUser(), ilSoapObjectAdministration\moveObject(), ilSoapRBACAdministration\parseUserID(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilSoapRBACAdministration\revokePermissions(), ilSoapTestAdministration\saveQuestion(), ilSoapTestAdministration\saveQuestionResult(), ilSoapUtils\saveTempFileAsMediaObject(), ilSoapObjectAdministration\searchObjects(), ilSoapRBACAdministration\searchRoles(), ilSoapUserAdministration\searchUser(), ilSoapUtils\sendMail(), ilSoapCourseAdministration\updateCourse(), ilSoapExerciseAdministration\updateExercise(), ilSoapFileAdministration\updateFile(), ilSoapGroupAdministration\updateGroup(), ilSoapObjectAdministration\updateObjects(), ilSoapUserAdministration\updatePassword(), and ilSoapUserAdministration\updateUser().
ilSoapAdministration::__setMessage | ( | $a_str | ) |
Definition at line 113 of file class.ilSoapAdministration.php.
Referenced by ilSoapUserAdministration\__validateUserData().
ilSoapAdministration::checkObjectAccess | ( | $ref_id, | |
$expected_type, | |||
$permission, | |||
$returnObject = false |
|||
) |
check access for ref id: expected type, permission, return object instance if returnobject is true
int | $ref_id | |
string | or array $expected_type | |
string | $permission | |
boolean | $returnObject |
Definition at line 277 of file class.ilSoapAdministration.php.
References $ref_id, __raiseError(), ilObject\_exists(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), and ilObjectFactory\getTypeByRefId().
Referenced by ilSoapCourseAdministration\getCoursesForUser(), ilSoapCourseAdministration\getCourseXML(), ilSoapGroupAdministration\getGroupsForUser(), and ilSoapUserAdministration\getUsersForContainer().
|
private |
Definition at line 376 of file class.ilSoapAdministration.php.
References $client_id, and $GLOBALS.
Referenced by getClientInfoXML(), and getInstallationInfoXML().
ilSoapAdministration::getClientInfoXML | ( | $clientid | ) |
Definition at line 347 of file class.ilSoapAdministration.php.
References $client, $GLOBALS, __raiseError(), getClientInfo(), and ILIAS_WEB_DIR.
ilSoapAdministration::getInstallationInfoXML | ( | ) |
Definition at line 315 of file class.ilSoapAdministration.php.
References $GLOBALS, getClientInfo(), and ILIAS_WEB_DIR.
ilSoapAdministration::getNIC | ( | $sid | ) |
get client information from current as xml result set
string | $sid | current session id |
Definition at line 165 of file class.ilSoapAdministration.php.
References $ilLog, $ilSetting, __checkSession(), __raiseError(), ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAuthUtils\_getActiveAuthModes(), ilAdvancedMDRecord\_getAssignableObjectTypes(), ilAuthUtils\_getAuthModeName(), ILIAS_VERSION, and return_bytes().
ilSoapAdministration::ilSoapAdministration | ( | $use_nusoap = true | ) |
Definition at line 56 of file class.ilSoapAdministration.php.
References __initAuthenticationObject(), and IL_SOAPMODE_NUSOAP.
Referenced by ilSoapCourseAdministration\ilSoapCourseAdministration(), ilSoapExerciseAdministration\ilSoapExerciseAdministration(), ilSoapSCORMAdministration\ilSoapExerciseAdministration(), ilSoapFileAdministration\ilSoapFileAdministration(), ilSoapGroupAdministration\ilSoapGroupAdministration(), ilSoapObjectAdministration\ilSoapObjectAdministration(), ilSoapRBACAdministration\ilSoapRBACAdministration(), ilSOAPStructureObjectAdministration\ilSOAPStructureObjectAdministration(), ilSoapTestAdministration\ilSoapTestAdministration(), ilSoapUserAdministration\ilSoapUserAdministration(), and ilSoapUtils\ilSoapUtils().
ilSoapAdministration::initErrorWriter | ( | ) |
Overwrite error handler.
public
Definition at line 97 of file class.ilSoapAdministration.php.
ilSoapAdministration::isFault | ( | $object | ) |
Definition at line 257 of file class.ilSoapAdministration.php.
Referenced by ilSoapObjectAdministration\copyObject(), ilSoapCourseAdministration\getCourseXML(), ilSoapUserAdministration\getUsersForContainer(), and ilSoapObjectAdministration\moveObject().
|
static |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes
Definition at line 242 of file class.ilSoapAdministration.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildInstallationInfo(), and getNIC().
ilSoapAdministration::$error_method = null |
Definition at line 53 of file class.ilSoapAdministration.php.
ilSoapAdministration::$sauth = null |
Definition at line 47 of file class.ilSoapAdministration.php.