ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
31 {
35 
36  public function __construct(
37  InternalDataService $data_service,
38  InternalDomainService $domain_service,
39  InternalGUIService $gui_service
40  ) {
41  $this->data_service = $data_service;
42  $this->domain_service = $domain_service;
43  $this->gui_service = $gui_service;
44  }
45 
46  public function ProcessUtilGUI(\ilObjBookingPool $pool, object $parent_gui): ProcessUtilGUI
47  {
48  return new ProcessUtilGUI(
49  $this->domain_service,
50  $this->gui_service,
51  $pool,
52  $parent_gui
53  );
54  }
55 
57  \ilObjBookingPool $pool,
58  int $book_obj_id,
59  int $context_obj_id,
60  string $seed
62  return new \ilBookingProcessWithScheduleGUI(
63  $pool,
64  $book_obj_id,
65  $seed,
66  $context_obj_id
67  );
68  }
69 
71  \ilObjBookingPool $pool,
72  int $book_obj_id,
73  int $context_obj_id
75  return new \ilBookingProcessWithoutScheduleGUI(
76  $pool,
77  $book_obj_id,
78  $context_obj_id
79  );
80  }
81 
82  public function getProcessClassForPool(\ilObjBookingPool $pool): string
83  {
85  }
86 
87  public function getProcessClass($with_schedule = true): string
88  {
89  if ($with_schedule) {
90  return \ilBookingProcessWithScheduleGUI::class;
91  }
92  return \ilBookingProcessWithoutScheduleGUI::class;
93  }
94 
95 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBookingProcessWithoutScheduleGUI(\ilObjBookingPool $pool, int $book_obj_id, int $context_obj_id)
ilBookingProcessWithScheduleGUI(\ilObjBookingPool $pool, int $book_obj_id, int $context_obj_id, string $seed)
Author: Alexander Killing killing@leifos.de
ProcessUtilGUI(\ilObjBookingPool $pool, object $parent_gui)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(InternalDataService $data_service, InternalDomainService $domain_service, InternalGUIService $gui_service)