3 declare(strict_types=1);
11 public static function dic() : Container
22 $dic =
new Container();
24 $dic[
'permissionhelper'] =
function (
$dic) use ($prg, $DIC) {
36 protected static function buildDIC() : Container
39 $dic =
new Container();
41 $dic[
'ilAppEventHandler'] =
function (
$dic) use ($DIC) {
42 return $DIC->offsetExists(
'ilAppEventHandler') ?
43 $DIC[
'ilAppEventHandler'] : new \ilAppEventHandler();
45 $dic[
'ilStudyProgrammeEvents'] =
function (
$dic) {
47 $dic[
'ilAppEventHandler'],
48 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository']
51 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'] =
function (
$dic) use ($DIC) {
56 $dic[
'model.Progress.ilStudyProgrammeProgressRepository'] =
function (
$dic) use ($DIC) {
59 $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository'] =
function (
$dic) use ($DIC) {
62 $dic[
'model.AutoMemberships.ilStudyProgrammeAutoMembershipsRepository'] =
function (
$dic) use ($DIC) {
65 (
int) $DIC[
'ilUser']->getId()
68 $dic[
'model.AutoMemberships.ilStudyProgrammeMembershipSourceReaderFactory'] =
function (
$dic) use ($DIC) {
72 $dic[
'model.Type.ilStudyProgrammeTypeRepository'] =
function (
$dic) use ($DIC) {
75 $dic[
'model.Settings.ilStudyProgrammeSettingsRepository'],
76 $DIC->filesystem()->web(),
78 $DIC[
'ilPluginAdmin'],
82 $dic[
'model.AutoCategories.ilStudyProgrammeAutoCategoriesRepository'] =
function (
$dic) use ($DIC) {
85 (
int) $DIC[
'ilUser']->getId()
88 $dic[
'ilObjStudyProgrammeSettingsGUI'] =
function (
$dic) use ($DIC) {
93 $DIC->ui()->factory()->input(),
94 $DIC->ui()->renderer(),
95 $DIC->http()->request(),
98 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
99 $dic[
'ilStudyProgrammeCommonSettingsGUI'],
104 $dic[
'PRGMessages'] =
function (
$dic) use ($DIC) {
112 $dic[
'ilObjStudyProgrammeMembersGUI'] =
function (
$dic) use ($DIC) {
120 $dic[
'ilStudyProgrammeUserProgressDB'],
121 $dic[
'ilStudyProgrammeUserAssignmentDB'],
122 $dic[
'ilStudyProgrammeRepositorySearchGUI'],
123 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'],
129 $dic[
'ilObjStudyProgrammeAutoMembershipsGUI'] =
function (
$dic) use ($DIC) {
135 $DIC->ui()->factory(),
136 $DIC[
'ui.factory']->messageBox(),
137 $DIC[
'ui.factory']->button(),
138 $DIC->ui()->renderer(),
139 $DIC->http()->request(),
143 $dic[
'ilObjStudyProgrammeTreeGUI'] =
function (
$dic) use ($DIC) {
155 $dic[
'ilStudyProgrammeTypeGUI'] =
function (
$dic) use ($DIC) {
164 $dic[
'model.Type.ilStudyProgrammeTypeRepository'],
165 $DIC->ui()->factory()->input(),
166 $DIC->ui()->renderer(),
167 $DIC->http()->request(),
171 $dic[
'ilStudyProgrammeRepositorySearchGUI'] =
function (
$dic) {
174 $dic[
'ilObjStudyProgrammeIndividualPlanGUI'] =
function (
$dic) use ($DIC) {
180 $dic[
'ilStudyProgrammeUserProgressDB'],
181 $dic[
'ilStudyProgrammeUserAssignmentDB'],
185 $dic[
'ilObjStudyProgrammeAutoCategoriesGUI'] =
function (
$dic) use ($DIC) {
191 $DIC->ui()->factory(),
192 $DIC[
'ui.factory']->messageBox(),
193 $DIC[
'ui.factory']->button(),
194 $DIC->ui()->renderer(),
195 $DIC->http()->request(),
199 $dic[
'DataFactory'] =
function (
$dic) use ($DIC) {
200 return new \ILIAS\Data\Factory();
202 $dic[
'ilStudyProgrammeUserProgressDB'] =
function (
$dic) use ($DIC) {
203 return $dic[
'model.Progress.ilStudyProgrammeProgressRepository'];
206 $dic[
'ilStudyProgrammeUserAssignmentDB'] =
function (
$dic) use ($DIC) {
207 return $dic[
'model.Assignment.ilStudyProgrammeAssignmentRepository'];
210 $dic[
'ilOrgUnitObjectTypePositionSetting'] =
function (
$dic) {
214 $dic[
'ilStudyProgrammeMailMemberSearchGUI'] =
function (
$dic) use ($DIC) {
222 $dic[
'ilStudyProgrammeChangeExpireDateGUI'] =
function (
$dic) use ($DIC) {
229 $DIC->ui()->factory()->input(),
230 $DIC->ui()->renderer(),
231 $DIC->http()->request(),
237 $dic[
'ilStudyProgrammeChangeDeadlineGUI'] =
function (
$dic) use ($DIC) {
244 $DIC->ui()->factory()->input(),
245 $DIC->ui()->renderer(),
246 $DIC->http()->request(),
252 $dic[
'ilStudyProgrammeDashboardViewGUI'] =
function (
$dic) use ($DIC) {
265 $dic[
'ilStudyProgrammeCommonSettingsGUI'] =
function (
$dic) use ($DIC) {
278 $dic[
'current_user'] =
function (
$dic) use ($DIC) {
279 return $DIC[
'ilUser'];
Util around ilPRGMessageCollection factors and output collections.
Class ilStudyProgrammeAutoCategoryDBRepository.
Class ilObjStudyProgrammeAutoCategoriesGUI.
Class ilOrgUnitPositionAccess.
Class ilObjStudyProgrammeIndividualPlanGUI.
Provides adapters to read member-ids from a specific source.
ilObjStudyProgrammeMembersGUI: ilStudyProgrammeRepositorySearchGUI ilObjStudyProgrammeMembersGUI: il...
static specificDicFor(\ilObjStudyProgramme $prg)
Both role and OrgU-based permissions are relevant in many places of the PRG.
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...
Confirmation screen class.
Holds information about multi-actions, mainly in context of member-assignemnts and status changes...
Class ilStudyProgrammeAutoMembershipsDBRepository.