ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilFrameTargetInfo Class Reference

ilFrameTargetInfo More...

+ Collaboration diagram for ilFrameTargetInfo:

Static Public Member Functions

static _getFrame ($a_class, $a_type='')
 Get content frame name. More...
 

Detailed Description

Member Function Documentation

◆ _getFrame()

static ilFrameTargetInfo::_getFrame (   $a_class,
  $a_type = '' 
)
static

Get content frame name.

Parameters
string$a_class
string$a_type
Returns
string

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

References $_SESSION, $a_type, and $DIC.

Referenced by ilObjOrgUnitGUI\addAdminLocatorItems(), ilObjUserGUI\addAdminLocatorItems(), ilLocatorGUI\addRepositoryItems(), ilContainerGUI\addStandardContainerSubTabs(), ilRepositoryExplorer\buildFrameTarget(), ilCourseContentGUI\editTimings(), ilSCORM2004PageNodeGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilLPCollectionSettingsTableGUI\fillRow(), ilBookmarkAdministrationTableGUI\fillRow(), ilTemplate\fillSideIcons(), ilChatroomObjectGUI\getAdminTabs(), ilObjFileListGUI\getCommandFrame(), ilObjIndividualAssessmentListGUI\getCommandFrame(), ilObjExerciseListGUI\getCommandFrame(), ilObjWikiListGUI\getCommandFrame(), ilObjMediaCastListGUI\getCommandFrame(), ilObjMediaPoolListGUI\getCommandFrame(), ilObjQuestionPoolListGUI\getCommandFrame(), ilObjTestListGUI\getCommandFrame(), ilObjExternalFeedListGUI\getCommandFrame(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSurveyQuestionPoolListGUI\getCommandFrame(), ilObjGlossaryListGUI\getCommandFrame(), ilObjSurveyListGUI\getCommandFrame(), ilObjLearningModuleListGUI\getCommandFrame(), ilObjectPluginListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjForumListGUI\getCommandFrame(), ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilObjForumListGUI\getProperties(), ilLMPresentationGUI\ilLMNavigation(), ilLMPresentationGUI\ilLMSubMenu(), ilLMPresentationGUI\ilLocator(), ilUtil\infoPanel(), ilObjSAHSLearningModuleGUI\initCreationForm(), ilObjContentObjectGUI\initImportForm(), ilObjWorkflowEngineGUI\initLocator(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjContentObjectGUI\setilLMMenu(), ilOrgUnitExtensionGUI\setLocator(), and ilContainerGUI\setPageEditorTabs().

19  {
20  // LTI
21  global $DIC;
22  $ltiview = $DIC['lti'];
23 
24  switch ($a_type) {
25  default:
26  switch ($a_class) {
27  case 'RepositoryContent':
28  if ($_SESSION['il_rep_mode'] == 'flat' or !isset($_SESSION['il_rep_mode'])) {
29  //return 'bottom';
30  // LTI
31  if ($ltiview->isActive()) {
32  return '_self';
33  } else {
34  return '_top';
35  }
36  } else {
37  return 'rep_content';
38  }
39 
40  // no break
41  case 'MainContent':
42  //return 'bottom';
43  // LTI
44  if ($ltiview->isActive()) {
45  return '_self';
46  } else {
47  return '_top';
48  }
49 
50  // frame for external content (e.g. web bookmarks, external links)
51  // no break
52  case 'ExternalContent':
53  return '_blank';
54  }
55  }
56 
57  return '';
58  }
$_SESSION["AccountId"]
global $DIC
Definition: saml.php:7
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

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