19 declare(strict_types=1);
    25     protected \ilDBInterface 
$db;
    36             "SELECT * FROM booking_object " .
    37             " WHERE schedule_id = %s ",
    41         while ($rec1 = $db->fetchAssoc($set1)) {
    43                 "SELECT * FROM booking_schedule " .
    44                 " WHERE pool_id = %s ORDER BY booking_schedule_id ASC LIMIT 1",
    48             if ($rec2 = $db->fetchAssoc($set2)) {
    49                 if ((
int) $rec2[
"booking_schedule_id"] !== 1) {
    53                         "schedule_id" => [
"intger", $rec2[
"booking_schedule_id"]]
    56                             "booking_object_id" => [
"integer", $rec1[
"booking_object_id"]]
 
prepare(\ilDBInterface $db)
Prepare the execution of the steps. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
queryF(string $query, array $types, array $values)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...