ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Help\Presentation\PresentationManager Class Reference
+ Collaboration diagram for ILIAS\Help\Presentation\PresentationManager:

Public Member Functions

 __construct (InternalDomainService $domain)
 
 isHelpActive ()
 
 showTool ()
 
 showTooltips ()
 

Protected Attributes

ILIAS Help Module ModuleManager $module
 
ilObjUser $user
 
ilSetting $settings
 

Detailed Description

Definition at line 26 of file PresentationManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Help\Presentation\PresentationManager::__construct ( InternalDomainService  $domain)

Definition at line 32 of file PresentationManager.php.

34 {
35 $this->settings = $domain->settings();
36 $this->user = $domain->user();
37 $this->module = $domain->module();
38 }

References ILIAS\Help\InternalDomainService\module(), ILIAS\Repository\settings(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ isHelpActive()

ILIAS\Help\Presentation\PresentationManager::isHelpActive ( )

Definition at line 41 of file PresentationManager.php.

41 : bool
42 {
43 return $this->module->isHelpActive();
44 }

Referenced by ILIAS\Help\Presentation\PresentationManager\showTool().

+ Here is the caller graph for this function:

◆ showTool()

ILIAS\Help\Presentation\PresentationManager::showTool ( )

Definition at line 46 of file PresentationManager.php.

46 : bool
47 {
48 if ($this->settings->get("help_mode") === "2") {
49 return false;
50 }
51 return $this->isHelpActive();
52 }

References ILIAS\Help\Presentation\PresentationManager\isHelpActive(), and ILIAS\Repository\settings().

+ Here is the call graph for this function:

◆ showTooltips()

ILIAS\Help\Presentation\PresentationManager::showTooltips ( )

Definition at line 54 of file PresentationManager.php.

54 : bool
55 {
56 return $this->module->areTooltipsActive();
57 }

Field Documentation

◆ $module

ILIAS Help Module ModuleManager ILIAS\Help\Presentation\PresentationManager::$module
protected

Definition at line 28 of file PresentationManager.php.

◆ $settings

ilSetting ILIAS\Help\Presentation\PresentationManager::$settings
protected

Definition at line 30 of file PresentationManager.php.

◆ $user

ilObjUser ILIAS\Help\Presentation\PresentationManager::$user
protected

Definition at line 29 of file PresentationManager.php.


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