Public Member Functions

ilFrameTargetInfo Class Reference

ilFrameTargetInfo More...

Public Member Functions

 _getFrame ($a_class, $a_type="")
 get content frame name

Detailed Description

ilFrameTargetInfo

Author:
Alex Killing <alex.killing@gmx.de>
Version:
Id:
class.ilFrameTargetInfo.php 10164 2006-03-07 08:04:50Z akill

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


Member Function Documentation

ilFrameTargetInfo::_getFrame ( a_class,
a_type = "" 
)

get content frame name

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

References $_SESSION.

Referenced by ilSearchresultGUI::__formatLink(), ilSearchAdministrationGUI::__formatLink(), ilLPListOfSettingsGUI::__showCollectionTable(), ilSearchGUI::__showLocator(), ilSearchAdministrationGUI::__showLocator(), ilObjUserGUI::addAdminLocatorItems(), ilObjStyleSheetGUI::addAdminLocatorItems(), ilObjRoleTemplateGUI::addAdminLocatorItems(), ilObjRoleGUI::addAdminLocatorItems(), ilObjectGUI::addAdminLocatorItems(), ilObjChatGUI::addAdminLocatorItems(), ilObjContentObjectGUI::addLocations(), ilLocatorGUI::addRepositoryItems(), ilTableOfContentsExplorer::buildFrameTarget(), ilRepositoryExplorer::buildFrameTarget(), ilAdministrationExplorer::buildFrameTarget(), ilObjSurveyQuestionPoolGUI::createObject(), ilObjSurveyGUI::createObject(), ilObjMediaPoolGUI::createObject(), ilObjGlossaryGUI::createObject(), ilObjFileBasedLMGUI::createObject(), ilObjContentObjectGUI::createObject(), ilObjForumGUI::createObject(), ilObjTestGUI::createObject(), ilObjQuestionPoolGUI::createObject(), ilGlossaryLocatorGUI::display(), ilForumLocatorGUI::display(), ilObjSystemFolderGUI::displayList(), ilObjMediaPoolGUI::editObject(), ilObjFileBasedLMGUI::editObject(), ilCourseContentGUI::editTimings(), ilLMPageObjectGUI::executeCommand(), ilObjectGUI::getAdminTabs(), ilObjSurveyQuestionPoolListGUI::getCommandFrame(), ilObjSurveyListGUI::getCommandFrame(), ilObjLinkResourceListGUI::getCommandFrame(), ilObjSAHSLearningModuleListGUI::getCommandFrame(), ilObjMediaPoolListGUI::getCommandFrame(), ilObjLearningModuleListGUI::getCommandFrame(), ilObjGlossaryListGUI::getCommandFrame(), ilObjFileBasedLMListGUI::getCommandFrame(), ilObjDlBookListGUI::getCommandFrame(), ilObjForumListGUI::getCommandFrame(), ilObjFileListGUI::getCommandFrame(), ilObjExerciseListGUI::getCommandFrame(), ilObjTestListGUI::getCommandFrame(), ilObjQuestionPoolListGUI::getCommandFrame(), ilLMPresentationGUI::getLinkXML(), ilLMPageObjectGUI::getLinkXML(), ilGlossaryPresentationGUI::getLinkXML(), ilObjForumListGUI::getProperties(), ilLMPresentationGUI::ilLMSubMenu(), ilLMPresentationGUI::ilLocator(), ilTableOfContentsExplorer::ilTableOfContentsExplorer(), ilLMPresentationGUI::ilTOC(), ilObjSAHSLearningModuleGUI::importObject(), infoPanel(), ilObjGlossaryGUI::listTerms(), ilObjContentObjectGUI::properties(), ilObjContentObjectGUI::setilLMMenu(), setLocator(), ilObjSAHSLearningModuleGUI::setLocator(), ilObjFileBasedLMGUI::setLocator(), ilContainerGUI::setPageEditorTabs(), ilTemplate::setTreeFlatIcon(), ilContainerGUI::showAdministrationPanel(), ilObjectGUI::showUpperIcon(), ilBookmarkAdministrationGUI::view(), ilObjSAHSLearningModuleGUI::viewObject(), and ilObjGlossaryGUI::viewObject().

        {
                switch($a_type)
                {
                        default:
                                switch($a_class)
                                {
                                        case "RepositoryContent":
                                                if ($_SESSION["il_rep_mode"] == "flat" or !isset($_SESSION['il_rep_mode']))
                                                {
                                                        //return "bottom";
                                                        return "_top";
                                                }
                                                else
                                                {
                                                        return "rep_content";
                                                }
                                                
                                        case "MainContent":
                                                //return "bottom";
                                                return "_top";
                                                
                                        // frame for external content (e.g. web bookmarks, external links) 
                                        case "ExternalContent":
                                                return "_blank";
                                }
                }
                
                return "";
        }

Here is the caller graph for this function:


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