ILIAS
trunk Revision v11.0_alpha-1689-g66c127b4ae8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilSoapBackgroundTasksAdministration.php
Go to the documentation of this file.
1
<?php
2
20
require_once __DIR__ .
"/../../../../vendor/composer/vendor/autoload.php"
;
21
22
use
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager
;
23
24
class
ilSoapBackgroundTasksAdministration
extends
ilSoapAdministration
25
{
26
public
function
__construct
(
bool
$use_nusoap =
true
)
27
{
28
parent::__construct
($use_nusoap);
29
}
30
34
public
function
runAsync
(
string
$sid)
35
{
36
ignore_user_abort(
true
);
37
38
$this->
initAuth
($sid);
39
$this->
initIlias
();
40
41
if
(!$this->
checkSession
($sid)) {
42
return
$this->
raiseError
($this->
getMessage
(), $this->
getMessageCode
());
43
}
44
global
$DIC
;
45
$tm =
new
AsyncTaskManager
(
46
$DIC->backgroundTasks()->persistence()
47
);
48
$tm->
runAsync
();
49
return
true
;
50
}
51
}
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager
Definition:
AsyncTaskManager.php:26
ilSoapAdministration\getMessageCode
getMessageCode()
Definition:
class.ilSoapAdministration.php:131
ilSoapAdministration\raiseError
raiseError(string $a_message, $a_code)
Definition:
class.ilSoapAdministration.php:186
ilSoapAdministration
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager\runAsync
runAsync()
Definition:
AsyncTaskManager.php:85
ilSoapAdministration\initAuth
initAuth(string $sid)
Definition:
class.ilSoapAdministration.php:136
ilSoapAdministration\checkSession
checkSession(string $sid)
Definition:
class.ilSoapAdministration.php:59
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilSoapBackgroundTasksAdministration\runAsync
runAsync(string $sid)
Definition:
class.ilSoapBackgroundTasksAdministration.php:34
ilSoapBackgroundTasksAdministration
Definition:
class.ilSoapBackgroundTasksAdministration.php:24
ilSoapAdministration\initIlias
initIlias()
Definition:
class.ilSoapAdministration.php:156
ilSoapBackgroundTasksAdministration\__construct
__construct(bool $use_nusoap=true)
Definition:
class.ilSoapBackgroundTasksAdministration.php:26
ilSoapAdministration\getMessage
getMessage()
Definition:
class.ilSoapAdministration.php:115
AsyncTaskManager
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
components
ILIAS
BackgroundTasks_
classes
class.ilSoapBackgroundTasksAdministration.php
Generated on Wed Apr 2 2025 23:02:15 for ILIAS by
1.8.13 (using
Doxyfile
)