25 protected \ILIAS\BookingManager\Reservations\ReservationDBRepository
$repo;
28 ?\
ILIAS\BookingManager\Reservations\ReservationDBRepository $repo =
null 39 foreach ($repo->getCachedContextObjBookingInfo($obj_id) as $item) {
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)
Interface Observer Contains several chained tasks and infos about them.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _lookupTitle(int $obj_id)
ILIAS BookingManager Reservations ReservationDBRepository $repo
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
__construct(?\ILIAS\BookingManager\Reservations\ReservationDBRepository $repo=null)