ILIAS
Release_5_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) | |
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 564 of file class.ilSoapObjectAdministration.php.
References $ilUser, $lng, $location, $ref_id, $res, $row, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_exists(), ilObject\_isInTrash(), ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), addReferences(), ilObjectFactory\getInstanceByRefId(), IL_CRS_ADMIN, ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), and validateReferences().
ilSoapObjectAdministration::addReference | ( | $sid, | |
$a_source_id, | |||
$a_target_id | |||
) |
Definition at line 729 of file class.ilSoapObjectAdministration.php.
References $row, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
private |
Definition at line 1460 of file class.ilSoapObjectAdministration.php.
References $ilLog, $ref_id, ilObjectXMLWriter\TIMING_DEACTIVATED, ilObjectXMLWriter\TIMING_PRESETTING, ilObjectXMLWriter\TIMING_TEMPORARILY_AVAILABLE, ilObjectActivation\TIMINGS_ACTIVATION, ilObjectActivation\TIMINGS_DEACTIVATED, and ilObjectActivation\TIMINGS_PRESETTING.
Referenced by addObject().
|
private |
Definition at line 1312 of file class.ilSoapObjectAdministration.php.
References $row, $target_id, $target_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 1173 of file class.ilSoapObjectAdministration.php.
References $ilUser, $lng, $options, $target_id, 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 843 of file class.ilSoapObjectAdministration.php.
References 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\__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\__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\__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\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_hasUntrashedReference(), ilObject\_lookupObjectId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getPathForRefId | ( | $sid, | |
$ref_id | |||
) |
Definition at line 1259 of file class.ilSoapObjectAdministration.php.
References $ilUser, $lng, $ref_id, $row, 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\__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\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getTreeChilds | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 434 of file class.ilSoapObjectAdministration.php.
References $ref_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilFMSettings\getInstance(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapObjectAdministration::getXMLTree | ( | $sid, | |
$ref_id, | |||
$types, | |||
$user_id | |||
) |
Definition at line 510 of file class.ilSoapObjectAdministration.php.
References $ref_id, 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 1103 of file class.ilSoapObjectAdministration.php.
References $ilUser, $lng, $ref_id, $target_id, 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 896 of file class.ilSoapObjectAdministration.php.
References $ilLog, $ref_id, 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 $ref_id, $res, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSearchSettings\getInstance(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), QP_COMBINATION_AND, and QP_COMBINATION_OR.
ilSoapObjectAdministration::updateObjects | ( | $sid, | |
$a_xml | |||
) |
Definition at line 962 of file class.ilSoapObjectAdministration.php.
References $lng, $ref_id, $res, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), updateReferences(), and validateReferences().
|
private |
Definition at line 1409 of file class.ilSoapObjectAdministration.php.
References $ilLog, ilObjectActivation\getItem(), ilObjectXMLWriter\TIMING_DEACTIVATED, ilObjectXMLWriter\TIMING_PRESETTING, ilObjectXMLWriter\TIMING_TEMPORARILY_AVAILABLE, ilObjectActivation\TIMINGS_ACTIVATION, ilObjectActivation\TIMINGS_DEACTIVATED, and ilObjectActivation\TIMINGS_PRESETTING.
Referenced by updateObjects().
|
private |
Definition at line 1346 of file class.ilSoapObjectAdministration.php.
References $target_type, ilSoapAdministration\__raiseError(), ilObject\_lookupObjId(), ilObject\_lookupType(), canAddType(), and ilSoapAdministration\isFault().
Referenced by addObject(), and updateObjects().