ILIAS
eassessment Revision 61809
|
Public Member Functions | |
ilSoapFileAdministration () | |
addFile ($sid, $target_id, $file_xml) | |
add an File with id. | |
updateFile ($sid, $ref_id, $file_xml) | |
update a File with id. | |
getFileXML ($sid, $ref_id, $attachFileContentsMode) | |
get File 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.ilSoapFileAdministration.php.
ilSoapFileAdministration::addFile | ( | $sid, | |
$target_id, | |||
$file_xml | |||
) |
add an File with id.
string | $session_id | current session |
int | $target_id | refid of parent in repository |
string | $file_xml | qti xml description of test |
Definition at line 51 of file class.ilSoapFileAdministration.php.
References $file, ilFileException\$ID_MISMATCH, $ilLog, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapFileAdministration::getFileXML | ( | $sid, | |
$ref_id, | |||
$attachFileContentsMode | |||
) |
get File xml
string | $sid | |
int | $ref_id | |
boolean | $attachFileContentsMode |
Definition at line 213 of file class.ilSoapFileAdministration.php.
References $file, $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapFileAdministration::ilSoapFileAdministration | ( | ) |
Definition at line 37 of file class.ilSoapFileAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapFileAdministration::updateFile | ( | $sid, | |
$ref_id, | |||
$file_xml | |||
) |
update a File with id.
string | $session_id | current session |
int | $ref_id | refid id of File in repository |
string | $file_xml | qti xml description of test |
Definition at line 133 of file class.ilSoapFileAdministration.php.
References $file, ilFileException\$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().