ILIAS  release_8 Revision v8.24
class.ilForumDerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
30 protected ilLanguage $lng;
32
33 public function __construct(
36 ilSetting $settings = null,
37 ilLanguage $lng = null,
39 ) {
40 global $DIC;
41
42 $this->taskService = $taskService;
43 $this->accessHandler = is_null($accessHandler)
44 ? $DIC->access()
46
47 $this->settings = is_null($settings)
48 ? $DIC->settings()
49 : $settings;
50
51 $this->lng = is_null($lng)
52 ? $DIC->language()
53 : $lng;
54
55 $this->ctrl = is_null($ctrl)
56 ? $DIC->ctrl()
57 : $ctrl;
58 }
59
60 public function getProviders(): array
61 {
62 return [
64 $this->taskService,
65 $this->accessHandler,
66 $this->lng,
67 $this->settings,
68 $this->ctrl
69 )
70 ];
71 }
72}
__construct(ilTaskService $taskService, ilAccessHandler $accessHandler=null, ilSetting $settings=null, ilLanguage $lng=null, ilCtrlInterface $ctrl=null)
language handling
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...