ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBookingHelpAdapter Class Reference

Help adapter for booking manager. More...

+ Collaboration diagram for ilBookingHelpAdapter:

Public Member Functions

 __construct (ilObjBookingPool $pool, ilHelpGUI $help)
 Constructor. More...
 
 setHelpId (string $a_id)
 

Protected Attributes

 $pool
 
 $help
 

Detailed Description

Help adapter for booking manager.

Author
killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 11 of file class.ilBookingHelpAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilBookingHelpAdapter::__construct ( ilObjBookingPool  $pool,
ilHelpGUI  $help 
)

Constructor.

Parameters
ilObjBookingPool$pool
ilHelpGUI$help

Definition at line 28 of file class.ilBookingHelpAdapter.php.

References $help, $pool, and help().

29  {
30  $this->pool = $pool;
31  $this->help = $help;
32  }
help()
Definition: help.php:2
+ Here is the call graph for this function:

Member Function Documentation

◆ setHelpId()

ilBookingHelpAdapter::setHelpId ( string  $a_id)
Parameters
string$a_id

Definition at line 37 of file class.ilBookingHelpAdapter.php.

References $help, and ilObjBookingPool\TYPE_FIX_SCHEDULE.

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  }

Field Documentation

◆ $help

ilBookingHelpAdapter::$help
protected

Definition at line 21 of file class.ilBookingHelpAdapter.php.

Referenced by __construct(), and setHelpId().

◆ $pool

ilBookingHelpAdapter::$pool
protected

Definition at line 16 of file class.ilBookingHelpAdapter.php.

Referenced by __construct().


The documentation for this class was generated from the following file: