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.ilWebResourceSetupAgent.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
use
ILIAS\Setup
;
22
use
ILIAS\Setup\Config
;
23
27
class
ilWebResourceSetupAgent
extends
Setup\Agent\NullAgent
28
{
29
public
function
getUpdateObjective
(Setup\
Config
$config
= null): Setup\
Objective
30
{
31
return
new
Setup\ObjectiveCollection(
32
'WebLinks'
,
33
false
,
34
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilWebResourceDBUpdateSteps
()),
35
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilWebResourceDropValidSteps
())
36
);
37
}
38
39
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
40
{
41
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilWebResourceDropValidSteps
());
42
}
43
}
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup...
Definition:
Objective.php:30
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
ilWebResourceSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilWebResourceSetupAgent.php:29
ilDatabaseUpdateStepsExecutedObjective
Config
ilWebResourceSetupAgent
Definition:
class.ilWebResourceSetupAgent.php:27
ilDatabaseUpdateStepsMetricsCollectedObjective
ilWebResourceSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilWebResourceSetupAgent.php:39
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ilWebResourceDropValidSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilWebResourceDropValidSteps.php:27
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilWebResourceDBUpdateSteps
General purpose update steps for weblinks.
Definition:
class.ilWebResourceDBUpdateSteps.php:25
Modules
WebResource
classes
Setup
class.ilWebResourceSetupAgent.php
Generated on Thu Apr 10 2025 22:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)