3 declare(strict_types=1);
11 public static function dic() : Container
19 protected static function buildDIC() : Container
22 $dic =
new Container();
24 $dic[
'ilAppEventHandler'] =
function (
$dic) use ($DIC) {
25 return $DIC->offsetExists(
'ilAppEventHandler') ?
26 $DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
28 $dic[
'ilStudyProgrammeEvents'] =
function (
$dic) {
30 $dic[
'ilAppEventHandler'],
31 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository']
34 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
function (
$dic) use ($DIC) {
39 $dic[
'model.Progress.ilStudyProgrammeProgressRepository'] =
function (
$dic) use ($DIC) {
42 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository'] =
function (
$dic) use ($DIC) {
45 $dic[
'model.AutoMemberships.ilStudyProgrammeAutoMembershipsRepository'] =
function (
$dic) use ($DIC) {
48 (
int) $DIC[
'ilUser']->getId()
51 $dic[
'model.AutoMemberships.ilStudyProgrammeMembershipSourceReaderFactory'] =
function (
$dic) use ($DIC) {
55 $dic[
'model.Type.ilStudyProgrammeTypeRepository'] =
function (
$dic) use ($DIC) {
58 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
59 $DIC->filesystem()->web(),
61 $DIC[
'ilPluginAdmin'],
65 $dic[
'model.AutoCategories.ilStudyProgrammeAutoCategoriesRepository'] =
function (
$dic) use ($DIC) {
68 (
int) $DIC[
'ilUser']->getId()
71 $dic[
'ilObjStudyProgrammeSettingsGUI'] =
function (
$dic) use ($DIC) {
76 $DIC->ui()->factory()->input(),
77 $DIC->ui()->renderer(),
78 $DIC->http()->request(),
81 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
82 $dic[
'ilStudyProgrammeCommonSettingsGUI'],
86 $dic[
'ilObjStudyProgrammeMembersGUI'] =
function (
$dic) use ($DIC) {
95 $dic[
'ilStudyProgrammeUserProgressDB'],
96 $dic[
'ilStudyProgrammeUserAssignmentDB'],
97 $dic[
'ilStudyProgrammeRepositorySearchGUI'],
98 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'],
99 $dic[
'ilStudyProgrammePositionBasedAccess']
102 $dic[
'ilObjStudyProgrammeAutoMembershipsGUI'] =
function (
$dic) use ($DIC) {
108 $DIC->ui()->factory(),
109 $DIC[
'ui.factory']->messageBox(),
110 $DIC[
'ui.factory']->button(),
111 $DIC->ui()->renderer(),
112 $DIC->http()->request(),
116 $dic[
'ilObjStudyProgrammeTreeGUI'] =
function (
$dic) use ($DIC) {
128 $dic[
'ilStudyProgrammeTypeGUI'] =
function (
$dic) use ($DIC) {
137 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
138 $DIC->ui()->factory()->input(),
139 $DIC->ui()->renderer(),
140 $DIC->http()->request(),
144 $dic[
'ilStudyProgrammeRepositorySearchGUI'] =
function (
$dic) {
147 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'] =
function (
$dic) use ($DIC) {
154 $dic[
'ilStudyProgrammeUserProgressDB'],
155 $dic[
'ilStudyProgrammeUserAssignmentDB']
158 $dic[
'ilObjStudyProgrammeAutoCategoriesGUI'] =
function (
$dic) use ($DIC) {
164 $DIC->ui()->factory(),
165 $DIC[
'ui.factory']->messageBox(),
166 $DIC[
'ui.factory']->button(),
167 $DIC->ui()->renderer(),
168 $DIC->http()->request(),
172 $dic[
'DataFactory'] =
function (
$dic) use ($DIC) {
173 return new \ILIAS\Data\Factory();
175 $dic[
'ilStudyProgrammeUserProgressDB'] =
function (
$dic) use ($DIC) {
177 if (strpos(get_class(
$lng),
'class@anonymous') === 0) {
178 $lng = new \ilSetupLanguage(
"en");
182 $dic[
'model.Progress.ilStudyProgrammeProgressRepository'],
183 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository'],
185 $dic[
'ilStudyProgrammeEvents']
188 $dic[
'ilStudyProgrammeUserAssignmentDB'] =
function (
$dic) use ($DIC) {
189 $tree = $DIC->offsetExists(
'tree') ?
190 $DIC[
'tree'] :
new ilTree(ROOT_FOLDER_ID);
192 $logger = $DIC[
'ilLog'];
193 if (strpos(get_class($logger),
'class@anonymous') === 0) {
198 $dic[
'ilStudyProgrammeUserProgressDB'],
199 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository'],
201 $dic[
'ilStudyProgrammeEvents']
204 $dic[
'ilOrgUnitObjectTypePositionSetting'] =
function (
$dic) {
207 $dic[
'ilStudyProgrammePositionBasedAccess'] =
function (
$dic) {
210 $dic[
'ilStudyProgrammeMailMemberSearchGUI'] =
function (
$dic) use ($DIC) {
218 $dic[
'ilStudyProgrammeChangeExpireDateGUI'] =
function (
$dic) use ($DIC) {
225 $DIC->ui()->factory()->input(),
226 $DIC->ui()->renderer(),
227 $DIC->http()->request(),
230 $dic[
'ilStudyProgrammeUserProgressDB']
233 $dic[
'ilStudyProgrammeChangeDeadlineGUI'] =
function (
$dic) use ($DIC) {
240 $DIC->ui()->factory()->input(),
241 $DIC->ui()->renderer(),
242 $DIC->http()->request(),
245 $dic[
'ilStudyProgrammeUserProgressDB']
248 $dic[
'ilStudyProgrammeDashboardViewGUI'] =
function (
$dic) use ($DIC) {
261 $dic[
'ilStudyProgrammeCommonSettingsGUI'] =
function (
$dic) use ($DIC) {
Class ilStudyProgrammeAutoCategoryDBRepository.
Class ilObjStudyProgrammeAutoCategoriesGUI.
Class ilOrgUnitPositionAccess.
Storage implementation for ilStudyProgrammeUserProgress.
Class ilObjStudyProgrammeIndividualPlanGUI.
Provides adapters to read member-ids from a specific source.
ilObjStudyProgrammeMembersGUI: ilStudyProgrammeRepositorySearchGUI ilObjStudyProgrammeMembersGUI: il...
Custom repository search gui class for study programme to make it possible to get a handle on users s...
Class ilObjStudyProgrammeAutoMembershipsGUI.
static getLogger($a_component_id)
Get component logger.
ilObjStudyProgrammeSettingsGUI: ilStudyProgrammeCommonSettingsGUI
Object settings regarding position permissions.
Class ilObjStudyProgrammeTreeGUI Generates the manage view for ilTrainingProgramme-Repository objects...
Class ilStudyProgrammeAutoMembershipsDBRepository.