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.

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

References $_SESSION, and $a_type.

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

+ Here is the caller graph for this function:

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