ILIAS
Release_4_0_x_branch Revision 61816
|
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) | |
__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) |
Private Member Functions | |
canAddType ($type, $target_type, $target_id) | |
validateReferences ($a_action, $a_object_data, $a_target_id=0) | |
updateReferences ($a_object_data) | |
addReferences ($source, $a_object_data) |
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.ilSoapObjectAdministration.php.
ilSoapObjectAdministration::addObject | ( | $sid, | |
$a_target_id, | |||
$a_xml | |||
) |
Definition at line 496 of file class.ilSoapObjectAdministration.php.
References $lng, $location, $ref_id, $res, $row, $usr_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_exists(), ilObject\_isInTrash(), ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), addReferences(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), and validateReferences().
ilSoapObjectAdministration::addReference | ( | $sid, | |
$a_source_id, | |||
$a_target_id | |||
) |
Definition at line 653 of file class.ilSoapObjectAdministration.php.
References $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
private |
Definition at line 1418 of file class.ilSoapObjectAdministration.php.
References $ilLog, $ref_id, ilObjectFactory\getInstanceByRefId(), IL_CRS_TIMINGS_ACTIVATION, IL_CRS_TIMINGS_DEACTIVATED, IL_CRS_TIMINGS_PRESETTING, ilObjectXMLWriter\TIMING_DEACTIVATED, ilObjectXMLWriter\TIMING_PRESETTING, and ilObjectXMLWriter\TIMING_TEMPORARILY_AVAILABLE.
Referenced by addObject().
|
private |
Definition at line 1267 of file class.ilSoapObjectAdministration.php.
References $row, $target_id, $target_type, $type, and ilSoapAdministration\__raiseError().
Referenced by copyObject(), moveObject(), and validateReferences().
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 1128 of file class.ilSoapObjectAdministration.php.
References $lng, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilCopyWizardOptions\_allocateCopyId(), ilCopyWizardOptions\_getInstance(), canAddType(), ilObjectFactory\getInstanceByRefId(), ilObjectFactory\getTypeByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\isFault().
ilSoapObjectAdministration::deleteObject | ( | $sid, | |
$reference_id | |||
) |
Definition at line 776 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilUtil\removeItemFromDesktops().
ilSoapObjectAdministration::getObjectByReference | ( | $sid, | |
$a_ref_id, | |||
$user_id | |||
) |
Definition at line 169 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getObjectsByTitle | ( | $sid, | |
$a_title, | |||
$user_id | |||
) |
Definition at line 213 of file class.ilSoapObjectAdministration.php.
References $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and QP_COMBINATION_AND.
ilSoapObjectAdministration::getObjIdByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 42 of file class.ilSoapObjectAdministration.php.
References $ilLog, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_lookupObjIdByImportId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
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\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_hasUntrashedReference(), ilObject\_lookupObjectId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getPathForRefId | ( | $sid, | |
$ref_id | |||
) |
Definition at line 1214 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getRefIdsByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 65 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_lookupObjIdByImportId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getRefIdsByObjId | ( | $sid, | |
$obj_id | |||
) |
Definition at line 98 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getTreeChilds | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 381 of file class.ilSoapObjectAdministration.php.
References $filter, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getXMLTree | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 442 of file class.ilSoapObjectAdministration.php.
References $filter, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::ilSoapObjectAdministration | ( | ) |
Definition at line 37 of file class.ilSoapObjectAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapObjectAdministration::moveObject | ( | $sid, | |
$ref_id, | |||
$target_id | |||
) |
Definition at line 1031 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilConditionHandler\_adjustMovedObjectConditions(), ilObject\_isInTrash(), canAddType(), ilObjectFactory\getTypeByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\isFault().
ilSoapObjectAdministration::removeFromSystemByImportId | ( | $sid, | |
$import_id | |||
) |
Definition at line 829 of file class.ilSoapObjectAdministration.php.
References $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_lookupObjIdByImportId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::searchObjects | ( | $sid, | |
$types, | |||
$key, | |||
$combination, | |||
$user_id | |||
) |
Definition at line 296 of file class.ilSoapObjectAdministration.php.
References $key, $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), QP_COMBINATION_AND, and QP_COMBINATION_OR.
ilSoapObjectAdministration::updateObjects | ( | $sid, | |
$a_xml | |||
) |
Definition at line 895 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), elseif(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), updateReferences(), and validateReferences().
|
private |
Definition at line 1364 of file class.ilSoapObjectAdministration.php.
References $ilLog, ilObjectFactory\getInstanceByRefId(), IL_CRS_TIMINGS_ACTIVATION, IL_CRS_TIMINGS_DEACTIVATED, IL_CRS_TIMINGS_PRESETTING, ilObjectXMLWriter\TIMING_DEACTIVATED, ilObjectXMLWriter\TIMING_PRESETTING, and ilObjectXMLWriter\TIMING_TEMPORARILY_AVAILABLE.
Referenced by updateObjects().
|
private |
Definition at line 1301 of file class.ilSoapObjectAdministration.php.
References $target_type, ilSoapAdministration\__raiseError(), ilObject\_lookupObjId(), ilObject\_lookupType(), canAddType(), and ilSoapAdministration\isFault().
Referenced by addObject(), and updateObjects().