ILIAS  release_8 Revision v8.24
class.ilBlogDerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
24{
26 protected \ilAccess $accessHandler;
27 protected \ilLanguage $lng;
28
29 public function __construct(
32 \ilLanguage $lng = null
33 ) {
34 global $DIC;
35
36 $this->taskService = $taskService;
37
38 $this->accessHandler = is_null($accessHandler)
39 ? $DIC->access()
41
42 $this->lng = is_null($lng)
43 ? $DIC->language()
44 : $lng;
45 }
46
47 public function getProviders(): array
48 {
49 return [
51 $this->taskService,
52 $this->accessHandler,
53 $this->lng
54 )
55 ];
56 }
57}
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 $taskService, \ilAccess $accessHandler=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...