3 declare(strict_types=1);
60 $tpl = new \ilTemplate(
"tpl.slot.html",
true,
true,
"components/ILIAS/BookingManager/BookingProcess");
62 $modal = $ui->factory()->modal()->roundtrip(
"", $ui->factory()->legacy(
""));
63 $url = $this->
link .
'&replaceSignal=' . $modal->getReplaceSignal()->getId();
64 $modal = $modal->withAsyncRenderUrl(
$url);
65 $button = $ui->factory()->button()->shy($this->title,
"#")
66 ->withOnClick($modal->getShowSignal());
68 $tpl->setVariable(
"OBJECT_LINK", $ui->renderer()->render([$button, $modal]));
69 $tpl->setVariable(
"TIME", $this->
from .
"-" . $this->
to);
70 $tpl->setVariable(
"COLOR_NR", $this->color_nr);
71 $tpl->setVariable(
"AVAILABILITY",
"(" . $this->available .
") ");
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
to(\GdImage $image, int $quality=null)
Currently this is the only way to make a FileStream from a GD image resource.
__construct(string $link, string $from, string $to, int $from_ts, int $to_ts, string $title, int $available, int $color_nr)
link(string $caption, string $href, bool $new_viewport=false)