ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\BookingManager\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\BookingManager\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 log ()
 
 preferences (\ilObjBookingPool $pool)
 
 process ()
 
 objects (int $pool_id)
 
 schedules (int $pool_id)
 
 reservations ()
 
 participants ()
 
 objectSelection (int $pool_id)
 
 userEvent ()
 

Protected Attributes

ilLogger $book_log = null
 
InternalRepoService $repo_service
 
InternalDataService $data_service
 

Static Protected Attributes

static array $object_manager = []
 
static array $schedule_manager = []
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 33 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\InternalDomainService::__construct ( Container  $DIC,
InternalRepoService  $repo_service,
InternalDataService  $data_service 
)

Definition at line 49 of file class.InternalDomainService.php.

References ILIAS\BookingManager\InternalDomainService\$data_service, ILIAS\BookingManager\InternalDomainService\$repo_service, and ILIAS\Repository\initDomainServices().

53  {
54  $this->repo_service = $repo_service;
55  $this->data_service = $data_service;
56  $this->initDomainServices($DIC);
57  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ log()

ILIAS\BookingManager\InternalDomainService::log ( )

Definition at line 70 of file class.InternalDomainService.php.

References ILIAS\BookingManager\InternalDomainService\$book_log, and ILIAS\Repository\logger().

Referenced by ILIAS\BookingManager\BookingProcess\ProcessUtilGUI\__construct().

70  : \ilLogger
71  {
72  if (is_null($this->book_log)) {
73  $this->book_log = $this->logger()->book();
74  }
75  return $this->book_log;
76  }
Component logger with individual log levels by component id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ objects()

ILIAS\BookingManager\InternalDomainService::objects ( int  $pool_id)

Definition at line 96 of file class.InternalDomainService.php.

Referenced by ilBookBulkCreationGUI\__construct(), and ILIAS\BookingManager\BookingProcess\ObjectSelectionManager\__construct().

96  : ObjectsManager
97  {
98  if (!isset(self::$object_manager[$pool_id])) {
99  self::$object_manager[$pool_id] = new ObjectsManager(
100  $this->data_service,
101  $this->repo_service,
102  $this,
103  $pool_id
104  );
105  }
106  return self::$object_manager[$pool_id];
107  }
+ Here is the caller graph for this function:

◆ objectSelection()

ILIAS\BookingManager\InternalDomainService::objectSelection ( int  $pool_id)

Definition at line 140 of file class.InternalDomainService.php.

140  : BookingProcess\ObjectSelectionManager
141  {
142  return new BookingProcess\ObjectSelectionManager(
143  $this->data_service,
144  $this->repo_service,
145  $this,
146  $pool_id
147  );
148  }

◆ participants()

ILIAS\BookingManager\InternalDomainService::participants ( )

Definition at line 131 of file class.InternalDomainService.php.

131  : Participants\ParticipantsManager
132  {
133  return new Participants\ParticipantsManager(
134  $this->data_service,
135  $this->repo_service,
136  $this
137  );
138  }

◆ preferences()

ILIAS\BookingManager\InternalDomainService::preferences ( \ilObjBookingPool  $pool)

Definition at line 78 of file class.InternalDomainService.php.

81  return new \ilBookingPreferencesManager(
82  $pool,
83  $this->repo_service->preferenceBasedBooking()
84  );
85  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ process()

ILIAS\BookingManager\InternalDomainService::process ( )

Definition at line 87 of file class.InternalDomainService.php.

87  : BookingProcessManager
88  {
89  return new BookingProcessManager(
90  $this->data_service,
91  $this->repo_service,
92  $this
93  );
94  }

◆ reservations()

ILIAS\BookingManager\InternalDomainService::reservations ( )

Definition at line 122 of file class.InternalDomainService.php.

122  : Reservations\ReservationManager
123  {
124  return new Reservations\ReservationManager(
125  $this->data_service,
126  $this->repo_service,
127  $this
128  );
129  }

◆ schedules()

ILIAS\BookingManager\InternalDomainService::schedules ( int  $pool_id)

Definition at line 109 of file class.InternalDomainService.php.

109  : ScheduleManager
110  {
111  if (!isset(self::$schedule_manager[$pool_id])) {
112  self::$schedule_manager[$pool_id] = new ScheduleManager(
113  $this->data_service,
114  $this->repo_service,
115  $this,
116  $pool_id
117  );
118  }
119  return self::$schedule_manager[$pool_id];
120  }

◆ userEvent()

ILIAS\BookingManager\InternalDomainService::userEvent ( )

Definition at line 150 of file class.InternalDomainService.php.

150  : UserEvent
151  {
152  return new UserEvent($this);
153  }

Field Documentation

◆ $book_log

ilLogger ILIAS\BookingManager\InternalDomainService::$book_log = null
protected

◆ $data_service

InternalDataService ILIAS\BookingManager\InternalDomainService::$data_service
protected

◆ $object_manager

array ILIAS\BookingManager\InternalDomainService::$object_manager = []
staticprotected

Definition at line 40 of file class.InternalDomainService.php.

◆ $repo_service

InternalRepoService ILIAS\BookingManager\InternalDomainService::$repo_service
protected

◆ $schedule_manager

array ILIAS\BookingManager\InternalDomainService::$schedule_manager = []
staticprotected

Definition at line 44 of file class.InternalDomainService.php.


The documentation for this class was generated from the following file: