ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilBibliographicSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\Refinery
;
20
use
ILIAS\Setup
;
21
26
final
class
ilBibliographicSetupAgent
implements
Setup\Agent
27
{
28
use
Setup\Agent\HasNoNamedObjective
;
29
33
public
const
COMPONENT_DIR
=
'bibl'
;
34
38
public
function
hasConfig
(): bool
39
{
40
return
false
;
41
}
42
46
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
47
{
48
throw
new
LogicException
(
"ilBibliographicSetupAgent has no config."
);
49
}
50
54
public
function
getInstallObjective
(Setup\
Config
$config = null): Setup\
Objective
55
{
56
return
new
ilFileSystemComponentDataDirectoryCreatedObjective
(
57
self::COMPONENT_DIR,
58
ilFileSystemComponentDataDirectoryCreatedObjective::DATADIR
59
);
60
}
61
65
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
66
{
67
return
new
Setup\ObjectiveCollection(
'Setup Bibliografic directories and database'
,
true
, ...[
68
new
ilDatabaseUpdateStepsExecutedObjective
(
69
new
ilBibliograficDB80
()
70
)
71
]);
72
}
73
77
public
function
getBuildArtifactObjective
(): Setup\
Objective
78
{
79
return
new
Setup\Objective\NullObjective();
80
}
81
85
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
86
{
87
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilBibliograficDB80
());
88
}
89
93
public
function
getMigrations
(): array
94
{
95
return
[];
96
}
97
}
LogicException
ilBibliographicSetupAgent\getMigrations
getMigrations()
Definition:
class.ilBibliographicSetupAgent.php:93
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
ilBibliographicSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilBibliographicSetupAgent.php:77
ilFileSystemComponentDataDirectoryCreatedObjective\DATADIR
const DATADIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:23
ilBibliograficDB80
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBibliograficDB80.php:23
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
ilBibliographicSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilBibliographicSetupAgent.php:54
ilBibliographicSetupAgent\COMPONENT_DIR
const COMPONENT_DIR
Definition:
class.ilBibliographicSetupAgent.php:33
ilBibliographicSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilBibliographicSetupAgent.php:65
Factory
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:21
ilBibliographicSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilBibliographicSetupAgent.php:85
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
ilBibliographicSetupAgent\hasConfig
hasConfig()
Definition:
class.ilBibliographicSetupAgent.php:38
ilBibliographicSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilBibliographicSetupAgent.php:46
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
HasNoNamedObjective
ilBibliographicSetupAgent
Class ilBibliographicSetupAgent.
Definition:
class.ilBibliographicSetupAgent.php:26
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
Modules
Bibliographic
classes
Setup
class.ilBibliographicSetupAgent.php
Generated on Wed Sep 10 2025 14:10:29 for ILIAS by
1.8.13 (using
Doxyfile
)