ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSoapBackgroundTasksAdministration Class Reference
+ Inheritance diagram for ilSoapBackgroundTasksAdministration:
+ Collaboration diagram for ilSoapBackgroundTasksAdministration:

Public Member Functions

 runAsync ($sid)
 
- 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)
 

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 More...
 
- Data Fields inherited from ilSoapAdministration
 $sauth = null
 
 $error_method = null
 
- Protected Attributes inherited from ilSoapAdministration
 $soap_check = true
 

Detailed Description

Member Function Documentation

◆ runAsync()

ilSoapBackgroundTasksAdministration::runAsync (   $sid)

Definition at line 28 of file class.ilSoapBackgroundTasksAdministration.php.

References $DIC, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().

29  {
30  $this->initAuth($sid);
31  $this->initIlias();
32 
33  if (!$this->__checkSession($sid)) {
34  return $this->__raiseError($this->__getMessage(), $this->__getMessageCode());
35  }
36  global $DIC;
37 
38  $tm = new \ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager($DIC->backgroundTasks()->persistence());
39  $tm->runAsync();
40 
41  return true;
42  }
global $DIC
Definition: saml.php:7
__raiseError($a_message, $a_code)
initAuth($sid)
Init authentication.
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: