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

Public Member Functions

 getPreconditions (Environment $environment)
 @inheritdocs More...
 
 achieve (Environment $environment)
 @inheritdocs More...
 
- Public Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective
 __construct (protected ilDatabaseUpdateSteps $steps)
 
 getHash ()
 The hash for the objective is calculated over the classname and the steps that are contained. More...
 
 getLabel ()
 Get a label that describes this objective. More...
 
 isNotable ()
 @inheritdocs More...
 
 getPreconditions (Environment $environment)
 @inheritdocs More...
 
 achieve (Environment $environment)
 @inheritdocs More...
 
 isApplicable (Environment $environment)
 @inheritDoc More...
 
 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

- Data Fields inherited from ilDatabaseUpdateStepsExecutedObjective
const STEP_METHOD_PREFIX = "step_"
 
- Protected Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective
 throwStepNotFinishedException (int $started, int $finished)
 
- Protected Attributes inherited from ilDatabaseUpdateStepsExecutedObjective
string $steps_class
 

Detailed Description

Definition at line 24 of file class.ilDataCollectionObjective.php.

Member Function Documentation

◆ achieve()

ilDataCollectionObjective::achieve ( Environment  $environment)

@inheritdocs

Reimplemented from ilDatabaseUpdateStepsExecutedObjective.

Definition at line 37 of file class.ilDataCollectionObjective.php.

38 {
39 global $DIC;
40 $DIC = new Container();
41 $DIC['lng'] = new ilSetupLanguage('en');
42 $DIC['ilDB'] = $environment->getResource(Environment::RESOURCE_DATABASE);
43 $DIC['component.factory'] = $environment->getResource(Environment::RESOURCE_COMPONENT_FACTORY);
44 $DIC['component.repository'] = $environment->getResource(Environment::RESOURCE_COMPONENT_REPOSITORY);
45 return parent::achieve($environment);
46 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
language handling for setup
An environment holds resources to be used in the setup process.
Definition: Environment.php:28
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
global $DIC
Definition: shib_login.php:26

References $DIC, and ILIAS\Setup\Environment\getResource().

+ Here is the call graph for this function:

◆ getPreconditions()

ilDataCollectionObjective::getPreconditions ( Environment  $environment)

@inheritdocs

Reimplemented from ilDatabaseUpdateStepsExecutedObjective.

Definition at line 26 of file class.ilDataCollectionObjective.php.


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