ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
ignoreUserAbort () | |
disableSOAPCheck () | |
distributeMails ($sid, $a_mail_xml) | |
mail via soap More... | |
saveTempFileAsMediaObject ($sid, $name, $tmp_name) | |
getMobsOfObject ($sid, $a_type, $a_id) | |
ilCloneDependencies ($sid, $copy_identifier) | |
clone object dependencies (e.g. More... | |
ilClone ($sid, $copy_identifier) | |
Clone object. More... | |
handleECSTasks ($sid, $a_server_id) | |
deleteExpiredDualOptInUserObjects ($sid, $usr_id) | |
Method for soap webservice: deleteExpiredDualOptInUserObjects. More... | |
Public Member Functions inherited from ilSoapAdministration | |
__construct ($use_nusoap=true) | |
Constructor. More... | |
initErrorWriter () | |
Overwrite error handler. More... | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
Init authentication. More... | |
initIlias () | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set More... | |
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 More... | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) | |
Static Public Member Functions | |
static | validateXML ($xml) |
validates an xml file, if dtd is attached More... | |
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 More... | |
Protected Member Functions | |
rewriteActionForNode (ilCopyWizardOptions $cpo, array $node, array $options) | |
findMappedReferenceForNode (\ilCopyWizardOptions $cpo, array $node) | |
Private Member Functions | |
callNextNode ($sid, $cp_options) | |
Call next node using soap. More... | |
callNextDependency ($sid, $cp_options) | |
cloneNode ($node, $cp_options) | |
Clone node. More... | |
cloneDependencies ($node, $cp_options) | |
cloneDependencies More... | |
internalLinkNode ($node, $cp_options) | |
Link node private. More... | |
linkNode ($node, $cp_options) | |
Link node. More... | |
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 501 of file class.ilSoapUtils.php.
References $DIC, $ilLog, $res, ilLoggerFactory\getLogger(), and ilSoapFunctions\ilCloneDependencies().
Referenced by ilCloneDependencies().
|
private |
Call next node using soap.
object | copx wizard options instance private |
Definition at line 476 of file class.ilSoapUtils.php.
References $DIC, $ilLog, $res, ilLoggerFactory\getLogger(), and ilSoapFunctions\ilClone().
Referenced by ilClone().
|
private |
cloneDependencies
private
Definition at line 590 of file class.ilSoapUtils.php.
References $DIC, $ilLog, $target_id, ilObjectFactory\getInstanceByRefId(), and ilLoggerFactory\getLogger().
Referenced by ilCloneDependencies().
|
private |
Clone node.
private
Definition at line 533 of file class.ilSoapUtils.php.
References $DIC, $ilLog, PHPMailer\PHPMailer\$options, $target_id, $tree, ilRbacLog\add(), ilRbacLog\COPY_OBJECT, ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), and ilLoggerFactory\getLogger().
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 783 of file class.ilSoapUtils.php.
References $DIC, $ilDB, $ilLog, $query, $res, $row, $user, ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::disableSOAPCheck | ( | ) |
Definition at line 42 of file class.ilSoapUtils.php.
References $DIC, $filename, $GLOBALS, $message, $path, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::distributeMails | ( | $sid, | |
$a_mail_xml | |||
) |
mail via soap
object | $sid | |
object | $a_mail_xml |
Definition at line 154 of file class.ilSoapUtils.php.
References $DIC, $GLOBALS, $ilUser, $ok, $parser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilUtil\_sanitizeFilemame(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilMail\setSaveInSentbox(), and ilFileDataMail\storeAsAttachment().
|
protected |
ilCopyWizardOptions | $cpo | |
array | $node |
Definition at line 438 of file class.ilSoapUtils.php.
References $DIC, $root, $tree, ilObject\_getAllReferences(), ilCopyWizardOptions\getMappings(), ilCopyWizardOptions\getRootNode(), and ilTree\RELATION_CHILD.
Referenced by internalLinkNode(), and rewriteActionForNode().
ilSoapUtils::getMobsOfObject | ( | $sid, | |
$a_type, | |||
$a_id | |||
) |
Definition at line 249 of file class.ilSoapUtils.php.
References $a_type, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjMediaObject\_getMobsOfObject(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::handleECSTasks | ( | $sid, | |
$a_server_id | |||
) |
Definition at line 749 of file class.ilSoapUtils.php.
References $DIC, $ilLog, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilECSTaskScheduler\_getInstanceByServerId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapUtils::ignoreUserAbort | ( | ) |
Definition at line 37 of file class.ilSoapUtils.php.
ilSoapUtils::ilClone | ( | $sid, | |
$copy_identifier | |||
) |
Clone object.
public
string | soap session id |
int | copy identifier (ilCopyWizarardOptions) |
Definition at line 336 of file class.ilSoapUtils.php.
References $action, $DIC, $ilUser, PHPMailer\PHPMailer\$options, ilSoapAdministration\__getMessage(), ilCopyWizardOptions\_getInstance(), callNextNode(), cloneNode(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilLoggerFactory\getLogger(), ilCloneDependencies(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), internalLinkNode(), linkNode(), and rewriteActionForNode().
ilSoapUtils::ilCloneDependencies | ( | $sid, | |
$copy_identifier | |||
) |
clone object dependencies (e.g.
course start objects, preconditions ...)
public
Definition at line 269 of file class.ilSoapUtils.php.
References $DIC, $ilLog, $ilUser, PHPMailer\PHPMailer\$options, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilCopyWizardOptions\_getInstance(), callNextDependency(), cloneDependencies(), ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_LINK, ilCopyWizardOptions\COPY_WIZARD_OMIT, ilLoggerFactory\getLogger(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Referenced by ilClone().
|
private |
Link node private.
$node | |
$cp_options |
ilDatabaseException |
Definition at line 618 of file class.ilSoapUtils.php.
References $DIC, $tree, ilRbacLog\add(), findMappedReferenceForNode(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
|
private |
Link node.
private
Definition at line 680 of file class.ilSoapUtils.php.
References $DIC, $ilLog, PHPMailer\PHPMailer\$options, $target_id, ilRbacLog\add(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), ilLoggerFactory\getLogger(), and ilRbacLog\LINK_OBJECT.
Referenced by ilClone().
|
protected |
array | $options |
Definition at line 411 of file class.ilSoapUtils.php.
References ilCopyWizardOptions\COPY_WIZARD_COPY, ilCopyWizardOptions\COPY_WIZARD_UNDEFINED, findMappedReferenceForNode(), and ilCopyWizardOptions\isRootNode().
Referenced by ilClone().
ilSoapUtils::saveTempFileAsMediaObject | ( | $sid, | |
$name, | |||
$tmp_name | |||
) |
Definition at line 236 of file class.ilSoapUtils.php.
References $name, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
static |
validates an xml file, if dtd is attached
$xml | current xml stream |
Definition at line 730 of file class.ilSoapUtils.php.
References $xml, and domxml_open_mem().