ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
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 27 of file class.ilFrameTargetInfo.php.

27 : string
28 {
29 switch ($a_class) {
30 case 'RepositoryContent':
31 case 'MainContent':
32 return self::getLtiFrame();
33
34 case 'ExternalContent':
35 return '_blank';
36
37 default:
38 return '';
39 }
40 }

References getLtiFrame().

Referenced by ilObjOrgUnitGUI\addAdminLocatorItems(), ilObjUserGUI\addAdminLocatorItems(), ilLocatorGUI\addRepositoryItems(), ilLPCollectionSettingsTableGUI\fillRow(), ilGlobalTemplate\fillSideIcons(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjIndividualAssessmentListGUI\getCommandFrame(), ilObjQuestionPoolListGUI\getCommandFrame(), ilLMPageObjectGUI\getLinkXML(), ilObjForumListGUI\getProperties(), ilLMPresentationGUI\ilLocator(), ilObjSAHSLearningModuleGUI\initCreateForm(), and ilOrgUnitExtensionGUI\setLocator().

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

◆ getLtiFrame()

static ilFrameTargetInfo::getLtiFrame ( )
staticprotected

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

42 : string
43 {
44 global $DIC;
45
46 if ($DIC->offsetExists('lti') && $DIC['lti']->isActive()) {
47 return '_self';
48 }
49
50 return '_top';
51 }
global $DIC
Definition: shib_login.php:26

References $DIC.

Referenced by _getFrame().

+ Here is the caller graph for this function:

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