Public Member Functions | |
_getFrame ($a_class, $a_type="") | |
get content frame name |
Definition at line 31 of file class.ilFrameTargetInfo.php.
ilFrameTargetInfo::_getFrame | ( | $ | a_class, | |
$ | a_type = "" | |||
) |
get content frame name
Definition at line 36 of file class.ilFrameTargetInfo.php.
References $_SESSION.
Referenced by ilRepositoryExplorer::buildFrameTarget(), ilGlossaryLocatorGUI::display(), ilForumLocatorGUI::display(), ilLMPresentationGUI::getLinkXML(), ilLMPageObjectGUI::getLinkXML(), ilObjSAHSLearningModuleGUI::setLocator(), ilObjFileBasedLMGUI::setLocator(), ilRepositoryGUI::showExercises(), ilRepositoryGUI::showFiles(), and ilBookmarkAdministrationGUI::view().
{ switch($a_type) { default: switch($a_class) { case "RepositoryContent": if ($_SESSION["il_rep_mode"] == "flat") { return "bottom"; } else { return "rep_content"; } case "MainContent": return "bottom"; // frame for external content (e.g. web bookmarks, external links) case "ExternalContent": return "_new"; } } return ""; }