ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilBlogDerivedTaskProviderFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28  protected \ilAccess $accessHandler;
29  protected \ilLanguage $lng;
30 
31  public function __construct(
32  ilTaskService $taskService,
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 ilBlogDraftsDerivedTaskProvider.
Class ilBlogDerivedTaskProviderFactory.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:26
__construct(ilTaskService $taskService, ?\ilAccess $accessHandler=null, ?\ilLanguage $lng=null)
Task service.