ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ScheduleManager.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
31 {
32  protected int $pool_id;
37 
38  public function __construct(
39  InternalDataService $data,
40  InternalRepoService $repo,
41  InternalDomainService $domain,
42  int $pool_id
43  ) {
44  $this->schedule_repo = $repo->schedules();
45  $this->schedule_repo->loadDataOfPool($pool_id);
46  $this->pool_id = $pool_id;
47  }
48 
49  public function getScheduleList(): array
50  {
51  return $this->schedule_repo->getScheduleList($this->pool_id);
52  }
53 
54  public function hasSchedules(): bool
55  {
56  return $this->schedule_repo->hasSchedules($this->pool_id);
57  }
58 
63  public function getScheduleData(): array
64  {
65  return $this->schedule_repo->getScheduleData($this->pool_id);
66  }
67 }
Author: Alexander Killing killing@leifos.de
__construct(InternalDataService $data, InternalRepoService $repo, InternalDomainService $domain, int $pool_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...