ILIAS  release_8 Revision v8.24
class.ilUserSetupAgent.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\Setup;
21use ILIAS\UI;
22
27{
28 use Setup\Agent\HasNoNamedObjective;
29
30 public function hasConfig(): bool
31 {
32 return false;
33 }
34
36 {
37 throw new \LogicException("Agent has no config.");
38 }
39
40 public function getInstallObjective(Setup\Config $config = null): Setup\Objective
41 {
43 'usr_images',
45 );
46
48 "Complete objectives from Services/User",
49 false,
50 $dir_objective
51 );
52 }
53
54 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
55 {
57 }
58
59 public function getBuildArtifactObjective(): Setup\Objective
60 {
62 }
63
64 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
65 {
67 }
68
69 public function getMigrations(): array
70 {
71 return [];
72 }
73}
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
This class attempt to achieve a set of database update steps.
getStatusObjective(Setup\Metrics\Storage $storage)
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
A transformation is a function from one datatype to another.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...