ILIAS  release_8 Revision v8.24
class.DerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\Survey\Tasks;
20
27{
28 protected \ilTaskService $task_service;
29 protected \ilAccessHandler $access;
30 protected \ilLanguage $lng;
31
32 public function __construct(
34 \ilAccess $access = null,
35 \ilLanguage $lng = null
36 ) {
37 global $DIC;
38
39 $this->access = is_null($access)
40 ? $DIC->access()
41 : $access;
42
43 $this->lng = is_null($lng)
44 ? $DIC->language()
45 : $lng;
46
47 $this->task_service = $task_service;
48 }
49
50 public function getProviders(): array
51 {
52 return [
54 $this->task_service,
55 $this->access,
56 $this->lng
57 )
58 ];
59 }
60}
__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...
language handling
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...