41 $info[$item[
"pool_id"]][
"object"][$item[
"object_id"]][
"title"] = $item[
"title"];
42 $info[$item[
"pool_id"]][
"object"][$item[
"object_id"]][
"bookings"][] =
45 foreach ($info as $pool) {
47 foreach ($pool[
"object"] as $o) {
48 $val .= $o[
"title"] .
": " . implode(
", ", $o[
"bookings"]);
50 $props[] = array(
"alert" =>
false,
"property" => $pool[
"title"],
"value" => $val);
appendProperties(int $obj_id, array $props)
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
static _lookupTitle(int $obj_id)
ilBookingReservationDBRepository $repo
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...
__construct(ilBookingReservationDBRepository $repo=null)
getCachedContextObjBookingInfo(int $context_obj_id)
Get context object properties info.