ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\BookingManager\InternalRepoService Class Reference

Repository internal repo service. More...

+ Collaboration diagram for ILIAS\BookingManager\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 preferences ()
 
 preferenceBasedBooking ()
 
 reservationTable ()
 
 objects ()
 
 schedules ()
 
 reservation ()
 
 reservationWithContextObjCache (array $context_obj_ids)
 Get repo with reservation information preloaded for context obj ids. More...
 
 objectSelection ()
 
 participants ()
 

Protected Attributes

InternalDataService $data
 
ilDBInterface $db
 

Detailed Description

Repository internal repo service.

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

Definition at line 34 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\InternalRepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

Member Function Documentation

◆ objects()

ILIAS\BookingManager\InternalRepoService::objects ( )

Definition at line 74 of file class.InternalRepoService.php.

Referenced by ILIAS\BookingManager\Objects\ObjectsManager\__construct().

74  : ObjectsDBRepository
75  {
76  return new ObjectsDBRepository(
77  $this->db
78  );
79  }
+ Here is the caller graph for this function:

◆ objectSelection()

ILIAS\BookingManager\InternalRepoService::objectSelection ( )

Definition at line 103 of file class.InternalRepoService.php.

103  : SelectedObjectsDBRepository
104  {
105  return new SelectedObjectsDBRepository($this->db);
106  }

◆ participants()

ILIAS\BookingManager\InternalRepoService::participants ( )

Definition at line 108 of file class.InternalRepoService.php.

108  : ParticipantsRepository
109  {
110  return new ParticipantsRepository($this->db);
111  }

◆ preferenceBasedBooking()

ILIAS\BookingManager\InternalRepoService::preferenceBasedBooking ( )

Definition at line 62 of file class.InternalRepoService.php.

63  {
64  return new \ilBookingPrefBasedBookGatewayRepository(
65  $this->db
66  );
67  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ preferences()

ILIAS\BookingManager\InternalRepoService::preferences ( )

Definition at line 54 of file class.InternalRepoService.php.

55  {
56  return new \ilBookingPreferencesDBRepository(
57  $this->data,
58  $this->db
59  );
60  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ reservation()

ILIAS\BookingManager\InternalRepoService::reservation ( )

Definition at line 88 of file class.InternalRepoService.php.

88  : ReservationDBRepository
89  {
90  return new ReservationDBRepository($this->db);
91  }

◆ reservationTable()

ILIAS\BookingManager\InternalRepoService::reservationTable ( )

Definition at line 69 of file class.InternalRepoService.php.

69  : ReservationTableSessionRepository
70  {
71  return new ReservationTableSessionRepository();
72  }

◆ reservationWithContextObjCache()

ILIAS\BookingManager\InternalRepoService::reservationWithContextObjCache ( array  $context_obj_ids)

Get repo with reservation information preloaded for context obj ids.

Parameters
int[]$context_obj_ids

Definition at line 97 of file class.InternalRepoService.php.

99  : ReservationDBRepository {
100  return new ReservationDBRepository($this->db, $context_obj_ids);
101  }

◆ schedules()

ILIAS\BookingManager\InternalRepoService::schedules ( )

Definition at line 81 of file class.InternalRepoService.php.

Referenced by ILIAS\BookingManager\Schedule\ScheduleManager\__construct().

81  : SchedulesDBRepository
82  {
83  return new SchedulesDBRepository(
84  $this->db
85  );
86  }
+ Here is the caller graph for this function:

Field Documentation

◆ $data

InternalDataService ILIAS\BookingManager\InternalRepoService::$data
protected

◆ $db

ilDBInterface ILIAS\BookingManager\InternalRepoService::$db
protected

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