|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilBookingPrefBasedBookGatewayRepository:Public Member Functions | |
| __construct (ilDBInterface $db=null) | |
| getPoolsWithOverdueBooking () | |
| Get pools with overdue preference booking. More... | |
| hasRun ($pool_id) | |
| resetRun ($pool_id) | |
| storeBookings (int $pool_id, array $bookings) | |
| Store bookings see similar code in ilObjBookingPoolGUI::confirmedBookingObject this should got to a reservation repo/manager in the future. More... | |
| getBookings (array $obj_ids) | |
Protected Member Functions | |
| checkProcessHash (int $pool_id) | |
| Semaphore like hash setting/checking to ensure that no other process is doing the same. More... | |
Protected Attributes | |
| ilDBInterface | $db |
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 Manages the booking storage of the preference based calculated bookings
Definition at line 23 of file class.ilBookingPrefBasedBookGatewayRepository.php.
| ilBookingPrefBasedBookGatewayRepository::__construct | ( | ilDBInterface | $db = null | ) |
Definition at line 27 of file class.ilBookingPrefBasedBookGatewayRepository.php.
|
protected |
Semaphore like hash setting/checking to ensure that no other process is doing the same.
Definition at line 63 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References $db, ilDBInterface\fetchAssoc(), ilDBInterface\queryF(), and ilDBInterface\update().
Referenced by storeBookings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingPrefBasedBookGatewayRepository::getBookings | ( | array | $obj_ids | ) |
Definition at line 142 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References ilBookingReservation\getList(), and ilBookingReservation\STATUS_CANCELLED.
Here is the call graph for this function:| ilBookingPrefBasedBookGatewayRepository::getPoolsWithOverdueBooking | ( | ) |
Get pools with overdue preference booking.
Definition at line 39 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References $db, ilDBInterface\fetchAssoc(), ilDBInterface\queryF(), and ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES.
Here is the call graph for this function:| ilBookingPrefBasedBookGatewayRepository::hasRun | ( | $pool_id | ) |
Definition at line 87 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References $db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Here is the call graph for this function:| ilBookingPrefBasedBookGatewayRepository::resetRun | ( | $pool_id | ) |
Definition at line 104 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References $db, and ilDBInterface\update().
Here is the call graph for this function:| ilBookingPrefBasedBookGatewayRepository::storeBookings | ( | int | $pool_id, |
| array | $bookings | ||
| ) |
Store bookings see similar code in ilObjBookingPoolGUI::confirmedBookingObject this should got to a reservation repo/manager in the future.
| int[][] | $bookings |
Definition at line 120 of file class.ilBookingPrefBasedBookGatewayRepository.php.
References checkProcessHash(), ilBookingReservation\getObjectReservationForUser(), and ilBookingReservation\isObjectAvailableNoSchedule().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilBookingPrefBasedBookGatewayRepository.php.
Referenced by __construct(), checkProcessHash(), getPoolsWithOverdueBooking(), hasRun(), and resetRun().