ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBookingHelpAdapter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilBookingHelpAdapter:

Public Member Functions

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

Protected Attributes

ilObjBookingPool $pool
 
ilHelpGUI $help
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Help adapter for booking manager

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

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

Constructor & Destructor Documentation

◆ __construct()

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

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

31 {
32 $this->pool = $pool;
33 $this->help = $help;
34 }

References $help, $pool, and ILIAS\Repository\help().

+ Here is the call graph for this function:

Member Function Documentation

◆ setHelpId()

ilBookingHelpAdapter::setHelpId ( string  $a_id)

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

36 : 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 }
setScreenIdComponent(string $a_comp)

References $help, ilHelpGUI\setScreenIdComponent(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.

+ Here is the call graph for this function:

Field Documentation

◆ $help

ilHelpGUI ilBookingHelpAdapter::$help
protected

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

Referenced by __construct(), and setHelpId().

◆ $pool

ilObjBookingPool ilBookingHelpAdapter::$pool
protected

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

Referenced by __construct().


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