ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.GUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
31{
35
36 public function __construct(
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
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
76 $pool,
77 $book_obj_id,
78 $context_obj_id
79 );
80 }
81
82 public function getProcessClassForPool(\ilObjBookingPool $pool): string
83 {
84 return $this->getProcessClass($pool->getScheduleType() === \ilObjBookingPool::TYPE_FIX_SCHEDULE);
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}
__construct(InternalDataService $data_service, InternalDomainService $domain_service, InternalGUIService $gui_service)
ilBookingProcessWithScheduleGUI(\ilObjBookingPool $pool, int $book_obj_id, int $context_obj_id, string $seed)
ProcessUtilGUI(\ilObjBookingPool $pool, object $parent_gui)
ilBookingProcessWithoutScheduleGUI(\ilObjBookingPool $pool, int $book_obj_id, int $context_obj_id)
Author: Alexander Killing killing@leifos.de
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...
return['delivery_method'=> 'php',]
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...