ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilTaskService.php
Go to the documentation of this file.
1 <?php
2 
20 
27 {
29 
37  public function __construct(
38  ilObjUser $user,
40  UIServices $ui,
41  ilAccessHandler $access,
42  ?array $derived_task_provider_factories = null
43  ) {
44  $derived_task_provider_master_factory = new ilDerivedTaskProviderMasterFactory($this, $derived_task_provider_factories);
45  $this->_deps = new ilTaskServiceDependencies($user, $lng, $ui, $access, $derived_task_provider_master_factory);
46  }
47 
54  {
55  return $this->_deps;
56  }
57 
58 
59 
65  public function derived(): ilDerivedTaskService
66  {
67  return new ilDerivedTaskService($this);
68  }
69 }
derived()
Subservice for derived tasks.
ilTaskServiceDependencies $_deps
getDependencies()
Get dependencies.
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
Provides fluid interface to RBAC services.
Definition: UIServices.php:24
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $lng
Definition: privfeed.php:31
Task service.
__construct(ilObjUser $user, ilLanguage $lng, UIServices $ui, ilAccessHandler $access, ?array $derived_task_provider_factories=null)
This constructor contains all evil dependencies, that should e.g.