ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilSoapObjectAdministration () | |
getObjIdByImportId ($sid, $import_id) | |
getRefIdsByImportId ($sid, $import_id) | |
getRefIdsByObjId ($sid, $obj_id) | |
getObjIdsByRefIds ($sid, $ref_ids) | |
Returns a array of object ids which match the references id, given by a comma seperated string. | |
getObjectByReference ($sid, $a_ref_id, $user_id) | |
getObjectsByTitle ($sid, $a_title, $user_id) | |
searchObjects ($sid, $types, $key, $combination, $user_id) | |
getTreeChilds ($sid, $ref_id, $types, $user_id) | |
getXMLTree ($sid, $ref_id, $types, $user_id) | |
addObject ($sid, $a_target_id, $a_xml) | |
addReference ($sid, $a_source_id, $a_target_id) | |
deleteObject ($sid, $reference_id) | |
removeFromSystemByImportId ($sid, $import_id) | |
updateObjects ($sid, $a_xml) | |
moveObject ($sid, $ref_id, $target_id) | |
copyObject ($sid, $copy_settings_xml) | |
copy object in repository $sid session id $settings_xml contains copy wizard settings following ilias_copy_wizard_settings.dtd | |
getPathForRefId ($sid, $ref_id) | |
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) | |
__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) |
Private Member Functions | |
canAddType ($type, $target_type, $target_id) |
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 |
Definition at line 35 of file class.ilSoapObjectAdministration.php.
ilSoapObjectAdministration::addObject | ( | $sid, | |
$a_target_id, | |||
$a_xml | |||
) |
Definition at line 481 of file class.ilSoapObjectAdministration.php.
References $lng, $location, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_exists(), ilObject\_isInTrash(), ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), and ilObjectFactory\getInstanceByRefId().
ilSoapObjectAdministration::addReference | ( | $sid, | |
$a_source_id, | |||
$a_target_id | |||
) |
Definition at line 625 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByRefId().
|
private |
Definition at line 1208 of file class.ilSoapObjectAdministration.php.
References $target_id, $target_type, and ilSoapAdministration\__raiseError().
Referenced by copyObject(), and moveObject().
ilSoapObjectAdministration::copyObject | ( | $sid, | |
$copy_settings_xml | |||
) |
copy object in repository $sid session id $settings_xml contains copy wizard settings following ilias_copy_wizard_settings.dtd
Definition at line 1072 of file class.ilSoapObjectAdministration.php.
References $lng, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilCopyWizardOptions\_allocateCopyId(), ilCopyWizardOptions\_getInstance(), canAddType(), ilObjectFactory\getInstanceByRefId(), ilObjectFactory\getTypeByRefId(), and ilSoapAdministration\isFault().
ilSoapObjectAdministration::deleteObject | ( | $sid, | |
$reference_id | |||
) |
Definition at line 739 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), and ilUtil\removeItemFromDesktops().
ilSoapObjectAdministration::getObjectByReference | ( | $sid, | |
$a_ref_id, | |||
$user_id | |||
) |
Definition at line 169 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), and ilObjectFactory\getInstanceByRefId().
ilSoapObjectAdministration::getObjectsByTitle | ( | $sid, | |
$a_title, | |||
$user_id | |||
) |
Definition at line 212 of file class.ilSoapObjectAdministration.php.
References $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), and QP_COMBINATION_AND.
ilSoapObjectAdministration::getObjIdByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 42 of file class.ilSoapObjectAdministration.php.
References $ilLog, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObject\_lookupObjIdByImportId().
ilSoapObjectAdministration::getObjIdsByRefIds | ( | $sid, | |
$ref_ids | |||
) |
Returns a array of object ids which match the references id, given by a comma seperated string.
string | $sid | Session ID |
array | of int $ref ids as comma separated list |
Definition at line 129 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_hasUntrashedReference(), and ilObject\_lookupObjectId().
ilSoapObjectAdministration::getPathForRefId | ( | $sid, | |
$ref_id | |||
) |
Definition at line 1156 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObject\_isInTrash().
ilSoapObjectAdministration::getRefIdsByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 64 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), and ilObject\_lookupObjIdByImportId().
ilSoapObjectAdministration::getRefIdsByObjId | ( | $sid, | |
$obj_id | |||
) |
Definition at line 98 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObject\_getAllReferences().
ilSoapObjectAdministration::getTreeChilds | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 368 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByRefId().
ilSoapObjectAdministration::getXMLTree | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 432 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByRefId().
ilSoapObjectAdministration::ilSoapObjectAdministration | ( | ) |
Definition at line 37 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapObjectAdministration::moveObject | ( | $sid, | |
$ref_id, | |||
$target_id | |||
) |
Definition at line 976 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilConditionHandler\_adjustMovedObjectConditions(), ilObject\_isInTrash(), canAddType(), ilObjectFactory\getTypeByRefId(), and ilSoapAdministration\isFault().
ilSoapObjectAdministration::removeFromSystemByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 792 of file class.ilSoapObjectAdministration.php.
References $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_lookupObjIdByImportId(), and ilObjectFactory\getInstanceByRefId().
ilSoapObjectAdministration::searchObjects | ( | $sid, | |
$types, | |||
$key, | |||
$combination, | |||
$user_id | |||
) |
Definition at line 283 of file class.ilSoapObjectAdministration.php.
References $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), QP_COMBINATION_AND, and QP_COMBINATION_OR.
ilSoapObjectAdministration::updateObjects | ( | $sid, | |
$a_xml | |||
) |
Definition at line 856 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), and ilObjectFactory\getInstanceByObjId().