ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilBookingHelpAdapter.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 {
16  protected $pool;
17 
21  protected $help;
22 
29  {
30  $this->pool = $pool;
31  $this->help = $help;
32  }
33 
37  public function setHelpId(string $a_id)
38  {
39  $ilHelp = $this->help;
40 
41  $object_subtype = ($this->pool->getScheduleType() == ilObjBookingPool::TYPE_FIX_SCHEDULE)
42  ? '-schedule'
43  : '-nonschedule';
44 
45  $ilHelp->setScreenIdComponent('book');
46  $ilHelp->setScreenId('object' . $object_subtype);
47  $ilHelp->setSubScreenId($a_id);
48  }
49 }
__construct(ilObjBookingPool $pool, ilHelpGUI $help)
Constructor.
Help adapter for booking manager.
Help GUI class.
Class ilObjBookingPool.
help()
Definition: help.php:2