ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
ilSoapUtils () | |
ignoreUserAbort () | |
disableSOAPCheck () | |
sendMail ($sid, $to, $cc, $bcc, $sender, $subject, $message, $attach) | |
distributeMails ($sid, $a_mail_xml) | |
mail via soap | |
saveTempFileAsMediaObject ($sid, $name, $tmp_name) | |
getMobsOfObject ($sid, $a_type, $a_id) | |
ilCloneDependencies ($sid, $copy_identifier) | |
clone object dependencies (e.g. | |
ilClone ($sid, $copy_identifier) | |
Clone object. | |
handleECSTasks ($sid, $a_server_id) | |
deleteExpiredDualOptInUserObjects ($sid, $usr_id) | |
Method for soap webservice: deleteExpiredDualOptInUserObjects. | |
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) |
Static Public Member Functions | |
static | validateXML ($xml) |
validates an xml file, if dtd is attached | |
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 |
Private Member Functions | |
callNextNode ($sid, $cp_options) | |
Call next node using soap. | |
callNextDependency ($sid, $cp_options) | |
cloneNode ($node, $cp_options) | |
Clone node. | |
cloneDependencies ($node, $cp_options) | |
cloneDependencies | |
linkNode ($node, $cp_options) | |
Link node. |
Additional Inherited Members | |
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.ilSoapUtils.php.
|
private |
Definition at line 413 of file class.ilSoapUtils.php.
References $ilLog, $res, and ilCloneDependencies().
Referenced by ilCloneDependencies().
|
private |
Call next node using soap.
object | copx wizard options instance private |
Definition at line 387 of file class.ilSoapUtils.php.
References $ilLog, $res, and ilClone().
Referenced by ilClone().
|
private |
cloneDependencies
private
Definition at line 503 of file class.ilSoapUtils.php.
References $ilLog, $target_id, and ilObjectFactory\getInstanceByRefId().
Referenced by ilCloneDependencies().
|
private |
Clone node.
private
Definition at line 446 of file class.ilSoapUtils.php.
References $ilLog, $options, $target_id, ilRbacLog\add(), ilRbacLog\COPY_OBJECT, ilRbacLog\gatherFaPa(), and ilObjectFactory\getInstanceByRefId().
Referenced by ilClone().
ilSoapUtils::deleteExpiredDualOptInUserObjects | ( | $sid, | |
$usr_id | |||
) |
Method for soap webservice: deleteExpiredDualOptInUserObjects.
This service will run in background. The client has not to wait for response.
string | $sid | Session id + client id, separated by :: |
integer | $usr_id | User id of the actuator |
Definition at line 634 of file class.ilSoapUtils.php.
References $ilLog, $query, $res, $row, $usr_id, ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::disableSOAPCheck | ( | ) |
Definition at line 47 of file class.ilSoapUtils.php.
ilSoapUtils::distributeMails | ( | $sid, | |
$a_mail_xml | |||
) |
mail via soap
object | $sid | |
object | $a_mail_xml |
Definition at line 123 of file class.ilSoapUtils.php.
References $file, $GLOBALS, $ilUser, $ok, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilUtil\_sanitizeFilemame(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilMail\setSaveInSentbox().
ilSoapUtils::getMobsOfObject | ( | $sid, | |
$a_type, | |||
$a_id | |||
) |
Definition at line 228 of file class.ilSoapUtils.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjMediaObject\_getMobsOfObject(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::handleECSTasks | ( | $sid, | |
$a_server_id | |||
) |
Definition at line 601 of file class.ilSoapUtils.php.
References $ilLog, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilECSTaskScheduler\_getInstanceByServerId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::ignoreUserAbort | ( | ) |
Definition at line 42 of file class.ilSoapUtils.php.
ilSoapUtils::ilClone | ( | $sid, | |
$copy_identifier | |||
) |
Clone object.
public
string | soap session id |
int | copy identifier (ilCopyWizarardOptions) |
Definition at line 317 of file class.ilSoapUtils.php.
References $ilLog, $ilUser, $options, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilCopyWizardOptions\_getInstance(), callNextNode(), cloneNode(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilCloneDependencies(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and linkNode().
Referenced by callNextNode().
ilSoapUtils::ilCloneDependencies | ( | $sid, | |
$copy_identifier | |||
) |
clone object dependencies (e.g.
course start objects, preconditions ...)
public
Definition at line 249 of file class.ilSoapUtils.php.
References $ilLog, $ilUser, $options, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilCopyWizardOptions\_getInstance(), callNextDependency(), cloneDependencies(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Referenced by callNextDependency(), and ilClone().
ilSoapUtils::ilSoapUtils | ( | ) |
Definition at line 37 of file class.ilSoapUtils.php.
References ilSoapAdministration\ilSoapAdministration().
|
private |
Link node.
private
Definition at line 529 of file class.ilSoapUtils.php.
References $ilLog, $options, $target_id, ilRbacLog\add(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
ilSoapUtils::saveTempFileAsMediaObject | ( | $sid, | |
$name, | |||
$tmp_name | |||
) |
Definition at line 214 of file class.ilSoapUtils.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::sendMail | ( | $sid, | |
$to, | |||
$cc, | |||
$bcc, | |||
$sender, | |||
$subject, | |||
$message, | |||
$attach | |||
) |
Definition at line 52 of file class.ilSoapUtils.php.
References $filename, $ilLog, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
static |
validates an xml file, if dtd is attached
$xml | current xml stream |
Definition at line 579 of file class.ilSoapUtils.php.
References DOMXML_LOAD_VALIDATING, and domxml_open_mem().