ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilSoapBackgroundTasksAdministration.php
Go to the documentation of this file.
1
<?php
2
20
require_once __DIR__ .
"/../../../libs/composer/vendor/autoload.php"
;
21
22
use
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager
;
23
use
ILIAS\BackgroundTasks\Persistence
;
24
25
class
ilSoapBackgroundTasksAdministration
extends
ilSoapAdministration
26
{
27
public
function
__construct
(
bool
$use_nusoap =
true
)
28
{
29
parent::__construct
($use_nusoap);
30
}
31
35
public
function
runAsync
(
string
$sid)
36
{
37
ignore_user_abort(
true
);
38
39
$this->
initAuth
($sid);
40
$this->
initIlias
();
41
42
if
(!$this->
checkSession
($sid)) {
43
return
$this->
raiseError
($this->
getMessage
(), $this->
getMessageCode
());
44
}
45
global
$DIC
;
46
$tm =
new
AsyncTaskManager
(
47
$DIC->backgroundTasks()->persistence()
48
);
49
$tm->
runAsync
();
50
return
true
;
51
}
52
}
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager
Definition:
AsyncTaskManager.php:27
ilSoapAdministration\getMessageCode
getMessageCode()
Definition:
class.ilSoapAdministration.php:128
ilSoapAdministration\raiseError
raiseError(string $a_message, $a_code)
Definition:
class.ilSoapAdministration.php:183
ilSoapAdministration
ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager\runAsync
runAsync()
Definition:
AsyncTaskManager.php:77
ilSoapAdministration\initAuth
initAuth(string $sid)
Definition:
class.ilSoapAdministration.php:133
$DIC
global $DIC
Definition:
feed.php:28
ilSoapAdministration\checkSession
checkSession(string $sid)
Definition:
class.ilSoapAdministration.php:59
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilSoapBackgroundTasksAdministration\runAsync
runAsync(string $sid)
Definition:
class.ilSoapBackgroundTasksAdministration.php:35
ilSoapBackgroundTasksAdministration
Definition:
class.ilSoapBackgroundTasksAdministration.php:25
ilSoapAdministration\initIlias
initIlias()
Definition:
class.ilSoapAdministration.php:150
ilSoapBackgroundTasksAdministration\__construct
__construct(bool $use_nusoap=true)
Definition:
class.ilSoapBackgroundTasksAdministration.php:27
Persistence
ilSoapAdministration\getMessage
getMessage()
Definition:
class.ilSoapAdministration.php:112
AsyncTaskManager
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Services
BackgroundTasks
classes
class.ilSoapBackgroundTasksAdministration.php
Generated on Tue Apr 1 2025 22:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)