ILIAS
eassessment Revision 61809
|
Public Member Functions | |
ilSoapCourseAdministration () | |
addCourse ($sid, $target_id, $crs_xml) | |
deleteCourse ($sid, $course_id) | |
assignCourseMember ($sid, $course_id, $user_id, $type) | |
excludeCourseMember ($sid, $course_id, $user_id) | |
isAssignedToCourse ($sid, $course_id, $user_id) | |
getCourseXML ($sid, $course_id) | |
updateCourse ($sid, $course_id, $xml) | |
getCoursesForUser ($sid, $parameters) | |
get courses which belong to a specific user, fullilling the status | |
Public Member Functions inherited from ilSoapAdministration | |
ilSoapAdministration ($use_nusoap=true) | |
__checkSession ($sid) | |
initErrorWriter () | |
Overwrite error handler. | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
initIlias () | |
__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) |
Data Fields | |
const | MEMBER = 1 |
const | TUTOR = 2 |
const | ADMIN = 4 |
const | OWNER = 8 |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
static | return_bytes ($val) |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true |
Definition at line 35 of file class.ilSoapCourseAdministration.php.
ilSoapCourseAdministration::addCourse | ( | $sid, | |
$target_id, | |||
$crs_xml | |||
) |
Definition at line 49 of file class.ilSoapCourseAdministration.php.
References $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapCourseAdministration::assignCourseMember | ( | $sid, | |
$course_id, | |||
$user_id, | |||
$type | |||
) |
Definition at line 168 of file class.ilSoapCourseAdministration.php.
References $type, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapCourseAdministration::deleteCourse | ( | $sid, | |
$course_id | |||
) |
Definition at line 104 of file class.ilSoapCourseAdministration.php.
References $log, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilUtil\removeItemFromDesktops().
ilSoapCourseAdministration::excludeCourseMember | ( | $sid, | |
$course_id, | |||
$user_id | |||
) |
Definition at line 245 of file class.ilSoapCourseAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapCourseAdministration::getCoursesForUser | ( | $sid, | |
$parameters | |||
) |
get courses which belong to a specific user, fullilling the status
string | $sid | |
string | $parameters | following xmlresultset, columns (user_id, status with values 1 = "MEMBER", 2 = "TUTOR", 4 = "ADMIN", 8 = "OWNER" and any xor operation e.g. 1 + 4 = 5 = ADMIN and TUTOR, 7 = ADMIN and TUTOR and MEMBER) |
string | XMLResultSet, columns (ref_id, xml, parent_ref_id) |
Definition at line 481 of file class.ilSoapCourseAdministration.php.
References $ref_id, $row, ilSoapAdministration\__checkSession(), ilUtil\__extractRefId(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_exists(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ADMIN, ilSoapAdministration\checkObjectAccess(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getObjectsForOwner(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), MEMBER, OWNER, and TUTOR.
ilSoapCourseAdministration::getCourseXML | ( | $sid, | |
$course_id | |||
) |
Definition at line 360 of file class.ilSoapCourseAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\checkObjectAccess(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\isFault().
ilSoapCourseAdministration::ilSoapCourseAdministration | ( | ) |
Definition at line 42 of file class.ilSoapCourseAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapCourseAdministration::isAssignedToCourse | ( | $sid, | |
$course_id, | |||
$user_id | |||
) |
Definition at line 300 of file class.ilSoapCourseAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByRefId(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapCourseAdministration::updateCourse | ( | $sid, | |
$course_id, | |||
$xml | |||
) |
Definition at line 409 of file class.ilSoapCourseAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilWaitingList\_deleteAll(), ilParticipants\_deleteAllEntries(), ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilMD\deleteAll(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
const ilSoapCourseAdministration::ADMIN = 4 |
Definition at line 39 of file class.ilSoapCourseAdministration.php.
Referenced by getCoursesForUser().
const ilSoapCourseAdministration::MEMBER = 1 |
Definition at line 37 of file class.ilSoapCourseAdministration.php.
Referenced by getCoursesForUser().
const ilSoapCourseAdministration::OWNER = 8 |
Definition at line 40 of file class.ilSoapCourseAdministration.php.
Referenced by getCoursesForUser().
const ilSoapCourseAdministration::TUTOR = 2 |
Definition at line 38 of file class.ilSoapCourseAdministration.php.
Referenced by getCoursesForUser().