19declare(strict_types=1);
31 foreach (array_unique($booking_pool_ref_ids) as $booking_pool_ref_id) {
32 if (!is_numeric($booking_pool_ref_id)) {
35 $booking_pool_ref_id = (
int) $booking_pool_ref_id;
44 $booking_object_id = $booking_object[
'booking_object_id'] ??
null;
45 if ($booking_object_id ===
null) {
49 (
new ilBookingObject($booking_object_id))->deleteReservationsAndCalEntries($booking_object_id);
handleDeletion(array $booking_pool_ref_ids)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getList(int $a_pool_id, ?string $a_title=null)
Get list of booking objects.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilObject Basic functions for all objects.
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...