ILIAS
eassessment Revision 61809
|
Public Member Functions | |
ilSoapUtils () | |
ignoreUserAbort () | |
disableSOAPCheck () | |
sendMail ($sid, $to, $cc, $bcc, $sender, $subject, $message, $attach) | |
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) | |
deleteExpiredDualOptInUserObjects ($sid, $usr_id) | |
Method for soap webservice: deleteExpiredDualOptInUserObjects. | |
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) |
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 309 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 282 of file class.ilSoapUtils.php.
References $ilLog, $res, and ilClone().
Referenced by ilClone().
|
private |
cloneDependencies
private
Definition at line 400 of file class.ilSoapUtils.php.
References $ilLog, $target_id, and ilObjectFactory\getInstanceByRefId().
Referenced by ilCloneDependencies().
|
private |
Clone node.
private
Definition at line 343 of file class.ilSoapUtils.php.
References $ilLog, $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 531 of file class.ilSoapUtils.php.
References $ilDB, $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::getMobsOfObject | ( | $sid, | |
$a_type, | |||
$a_id | |||
) |
Definition at line 123 of file class.ilSoapUtils.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjMediaObject\_getMobsOfObject(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::handleECSTasks | ( | $sid | ) |
Definition at line 498 of file class.ilSoapUtils.php.
References $ilLog, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilECSTaskScheduler\_getInstance(), 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 212 of file class.ilSoapUtils.php.
References $ilLog, ilSoapAdministration\__checkSession(), 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 144 of file class.ilSoapUtils.php.
References $ilLog, ilSoapAdministration\__checkSession(), 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 426 of file class.ilSoapUtils.php.
References $ilLog, $target_id, ilRbacLog\add(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
ilSoapUtils::saveTempFileAsMediaObject | ( | $sid, | |
$name, | |||
$tmp_name | |||
) |
Definition at line 109 of file class.ilSoapUtils.php.
References $name, ilSoapAdministration\__checkSession(), 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 $ilLog, ilSoapAdministration\__checkSession(), 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 476 of file class.ilSoapUtils.php.
References $error, DOMXML_LOAD_VALIDATING, and domxml_open_mem().