ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
class.ilBookingReservationDBRepositoryFactory.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11
class
ilBookingReservationDBRepositoryFactory
12
{
16
protected
$db
;
17
21
public
function
__construct
()
22
{
23
global
$DIC
;
24
25
$this->db = $DIC->database();
26
}
27
33
public
function
getRepo
() :
ilBookingReservationDBRepository
34
{
35
return
new
ilBookingReservationDBRepository
($this->db);
36
}
37
43
public
function
getRepoWithContextObjCache
($context_obj_ids) :
ilBookingReservationDBRepository
44
{
45
return
new
ilBookingReservationDBRepository
($this->db, $context_obj_ids);
46
}
47
}
ilBookingReservationDBRepositoryFactory\__construct
__construct()
Constructor.
Definition:
class.ilBookingReservationDBRepositoryFactory.php:21
ilBookingReservationDBRepository
Repo class for reservations.
Definition:
class.ilBookingReservationDBRepository.php:13
$DIC
global $DIC
Definition:
goto.php:24
ilBookingReservationDBRepositoryFactory\getRepo
getRepo()
Get repo without any preloaded data.
Definition:
class.ilBookingReservationDBRepositoryFactory.php:33
ilBookingReservationDBRepositoryFactory\getRepoWithContextObjCache
getRepoWithContextObjCache($context_obj_ids)
Get repo with reservation information preloaded for context obj ids.
Definition:
class.ilBookingReservationDBRepositoryFactory.php:43
ilBookingReservationDBRepositoryFactory
Factory for reservation repo.
Definition:
class.ilBookingReservationDBRepositoryFactory.php:11
ilBookingReservationDBRepositoryFactory\$db
$db
Definition:
class.ilBookingReservationDBRepositoryFactory.php:16
Modules
BookingManager
Reservations
classes
class.ilBookingReservationDBRepositoryFactory.php
Generated on Sun Aug 31 2025 21:00:52 for ILIAS by
1.8.13 (using
Doxyfile
)