ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 30 of file class.ilSoapBackgroundTasksAdministration.php.

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

31  {
32  $this->initAuth($sid);
33  $this->initIlias();
34 
35  if (!$this->__checkSession($sid)) {
36  return $this->__raiseError($this->__getMessage(), $this->__getMessageCode());
37  }
38 
39  global $DIC;
40 
41  return $DIC->backgroundTasks()->taskManager()->runAsync();
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: