ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBlogDerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
28 protected \ilAccess $accessHandler;
29 protected \ilLanguage $lng;
30
31 public function __construct(
33 ?\ilAccess $accessHandler = null,
34 ?\ilLanguage $lng = null
35 ) {
36 global $DIC;
37
38 $this->taskService = $taskService;
39
40 $this->accessHandler = is_null($accessHandler)
41 ? $DIC->access()
43
44 $this->lng = is_null($lng)
45 ? $DIC->language()
46 : $lng;
47 }
48
49 public function getProviders(): array
50 {
51 return [
53 $this->taskService,
54 $this->accessHandler,
55 $this->lng
56 )
57 ];
58 }
59}
Class ilAccessHandler Checks access for ILIAS objects.
__construct(ilTaskService $taskService, ?\ilAccess $accessHandler=null, ?\ilLanguage $lng=null)
Class ilBlogDraftsDerivedTaskProvider.
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26