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 7320 2005-04-20 15:44:54Z 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 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 "";
        }

Here is the caller graph for this function:


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