ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilExerciseDerivedTaskProviderFactory.php
Go to the documentation of this file.
1 <?php
2 
25 {
27  protected ilAccess $access;
28  protected ilLanguage $lng;
29 
30  public function __construct(
31  ilTaskService $task_service,
32  ilAccess $access = null,
33  ilLanguage $lng = null
34  ) {
35  global $DIC;
36 
37  $this->access = is_null($access)
38  ? $DIC->access()
39  : $access;
40 
41  $this->lng = is_null($lng)
42  ? $DIC->language()
43  : $lng;
44 
45  $this->task_service = $task_service;
46  }
47 
51  public function getProviders(): array
52  {
53  return [
55  $this->task_service,
56  $this->access,
57  $this->lng,
62  new \ILIAS\Exercise\Submission\SubmissionDBRepository()
63  )
64  )
65  ];
66  }
67 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilTaskService $task_service, ilAccess $access=null, ilLanguage $lng=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Task service.