ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCtrlBaseClassArtifactObjective Class Reference

Class ilCtrlSecurityArtifactObjective. More...

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

Public Member Functions

 getArtifactName ()
 
 build ()
 
- Public Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 getArtifactName ()
 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 ' . 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
static PATH ()
 
- Protected Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 getPath ()
 
 makeDirectoryFor (string $path)
 
- Protected Attributes inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
const ARTIFACTS = __DIR__ . "/../../../../../artifacts"
 

Detailed Description

Member Function Documentation

◆ build()

ilCtrlBaseClassArtifactObjective::build ( )

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

42  : Artifact
43  {
44  $finder = new ImplementationOfInterfaceFinder();
45 
46  $base_classes = [];
47  foreach ($finder->getMatchingClassNames(ilCtrlBaseClassInterface::class) as $base_class) {
48  $base_classes[] = strtolower($base_class);
49  }
50 
51  return new ArrayArtifact($base_classes);
52  }
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

◆ getArtifactName()

ilCtrlBaseClassArtifactObjective::getArtifactName ( )

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

34  : string
35  {
36  return "ctrl_base_classes";
37  }

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