ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilPDFGenerationSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery
;
23
24
class
ilPDFGenerationSetupAgent
implements
Setup\Agent
25
{
26
use
Setup\Agent\HasNoNamedObjective
;
27
28
public
function
hasConfig
(): bool
29
{
30
return
false
;
31
}
32
33
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
34
{
35
throw
new
LogicException
(
"Agent has no config."
);
36
}
37
38
public
function
getInstallObjective
(Setup\
Config
$config = null): Setup\
Objective
39
{
40
return
new
ilFileSystemComponentDataDirectoryCreatedObjective
(
41
'PDFGeneration'
,
42
ilFileSystemComponentDataDirectoryCreatedObjective::DATADIR
43
);
44
}
45
46
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
47
{
48
return
new
Setup\ObjectiveCollection(
49
'PDFGeneration'
,
50
true
,
51
new
ilDatabaseUpdateStepsExecutedObjective
(
52
new
ilPDFGenerationDB90
()
53
)
54
);
55
}
56
57
public
function
getBuildArtifactObjective
(): Setup\
Objective
58
{
59
return
new
Setup\Objective\NullObjective();
60
}
61
62
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
63
{
64
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilPDFGenerationDB90
());
65
}
66
67
public
function
getMigrations
(): array
68
{
69
return
[];
70
}
71
}
LogicException
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
ILIAS\Refinery
Definition:
ByTrying.php:21
ilPDFGenerationSetupAgent\getMigrations
getMigrations()
Definition:
class.ilPDFGenerationSetupAgent.php:67
ilFileSystemComponentDataDirectoryCreatedObjective\DATADIR
const DATADIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:23
ilDatabaseUpdateStepsExecutedObjective
ilPDFGenerationSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilPDFGenerationSetupAgent.php:46
ilDatabaseUpdateStepsMetricsCollectedObjective
ilPDFGenerationDB90
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilPDFGenerationDB90.php:19
ilPDFGenerationSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilPDFGenerationSetupAgent.php:38
Factory
ilPDFGenerationSetupAgent
Definition:
class.ilPDFGenerationSetupAgent.php:24
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:21
ilPDFGenerationSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilPDFGenerationSetupAgent.php:62
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
ilPDFGenerationSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilPDFGenerationSetupAgent.php:57
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ilPDFGenerationSetupAgent\hasConfig
hasConfig()
Definition:
class.ilPDFGenerationSetupAgent.php:28
ilPDFGenerationSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilPDFGenerationSetupAgent.php:33
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
Services
PDFGeneration
Setup
class.ilPDFGenerationSetupAgent.php
Generated on Wed Sep 10 2025 14:11:49 for ILIAS by
1.8.13 (using
Doxyfile
)