ILIAS  release_8 Revision v8.24
ilFrameTargetInfo Class Reference
+ Collaboration diagram for ilFrameTargetInfo:

Static Public Member Functions

static _getFrame (string $a_class)
 

Static Protected Member Functions

static getLtiFrame ()
 

Detailed Description

Member Function Documentation

◆ _getFrame()

static ilFrameTargetInfo::_getFrame ( string  $a_class)
static

Definition at line 13 of file class.ilFrameTargetInfo.php.

13 : string
14 {
15 switch ($a_class) {
16 case 'RepositoryContent':
17 case 'MainContent':
18 return self::getLtiFrame();
19
20 case 'ExternalContent':
21 return '_blank';
22
23 default:
24 return '';
25 }
26 }

References getLtiFrame().

Referenced by ilObjOrgUnitGUI\addAdminLocatorItems(), ilObjUserGUI\addAdminLocatorItems(), ilLocatorGUI\addRepositoryItems(), ilLPCollectionSettingsTableGUI\fillRow(), ilDataCollectionGlobalTemplate\fillSideIcons(), ilGlobalTemplate\fillSideIcons(), ilObjFileListGUI\getCommandFrame(), ilObjForumListGUI\getCommandFrame(), ilObjGlossaryListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjIndividualAssessmentListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilObjMediaCastListGUI\getCommandFrame(), ilObjSurveyQuestionPoolListGUI\getCommandFrame(), ilObjTestListGUI\getCommandFrame(), ilObjQuestionPoolListGUI\getCommandFrame(), ilObjWikiListGUI\getCommandFrame(), ilObjectPluginListGUI\getCommandFrame(), ilLMPageObjectGUI\getLinkXML(), ilObjForumListGUI\getProperties(), ilLMPresentationGUI\ilLMSubMenu(), ilLMPresentationGUI\ilLocator(), ilObjWorkflowEngineGUI\initLocator(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilLMNavigationRendererGUI\render(), ilOrgUnitExtensionGUI\setLocator(), and ilContainerGUI\setPageEditorTabs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLtiFrame()

static ilFrameTargetInfo::getLtiFrame ( )
staticprotected

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

28 : string
29 {
30 global $DIC;
31
32 if ($DIC->offsetExists('lti') && $DIC['lti']->isActive()) {
33 return '_self';
34 }
35
36 return '_top';
37 }
global $DIC
Definition: feed.php:28

References $DIC.

Referenced by _getFrame().

+ Here is the caller graph for this function:

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