ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilMailSetupAgent.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
ilMailSetupAgent
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
'mail'
,
42
ilFileSystemComponentDataDirectoryCreatedObjective::DATADIR
43
);
44
}
45
46
public
function
getUpdateObjective
(Setup\
Config
$config
= null): Setup\
Objective
47
{
48
return
new
ilDatabaseUpdateStepsExecutedObjective
(
49
new
ilMailDatabaseUpdateSteps
()
50
);
51
}
52
53
public
function
getBuildArtifactObjective
(): Setup\
Objective
54
{
55
return
new
Setup\Objective\NullObjective();
56
}
57
58
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
59
{
60
return
new
Setup\Objective\NullObjective();
61
}
62
63
public
function
getMigrations
(): array
64
{
65
return
[];
66
}
67
}
LogicException
ilMailSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilMailSetupAgent.php:46
ilMailSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilMailSetupAgent.php:53
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ByTrying.php:21
ilMailSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilMailSetupAgent.php:33
ilMailSetupAgent\getMigrations
getMigrations()
Definition:
class.ilMailSetupAgent.php:63
ilFileSystemComponentDataDirectoryCreatedObjective\DATADIR
const DATADIR
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:23
ilMailSetupAgent\hasConfig
hasConfig()
Definition:
class.ilMailSetupAgent.php:28
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
ilDatabaseUpdateStepsExecutedObjective
Factory
ilFileSystemComponentDataDirectoryCreatedObjective
Definition:
class.ilFileSystemComponentDataDirectoryCreatedObjective.php:21
ilMailDatabaseUpdateSteps
Definition:
class.ilMailDatabaseUpdateSteps.php:21
ilMailSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilMailSetupAgent.php:38
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
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ilMailSetupAgent
Definition:
class.ilMailSetupAgent.php:24
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilMailSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilMailSetupAgent.php:58
Services
Mail
classes
Setup
class.ilMailSetupAgent.php
Generated on Sun Aug 31 2025 22:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)