ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilExerciseDerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12{
16 protected $task_service;
17
21 protected $access;
22
26 protected $lng;
27
32 {
33 global $DIC;
34
35 $this->access = is_null($access)
36 ? $DIC->access()
37 : $access;
38
39 $this->lng = is_null($lng)
40 ? $DIC->language()
41 : $lng;
42
43 $this->task_service = $task_service;
44 }
45
49 public function getProviders() : array
50 {
51 return [
53 $this->task_service,
54 $this->access,
55 $this->lng,
60 )
61 )
62 ];
63 }
64}
An exception for terminatinating execution or to throw for unit testing.
Class ilAccessHandler.
This class determines assignment member state information directly on the persistence layer.
This should hold all accesses to exc_members table in the future.
Action class for derived tasks, mostly getting user reponsibilities by respecting permissions as well...
__construct(ilTaskService $task_service, \ilAccess $access=null, \ilLanguage $lng=null)
Constructor.
language handling
global $DIC
Definition: goto.php:24