ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager Class Reference
+ Collaboration diagram for ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::__construct ( InternalDomainService  $domain)

Definition at line 32 of file PresentationManager.php.

References ILIAS\Repository\settings(), and ILIAS\Repository\user().

34  {
35  $this->settings = $domain->settings();
36  $this->user = $domain->user();
37  $this->module = $domain->module();
38  }
+ Here is the call graph for this function:

Member Function Documentation

◆ isHelpActive()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::isHelpActive ( )

Definition at line 41 of file PresentationManager.php.

Referenced by ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager\showTool().

41  : bool
42  {
43  return $this->module->isHelpActive();
44  }
+ Here is the caller graph for this function:

◆ showTool()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::showTool ( )

Definition at line 46 of file PresentationManager.php.

References ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager\isHelpActive(), and ILIAS\Repository\settings().

46  : bool
47  {
48  if ($this->settings->get("help_mode") === "2") {
49  return false;
50  }
51  return $this->isHelpActive();
52  }
+ Here is the call graph for this function:

◆ showTooltips()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$module
protected

Definition at line 28 of file PresentationManager.php.

◆ $settings

ilSetting ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$settings
protected

Definition at line 30 of file PresentationManager.php.

◆ $user

ilObjUser ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$user
protected

Definition at line 29 of file PresentationManager.php.


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