ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilFileServicesSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
27 
28 class ilFileServicesSetupAgent extends NullAgent implements Agent
29 {
30  #[\Override]
31  public function getInstallObjective(?Config $config = null): Objective
32  {
33  return new ObjectiveCollection(
34  "Check for several PHP-Extensions needed by FileServices.",
35  true,
37  new PHPExtensionLoadedCondition("imagick"),
38  new PHPExtensionLoadedCondition("zip"),
41  )
42  );
43  }
44 
45  #[\Override]
46  public function getUpdateObjective(?Config $config = null): Objective
47  {
48  return $this->getInstallObjective($config);
49  }
50 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An agent that just doesn&#39;t do a thing.
Definition: NullAgent.php:34
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A configuration for the setup.
Definition: Config.php:26