ILIAS  release_8 Revision v8.24
ilCtrlStructureArtifactObjective Class Reference

Class ilCtrlStructureArtifactObjective. More...

+ Inheritance diagram for ilCtrlStructureArtifactObjective:
+ Collaboration diagram for ilCtrlStructureArtifactObjective:

Public Member Functions

 getArtifactPath ()
 @inheritDoc More...
 
 build ()
 @inheritDoc More...
 
- Public Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 getArtifactPath ()
 Get the filename where the builder wants to put its artifact. More...
 
 build ()
 Build the artifact based. More...
 
 buildIn (Setup\Environment $env)
 Builds an artifact in some given Environment. More...
 
 getPreconditions (Setup\Environment $environment)
 Defaults to no preconditions. More...
 
 getHash ()
 Uses hashed Path. More...
 
 getLabel ()
 Defaults to "Build $this->getArtifactPath()". More...
 
 isNotable ()
 Defaults to 'true'. More...
 
 achieve (Setup\Environment $environment)
 Builds the artifact and puts it in its location. More...
 
 isApplicable (Setup\Environment $environment)
 
- Public Member Functions inherited from ILIAS\Setup\Objective
 getHash ()
 Get a hash for this objective. More...
 
 getLabel ()
 Get a label that describes this objective. More...
 
 isNotable ()
 Get to know if this is an interesting objective for a human. More...
 
 getPreconditions (Environment $environment)
 Objectives might depend on other objectives. More...
 
 achieve (Environment $environment)
 Objectives can be achieved. More...
 
 isApplicable (Environment $environment)
 Get to know whether the objective is applicable. More...
 

Data Fields

const ARTIFACT_PATH = "./Services/UICore/artifacts/ctrl_structure.php"
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 makeDirectoryFor (string $path)
 

Detailed Description

Member Function Documentation

◆ build()

ilCtrlStructureArtifactObjective::build ( )

@inheritDoc

Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.

Definition at line 35 of file class.ilCtrlStructureArtifactObjective.php.

35 : Artifact
36 {
37 $ilias_path = dirname(__FILE__, 6);
38 $class_map = require $ilias_path . "/libs/composer/vendor/composer/autoload_classmap.php";
39
40 return new ArrayArtifact(
42 new ilCtrlArrayIterator($class_map),
44 ))->readStructure()
45 );
46 }
An array as an artifact.
Class ilCtrlArrayIterator.
Class ilCtrlStructureCidGenerator.
Class ilCtrlStructureReader is responsible for reading ilCtrl's control structure.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:28

◆ getArtifactPath()

ilCtrlStructureArtifactObjective::getArtifactPath ( )

@inheritDoc

Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.

Definition at line 27 of file class.ilCtrlStructureArtifactObjective.php.

References ARTIFACT_PATH.

Field Documentation

◆ ARTIFACT_PATH

const ilCtrlStructureArtifactObjective::ARTIFACT_PATH = "./Services/UICore/artifacts/ctrl_structure.php"

The documentation for this class was generated from the following file: