ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilExerciseSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
//namespace ILIAS\Exercise\Setup;
22
23
use
ILIAS\Setup
;
24
use
ILIAS\Exercise\Setup\ilExerciseDBUpdateSteps
;
25
use
ILIAS\Setup\ObjectiveCollection
;
26
30
class
ilExerciseSetupAgent
extends
Setup\Agent\NullAgent
31
{
32
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
33
{
34
return
new
ObjectiveCollection
(
35
'Database is updated for component/ILIAS/Exercise'
,
36
false
,
37
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilExerciseDBUpdateSteps
()),
38
);
39
}
40
41
public
function
getMigrations
(): array
42
{
43
return
[
44
new
ilExerciseInstructionFilesMigration
(),
45
new
ilExerciseSampleSolutionMigration
(),
46
new
ilExerciseTutorFeedbackFileMigration
(),
47
new
ilExerciseTutorTeamFeedbackFileMigration
(),
48
new
ilExerciseSubmissionMigration
(),
49
new
ilExercisePeerFeedbackMigration
()
50
];
51
}
52
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup...
Definition:
Objective.php:30
ilExerciseSetupAgent
Definition:
class.ilExerciseSetupAgent.php:30
ilExerciseSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilExerciseSetupAgent.php:32
ilExerciseSubmissionMigration
Definition:
class.ilExerciseSubmissionMigration.php:24
ilDatabaseUpdateStepsExecutedObjective
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilExerciseSetupAgent\getMigrations
getMigrations()
Definition:
class.ilExerciseSetupAgent.php:41
ilExerciseInstructionFilesMigration
Definition:
class.ilExerciseInstructionFilesMigration.php:31
ilExerciseSampleSolutionMigration
Definition:
class.ilExerciseSampleSolutionMigration.php:27
ObjectiveCollection
ilExercisePeerFeedbackMigration
Definition:
class.ilExercisePeerFeedbackMigration.php:24
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ilExerciseTutorFeedbackFileMigration
Definition:
class.ilExerciseTutorFeedbackFileMigration.php:28
ILIAS\Exercise\Setup\ilExerciseDBUpdateSteps
Definition:
class.ilExerciseDBUpdateSteps.php:26
ILIAS\Setup
Definition:
Setup.php:25
ilExerciseTutorTeamFeedbackFileMigration
Definition:
class.ilExerciseTutorTeamFeedbackFileMigration.php:28
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilExerciseDBUpdateSteps
components
ILIAS
Exercise
classes
Setup
class.ilExerciseSetupAgent.php
Generated on Wed Sep 3 2025 23:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)