ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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, and $a_type.

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

19  {
20  switch($a_type)
21  {
22  default:
23  switch($a_class)
24  {
25  case 'RepositoryContent':
26  if($_SESSION['il_rep_mode'] == 'flat' or !isset($_SESSION['il_rep_mode']))
27  {
28  //return 'bottom';
29  return '_top';
30  }
31  else
32  {
33  return 'rep_content';
34  }
35 
36  case 'MainContent':
37  //return 'bottom';
38  return '_top';
39 
40  // frame for external content (e.g. web bookmarks, external links)
41  case 'ExternalContent':
42  return '_blank';
43  }
44  }
45 
46  return '';
47  }
$_SESSION["AccountId"]
$a_type
Definition: workflow.php:93
+ Here is the caller graph for this function:

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