ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilBookingManagerInternalDomainService.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 {
12 
16  public function __construct()
17  {
18  }
19 
27  public function preferences(ilObjBookingPool $pool, ilBookingPrefBasedBookGatewayRepository $book_repo = null)
28  {
29  if (!$book_repo) {
30  $book_repo = new ilBookingPrefBasedBookGatewayRepository();
31  }
32 
33  return new ilBookingPreferencesManager($pool, $book_repo);
34  }
35 }
preferences(ilObjBookingPool $pool, ilBookingPrefBasedBookGatewayRepository $book_repo=null)
Booking preferences.
Class ilObjBookingPool.
Booking preferences business logic.
Manages the booking storage of the preference based calculated bookings.