ILIAS  release_7 Revision v7.30-3-g800a261c036
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}
An exception for terminatinating execution or to throw for unit testing.
language handling
derived()
Subservice for derived tasks.
__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.
getDependencies()
Get dependencies.
Interface ilAccessHandler.
Class HTTPServicesTest.
Class ChatMainBarProvider \MainMenu\Provider.
$lng