ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilGlobalScreenBuildProviderMapObjective Class Reference
+ Inheritance diagram for ilGlobalScreenBuildProviderMapObjective:
+ Collaboration diagram for ilGlobalScreenBuildProviderMapObjective:

Public Member Functions

 getArtifactName ()
 Get the filename where the builder wants to put its artifact. More...
 
 build ()
 Build the artifact based. More...
 
- 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
 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...
 

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()

ilGlobalScreenBuildProviderMapObjective::build ( )

Build the artifact based.

If you want to use the environment reimplement buildIn instead.

Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.

Definition at line 44 of file class.ilGlobalScreenBuildProviderMapObjective.php.

44 : Artifact
45 {
46 $class_names = [];
47 $i = [
48 StaticMainMenuProvider::class,
49 StaticMetaBarProvider::class,
50 StaticFooterProvider::class,
51 DynamicToolProvider::class,
52 ModificationProvider::class,
53 NotificationProvider::class,
54 ToastProvider::class
55 ];
56
57 $finder = new ImplementationOfInterfaceFinder();
58 foreach ($i as $interface) {
59 $class_names[$interface] = iterator_to_array(
60 $finder->getMatchingClassNames($interface)
61 );
62 }
63
64 return new ArrayArtifact($class_names);
65 }
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:28

◆ getArtifactName()

ilGlobalScreenBuildProviderMapObjective::getArtifactName ( )

Get the filename where the builder wants to put its artifact.

This is understood to be a path relative to the ILIAS root directory.

Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.

Definition at line 38 of file class.ilGlobalScreenBuildProviderMapObjective.php.

38 : string
39 {
40 return "global_screen_providers";
41 }

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