3 declare(strict_types=1);
    17         $this->
lng->loadLanguageModule(
"book");
    20         $res_id = $a_app[
'event']->getContextId();
    30         if (count($refs) > 0) {
    34             if ($b_obj->getDescription()) {
    47             if ($b_obj->getDescription() || $b_obj->getFile()) {
    53             $this->
ctrl->setParameterByClass(
"ilObjBookingPoolGUI", 
"ref_id", $ref_id);
    54             $this->
ctrl->setParameterByClass(
"ilbookingobjectgui", 
"object_id", 
$res->getObjectId());
    57             if ($b_obj->getFile()) {
    58                 $this->has_files = 
true;
    59                 $link = $this->
ctrl->getLinkTargetByClass(array(
"ilRepositoryGUI",
    60                                                                 "ilObjBookingPoolGUI",
    64                 $link = $this->
ui->renderer()->render(
    65                     $this->
ui->factory()->button()->shy($b_obj->getFile(), $link)
    72             $array_info = array();
    73             if (($text = $b_obj->getPostText()) != 
"") {
    75                     $a_app[
'event']->getStart(),
    76                     $a_app[
'event']->getEnd()
    78                 $text = str_replace(
"[OBJECT]", $b_obj->getTitle(), $text);
    79                 $text = str_replace(
"[PERIOD]", $period, $text);
    80                 $array_info[] = $text;
    82             if ($b_obj->getPostFile()) {
    83                 $this->has_files = 
true;
    85                 $link = $this->
ctrl->getLinkTargetByClass(array(
"ilRepositoryGUI",
    86                                                                 "ilObjBookingPoolGUI",
    89                 ), 
"deliverPostFile");
    91                 $array_info[] = $this->
ui->renderer()->render(
    92                     $this->
ui->factory()->button()->shy($b_obj->getPostFile(), $link)
    96                 $this->
addInfoProperty($this->
lng->txt(
"book_post_booking_information"), implode(
"<br>", $array_info));
   100         $this->
ctrl->setParameterByClass(
'ilcalendarappointmentgui', 
'app_id', $a_app[
'event']->getEntryId());
   102             $this->
lng->txt(
"cal_ch_cancel_booking"),
   103             $this->
ctrl->getLinkTargetByClass(
'ilcalendarappointmentgui', 
'cancelBooking')
   106         if (count($refs) > 0) {
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addCalendarInfo(array $cat_info)
 
addObjectLinks(int $obj_id, ?array $a_appointment=null)
Add object link. 
 
getReadableRefIds(int $a_obj_id)
 
addInfoSection(string $a_txt)
Add info section. 
 
addInfoProperty(string $a_txt, string $a_val)
Add info property. 
 
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
 
static formatPeriod(ilDateTime $start, ilDateTime $end, bool $a_skip_starting_day=false)
Format a period of two dates Shows: 14. 
 
addAction(string $a_txt, string $a_link)
Add action. 
 
collectPropertiesAndActions()
 
addMetaData(string $a_obj_type, int $a_obj_id, ?string $a_sub_obj_type=null, ?int $a_sub_obj_id=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...