ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBookingHelpAdapter.php
Go to the documentation of this file.
1<?php
2
24{
26 protected ilHelpGUI $help;
27
28 public function __construct(
31 ) {
32 $this->pool = $pool;
33 $this->help = $help;
34 }
35
36 public function setHelpId(string $a_id): void
37 {
38 $ilHelp = $this->help;
39
40 $object_subtype = ($this->pool->getScheduleType() === ilObjBookingPool::TYPE_FIX_SCHEDULE)
41 ? '-schedule'
42 : '-nonschedule';
43
44 $ilHelp->setScreenIdComponent('book');
45 $ilHelp->setScreenId('object' . $object_subtype);
46 $ilHelp->setSubScreenId($a_id);
47 }
48}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilObjBookingPool $pool, ilHelpGUI $help)
Help GUI class.
setScreenIdComponent(string $a_comp)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...