ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
ilSoapExerciseAdministration () | |
addExercise ($sid, $target_id, $exercise_xml) | |
add an exercise with id. | |
updateExercise ($sid, $ref_id, $exercise_xml) | |
update a exercise with id. | |
getExerciseXML ($sid, $ref_id, $attachFileContentsMode) | |
get exercise xml | |
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) |
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 | |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true |
Definition at line 35 of file class.ilSoapExerciseAdministration.php.
ilSoapExerciseAdministration::addExercise | ( | $sid, | |
$target_id, | |||
$exercise_xml | |||
) |
add an exercise with id.
string | $session_id | current session |
int | $target_id | refid of parent in repository |
string | $exercise_xml | qti xml description of test |
Definition at line 51 of file class.ilSoapExerciseAdministration.php.
References ilExerciseException\$ID_MISMATCH, $ilLog, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapExerciseAdministration::getExerciseXML | ( | $sid, | |
$ref_id, | |||
$attachFileContentsMode | |||
) |
get exercise xml
string | $sid | |
int | $ref_id | |
int | $attachFileContentsMode | see constants |
Definition at line 200 of file class.ilSoapExerciseAdministration.php.
References $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapExerciseAdministration::ilSoapExerciseAdministration | ( | ) |
Definition at line 37 of file class.ilSoapExerciseAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapExerciseAdministration::updateExercise | ( | $sid, | |
$ref_id, | |||
$exercise_xml | |||
) |
update a exercise with id.
string | $session_id | current session |
int | $ref_id | refid id of exercise in repository |
string | $exercise_xml | qti xml description of test |
Definition at line 124 of file class.ilSoapExerciseAdministration.php.
References ilExerciseException\$ID_MISMATCH, $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().