|
ILIAS
release_8 Revision v8.24
|
Soap utitliy functions. More...
Inheritance diagram for ilSoapUtils:
Collaboration diagram for ilSoapUtils:Public Member Functions | |
| ignoreUserAbort () | |
| disableSOAPCheck () | |
| distributeMails (string $sid, string $a_mail_xml) | |
| saveTempFileAsMediaObject (string $sid, string $name, string $tmp_name) | |
| getMobsOfObject (string $sid, string $a_type, int $a_id) | |
| ilCloneDependencies (string $sid, int $copy_identifier, bool $is_initialized=false) | |
| ilClone (string $sid, int $copy_identifier) | |
| deleteExpiredDualOptInUserObjects (string $sid, int $usr_id) | |
| Method for soap webservice: deleteExpiredDualOptInUserObjects This service will run in background. More... | |
Public Member Functions inherited from ilSoapAdministration | |
| __construct (bool $use_nusoap=true) | |
| getMessage () | |
| appendMessage (string $a_str) | |
| setMessageCode (string $a_code) | |
| getMessageCode () | |
| reInitUser () | |
| isFault ($object) | |
| getInstallationInfoXML () | |
| getClientInfoXML (string $clientid) | |
Protected Member Functions | |
| rewriteActionForNode (ilCopyWizardOptions $cpo, array $node, array $options) | |
| findMappedReferenceForNode (\ilCopyWizardOptions $cpo, array $node) | |
Protected Member Functions inherited from ilSoapAdministration | |
| checkSession (string $sid) | |
| explodeSid (string $sid) | |
| setMessage (string $a_str) | |
| initAuth (string $sid) | |
| initIlias () | |
| initAuthenticationObject () | |
| raiseError (string $a_message, $a_code) | |
| checkObjectAccess (int $ref_id, array $expected_type, string $permission, bool $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true More... | |
Private Member Functions | |
| callNextNode (string $sid, ilCopyWizardOptions $cp_options) | |
| callNextDependency (string $sid, ilCopyWizardOptions $cp_options) | |
| cloneNode (array $node, ilCopyWizardOptions $cp_options) | |
| cloneDependencies (array $node, ilCopyWizardOptions $cp_options) | |
| internalLinkNode (array $node, ilCopyWizardOptions $cp_options) | |
| linkNode (array $node, ilCopyWizardOptions $cp_options) | |
Additional Inherited Members | |
Data Fields inherited from ilSoapAdministration | |
| const | NUSOAP = 1 |
| const | PHP5 = 2 |
| int | $error_method |
| Defines type of error handling (PHP5 || NUSOAP) More... | |
Protected Attributes inherited from ilSoapAdministration | |
| bool | $soap_check = true |
| string | $message = '' |
| string | $message_code = '' |
Soap utitliy functions.
Definition at line 32 of file class.ilSoapUtils.php.
|
private |
Definition at line 360 of file class.ilSoapUtils.php.
References $res, ilCopyWizardOptions\dropFirstDependenciesNode(), ilCopyWizardOptions\getCopyId(), ilLoggerFactory\getLogger(), ilSoapFunctions\ilCloneDependencies(), ilCopyWizardOptions\isSOAPEnabled(), and ilCopyWizardOptions\read().
Referenced by ilCloneDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 337 of file class.ilSoapUtils.php.
References $DIC, $res, ilCopyWizardOptions\dropFirstNode(), ilCopyWizardOptions\getCopyId(), ilLoggerFactory\getLogger(), ilSoapFunctions\ilClone(), ilCopyWizardOptions\isSOAPEnabled(), and ilCopyWizardOptions\read().
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 427 of file class.ilSoapUtils.php.
References $DIC, $target_id, ilCopyWizardOptions\getCopyId(), ilObjectFactory\getInstanceByRefId(), ilLoggerFactory\getLogger(), ilCopyWizardOptions\getMappings(), and ILIAS\Repository\int().
Referenced by ilCloneDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 380 of file class.ilSoapUtils.php.
References $DIC, $target_id, ilRbacLog\add(), ilCopyWizardOptions\appendMapping(), ilRbacLog\COPY_OBJECT, ilRbacLog\gatherFaPa(), ilCopyWizardOptions\getCopyId(), ilObjectFactory\getInstanceByRefId(), ilLoggerFactory\getLogger(), ilCopyWizardOptions\getMappings(), ilCopyWizardOptions\getOptions(), and ILIAS\Repository\int().
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUtils::deleteExpiredDualOptInUserObjects | ( | string | $sid, |
| int | $usr_id | ||
| ) |
Method for soap webservice: deleteExpiredDualOptInUserObjects This service will run in background.
The client has not to wait for response.
Definition at line 546 of file class.ilSoapUtils.php.
References $DIC, $ilDB, $query, $res, ANONYMOUS_USER_ID, ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and SYSTEM_USER_ID.
Here is the call graph for this function:| ilSoapUtils::disableSOAPCheck | ( | ) |
Definition at line 39 of file class.ilSoapUtils.php.
| ilSoapUtils::distributeMails | ( | string | $sid, |
| string | $a_mail_xml | ||
| ) |
Definition at line 48 of file class.ilSoapUtils.php.
References $DIC, Vendor\Package\$e, $ilUser, ilFileUtils\_sanitizeFilemame(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:
|
protected |
Definition at line 308 of file class.ilSoapUtils.php.
References $DIC, $ref_id, ilObject\_getAllReferences(), ilCopyWizardOptions\getMappings(), ilCopyWizardOptions\getRootNode(), ILIAS\Repository\int(), and ilTree\RELATION_CHILD.
Referenced by internalLinkNode(), and rewriteActionForNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUtils::getMobsOfObject | ( | string | $sid, |
| string | $a_type, | ||
| int | $a_id | ||
| ) |
Definition at line 140 of file class.ilSoapUtils.php.
References ilObjMediaObject\_getMobsOfObject(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapUtils::ignoreUserAbort | ( | ) |
Definition at line 34 of file class.ilSoapUtils.php.
| ilSoapUtils::ilClone | ( | string | $sid, |
| int | $copy_identifier | ||
| ) |
Definition at line 220 of file class.ilSoapUtils.php.
References $DIC, $ilUser, ilCopyWizardOptions\_getInstance(), callNextNode(), ilSoapAdministration\checkSession(), cloneNode(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilLoggerFactory\getLogger(), ilSoapAdministration\getMessage(), ilCloneDependencies(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), internalLinkNode(), linkNode(), and rewriteActionForNode().
Here is the call graph for this function:| ilSoapUtils::ilCloneDependencies | ( | string | $sid, |
| int | $copy_identifier, | ||
| bool | $is_initialized = false |
||
| ) |
Definition at line 156 of file class.ilSoapUtils.php.
References $DIC, $ilUser, ilCopyWizardOptions\_getInstance(), callNextDependency(), ilSoapAdministration\checkSession(), cloneDependencies(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilLoggerFactory\getLogger(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 446 of file class.ilSoapUtils.php.
References $DIC, Vendor\Package\$e, ilRbacLog\add(), ilCopyWizardOptions\appendMapping(), findMappedReferenceForNode(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), ilCopyWizardOptions\getMappings(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 498 of file class.ilSoapUtils.php.
References $DIC, $target_id, ilRbacLog\add(), ilCopyWizardOptions\appendMapping(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), ilLoggerFactory\getLogger(), ilCopyWizardOptions\getMappings(), ilCopyWizardOptions\getOptions(), ILIAS\Repository\int(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 289 of file class.ilSoapUtils.php.
References ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_UNDEFINED, findMappedReferenceForNode(), ILIAS\Repository\int(), and ilCopyWizardOptions\isRootNode().
Referenced by ilClone().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUtils::saveTempFileAsMediaObject | ( | string | $sid, |
| string | $name, | ||
| string | $tmp_name | ||
| ) |
Definition at line 124 of file class.ilSoapUtils.php.
References $name, ilObjMediaObject\_saveTempFileAsMediaObject(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function: