ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
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
$DIC
$DIC
Definition:
xapitoken.php:46
Modules
BookingManager
Reservations
classes
class.ilBookingReservationDBRepositoryFactory.php
Generated on Fri Apr 4 2025 20:00:59 for ILIAS by
1.8.13 (using
Doxyfile
)