ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilTaskService.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 {
16  protected $_deps;
17 
29  public function __construct(
30  ilObjUser $user,
32  \ILIAS\DI\UIServices $ui,
33  \ilAccessHandler $access,
34  array $derived_task_provider_factories = null
35  ) {
36  $derived_task_provider_master_factory = new ilDerivedTaskProviderMasterFactory($this, $derived_task_provider_factories);
37  $this->_deps = new ilTaskServiceDependencies($user, $lng, $ui, $access, $derived_task_provider_master_factory);
38  }
39 
48  {
49  return $this->_deps;
50  }
51 
52 
53 
59  public function derived()
60  {
61  return new ilDerivedTaskService($this);
62  }
63 }
derived()
Subservice for derived tasks.
getDependencies()
Get dependencies.
Class ChatMainBarProvider .
Interface ilAccessHandler.
$lng
Class HTTPServicesTest.
__construct(ilObjUser $user, ilLanguage $lng, \ILIAS\DI\UIServices $ui, \ilAccessHandler $access, array $derived_task_provider_factories=null)
This constructor contains all evil dependencies, that should e.g.
language handling
Task service.