|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This class attempt to achieve a set of database update steps. More...
Inheritance diagram for ilDatabaseUpdateStepsExecutedObjective:
Collaboration diagram for ilDatabaseUpdateStepsExecutedObjective:Public Member Functions | |
| __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... | |
Data Fields | |
| const | STEP_METHOD_PREFIX = "step_" |
Protected Member Functions | |
| throwStepNotFinishedException (int $started, int $finished) | |
Protected Attributes | |
| string | $steps_class |
This class attempt to achieve a set of database update steps.
Look into the interface ilDatabaseUpdateSteps for further instructions.
Definition at line 27 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
| ilDatabaseUpdateStepsExecutedObjective::__construct | ( | protected ilDatabaseUpdateSteps | $steps | ) |
Definition at line 32 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
| ilDatabaseUpdateStepsExecutedObjective::achieve | ( | Environment | $environment | ) |
@inheritdocs
Implements ILIAS\Setup\Objective.
Reimplemented in ilDataCollectionObjective.
Definition at line 78 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
References ILIAS\Setup\Environment\getResource(), and throwStepNotFinishedException().
Here is the call graph for this function:
|
final |
The hash for the objective is calculated over the classname and the steps that are contained.
Implements ILIAS\Setup\Objective.
Definition at line 41 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
|
final |
Get a label that describes this objective.
Implements ILIAS\Setup\Objective.
Definition at line 49 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
| ilDatabaseUpdateStepsExecutedObjective::getPreconditions | ( | Environment | $environment | ) |
@inheritdocs
Implements ILIAS\Setup\Objective.
Reimplemented in ilDataCollectionObjective, and ilFileObjectRBACDatabase.
Definition at line 65 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
| ilDatabaseUpdateStepsExecutedObjective::isApplicable | ( | Environment | $environment | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 116 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
References ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:
|
final |
@inheritdocs
Implements ILIAS\Setup\Objective.
Definition at line 57 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
|
protected |
Definition at line 127 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
Referenced by achieve().
Here is the caller graph for this function:
|
protected |
Definition at line 30 of file class.ilDatabaseUpdateStepsExecutedObjective.php.
| const ilDatabaseUpdateStepsExecutedObjective::STEP_METHOD_PREFIX = "step_" |
Definition at line 29 of file class.ilDatabaseUpdateStepsExecutedObjective.php.