ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBookingReservationDBRepositoryFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilBookingReservationDBRepositoryFactory:

Public Member Functions

 __construct ()
 
 getRepo ()
 Get repo without any preloaded data. More...
 
 getRepoWithContextObjCache (array $context_obj_ids)
 Get repo with reservation information preloaded for context obj ids. More...
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Factory for reservation repo

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

Definition at line 23 of file class.ilBookingReservationDBRepositoryFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ilBookingReservationDBRepositoryFactory::__construct ( )

Definition at line 27 of file class.ilBookingReservationDBRepositoryFactory.php.

References $DIC.

28  {
29  global $DIC;
30 
31  $this->db = $DIC->database();
32  }
global $DIC
Definition: feed.php:28

Member Function Documentation

◆ getRepo()

ilBookingReservationDBRepositoryFactory::getRepo ( )

Get repo without any preloaded data.

Definition at line 37 of file class.ilBookingReservationDBRepositoryFactory.php.

38  {
39  return new ilBookingReservationDBRepository($this->db);
40  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ getRepoWithContextObjCache()

ilBookingReservationDBRepositoryFactory::getRepoWithContextObjCache ( array  $context_obj_ids)

Get repo with reservation information preloaded for context obj ids.

Parameters
int[]$context_obj_ids

Definition at line 46 of file class.ilBookingReservationDBRepositoryFactory.php.

49  return new ilBookingReservationDBRepository($this->db, $context_obj_ids);
50  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $db

ilDBInterface ilBookingReservationDBRepositoryFactory::$db
protected

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