ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDummyDerivedTaskProvider.php
Go to the documentation of this file.
1<?php
2
25{
27
32 {
33 $this->task_service = $task_service;
34 }
35
39 public function isActive(): bool
40 {
41 return true;
42 }
43
47 public function getTasks(int $user_id): array
48 {
49 $tasks = [];
50
51 $tasks[] = $this->task_service->derived()->factory()->task(
52 "title",
53 123,
54 1234,
55 1000
56 );
57
58 return $tasks;
59 }
60}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilTaskService $task_service)
Constructor.
getTasks(int $user_id)
Get providers.ilDerivedTask[]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...