ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 
12 {
16  protected $db;
17 
21  public function __construct()
22  {
23  global $DIC;
24 
25  $this->db = $DIC->database();
26  }
27 
34  {
35  return new ilBookingReservationDBRepository($this->db);
36  }
37 
44  {
45  return new ilBookingReservationDBRepository($this->db, $context_obj_ids);
46  }
47 }
getRepoWithContextObjCache($context_obj_ids)
Get repo with reservation information preloaded for context obj ids.
$DIC
Definition: xapitoken.php:46