ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCtrlBaseClassArtifactObjective Class Reference

Class ilCtrlSecurityArtifactObjective. More...

+ Inheritance diagram for ilCtrlBaseClassArtifactObjective:
+ Collaboration diagram for ilCtrlBaseClassArtifactObjective:

Public Member Functions

 getArtifactPath ()
 
 build ()
 
- 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
 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_base_classes.php"
 

Additional Inherited Members

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

Detailed Description

Member Function Documentation

◆ build()

ilCtrlBaseClassArtifactObjective::build ( )

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

35  : Artifact
36  {
37  $finder = new ImplementationOfInterfaceFinder();
38 
39  $base_classes = [];
40  foreach ($finder->getMatchingClassNames(ilCtrlBaseClassInterface::class) as $base_class) {
41  $base_classes[] = strtolower($base_class);
42  }
43 
44  return new ArrayArtifact($base_classes);
45  }
An array as an artifact.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:27

◆ getArtifactPath()

ilCtrlBaseClassArtifactObjective::getArtifactPath ( )

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

27  : string
28  {
29  return self::ARTIFACT_PATH;
30  }

Field Documentation

◆ ARTIFACT_PATH

const ilCtrlBaseClassArtifactObjective::ARTIFACT_PATH = "./Services/UICore/artifacts/ctrl_base_classes.php"

Definition at line 22 of file class.ilCtrlBaseClassArtifactObjective.php.

Referenced by InitCtrlService\init().


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