19declare(strict_types=1);
25 protected \ilDBInterface
$db;
35 $set1 =
$db->
queryF(
"SELECT * FROM booking_object " .
36 " WHERE schedule_id = %s ",
41 $set2 =
$db->
queryF(
"SELECT * FROM booking_schedule " .
42 " WHERE pool_id = %s ORDER BY booking_schedule_id ASC LIMIT 1",
47 if ((
int) $rec2[
"booking_schedule_id"] !== 1) {
49 "schedule_id" => [
"intger", $rec2[
"booking_schedule_id"]]
51 "booking_object_id" => [
"integer", $rec1[
"booking_object_id"]]
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
update(string $table_name, array $values, array $where)
@description $where MUST contain existing columns only.
fetchAssoc(ilDBStatement $statement)
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...