|
ILIAS
Release_4_3_x_branch Revision 61807
|
Class ilInternalLinkGUI. More...
Collaboration diagram for ilInternalLinkGUI:Public Member Functions | |
| ilInternalLinkGUI ($a_default_type, $a_default_obj) | |
| initLinkTypes () | |
| Initialize link types. | |
| determineLinkType () | |
| Determine current link type. | |
| setMode ($a_mode="text") | |
| Set mode. | |
| setSetLinkTargetScript ($a_script) | |
| setReturn ($a_return) | |
| getSetLinkTargetScript () | |
| filterLinkType ($a_link_type) | |
| setFilterWhiteList ($a_white_list) | |
| Set filter list as white list (per detault it is a black list) | |
| & | executeCommand () |
| resetSessionVars () | |
| resetLinkList () | |
| closeLinkHelp () | |
| prepareJavascriptOutput ($str) | |
| Prepare output for JS enabled editing. | |
| showLinkHelp () | |
| Show link help list. | |
| getFileLinkHTML () | |
| Get HTML for file link. | |
| saveFileLink () | |
| Save file link. | |
| outputThumbnail (&$tpl, $a_id, $a_mode="") | |
| output thumbnail | |
| changeLinkType () | |
| change link type | |
| setMedPoolFolder () | |
| select media pool folder | |
| getTargetExplorer ($a_type) | |
| Cange target object. | |
| changeTargetObject ($a_type="") | |
| Cange target object. | |
| refreshTargetExplorer () | |
| Refresh target explorer. | |
| selectRepositoryItem () | |
| select repository item explorer | |
| refreshRepositorySelector () | |
| Refresh Repository Selector. | |
| isEnabledJavaScript () | |
| determine, wether js is used | |
| getInitHTML ($a_url) | |
| Get initialisation HTML to use interna link editing. | |
| renderLink ($tpl, $a_title, $a_obj_id, $a_type, $a_type_short, $a_bb_type, $a_anchors=array()) | |
| Render internal link item. | |
Static Public Member Functions | |
| static | _doJSEditing () |
Data Fields | |
| $default_type | |
| $default_obj | |
| $link_type | |
| $link_target | |
| $lng | |
| $mode | |
| $set_link_script | |
| $ctrl | |
| $tree | |
| $ltypes = array() | |
Class ilInternalLinkGUI.
Some gui methods to handle internal links
Definition at line 17 of file class.ilInternalLinkGUI.php.
|
static |
| @return |
Definition at line 1064 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::changeLinkType | ( | ) |
change link type
Definition at line 798 of file class.ilInternalLinkGUI.php.
References $_POST, $_SESSION, determineLinkType(), and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::changeTargetObject | ( | $a_type = "" | ) |
Cange target object.
Definition at line 877 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, $ilCtrl, $tpl, determineLinkType(), exit, getTargetExplorer(), and showLinkHelp().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 171 of file class.ilInternalLinkGUI.php.
References ilUtil\redirect().
Here is the call graph for this function:| ilInternalLinkGUI::determineLinkType | ( | ) |
Determine current link type.
Definition at line 81 of file class.ilInternalLinkGUI.php.
References $_SESSION, and $default_type.
Referenced by changeLinkType(), changeTargetObject(), resetLinkList(), and showLinkHelp().
Here is the caller graph for this function:| & ilInternalLinkGUI::executeCommand | ( | ) |
| ilInternalLinkGUI::filterLinkType | ( | $a_link_type | ) |
Definition at line 126 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 673 of file class.ilInternalLinkGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::getInitHTML | ( | $a_url | ) |
Get initialisation HTML to use interna link editing.
Definition at line 1092 of file class.ilInternalLinkGUI.php.
References $tpl, ilYuiUtil\initConnection(), ilYuiUtil\initDragDrop(), and ilYuiUtil\initPanel().
Referenced by ilImageMapEditorGUI\editMapArea(), ilPageContentGUI\getBBMenu(), ilObjLinkResourceGUI\manage(), ilLinkInputGUI\render(), and ilPageObjectGUI\showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 121 of file class.ilInternalLinkGUI.php.
References $set_link_script.
Referenced by outputThumbnail(), renderLink(), and selectRepositoryItem().
Here is the caller graph for this function:| ilInternalLinkGUI::getTargetExplorer | ( | $a_type | ) |
Cange target object.
Definition at line 817 of file class.ilInternalLinkGUI.php.
References $_GET, $ilCtrl, ilUtil\appendUrlParameterString(), and IL_FM_POSITIVE.
Referenced by changeTargetObject(), and refreshTargetExplorer().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::ilInternalLinkGUI | ( | $a_default_type, | |
| $a_default_obj | |||
| ) |
Definition at line 30 of file class.ilInternalLinkGUI.php.
References $_SESSION, $ilCtrl, $lng, $tree, initLinkTypes(), and resetSessionVars().
Here is the call graph for this function:| ilInternalLinkGUI::initLinkTypes | ( | ) |
Initialize link types.
Definition at line 57 of file class.ilInternalLinkGUI.php.
References $lng.
Referenced by ilInternalLinkGUI().
Here is the caller graph for this function:| ilInternalLinkGUI::isEnabledJavaScript | ( | ) |
determine, wether js is used
Definition at line 1074 of file class.ilInternalLinkGUI.php.
Referenced by outputThumbnail(), renderLink(), and showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::outputThumbnail | ( | & | $tpl, |
| $a_id, | |||
$a_mode = "" |
|||
| ) |
output thumbnail
Definition at line 745 of file class.ilInternalLinkGUI.php.
References $tpl, getSetLinkTargetScript(), and isEnabledJavaScript().
Referenced by renderLink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::prepareJavascriptOutput | ( | $str | ) |
Prepare output for JS enabled editing.
Definition at line 186 of file class.ilInternalLinkGUI.php.
References $ilUser.
Referenced by renderLink().
Here is the caller graph for this function:| ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 1051 of file class.ilInternalLinkGUI.php.
References exit, and selectRepositoryItem().
Here is the call graph for this function:| ilInternalLinkGUI::refreshTargetExplorer | ( | ) |
Refresh target explorer.
Definition at line 971 of file class.ilInternalLinkGUI.php.
References $_GET, exit, and getTargetExplorer().
Here is the call graph for this function:| ilInternalLinkGUI::renderLink | ( | $tpl, | |
| $a_title, | |||
| $a_obj_id, | |||
| $a_type, | |||
| $a_type_short, | |||
| $a_bb_type, | |||
$a_anchors = array() |
|||
| ) |
Render internal link item.
Definition at line 1112 of file class.ilInternalLinkGUI.php.
References $tpl, ilImageMapEditorGUI\_recoverParameters(), ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), if, isEnabledJavaScript(), outputThumbnail(), and prepareJavascriptOutput().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 164 of file class.ilInternalLinkGUI.php.
References determineLinkType(), resetSessionVars(), and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::resetSessionVars | ( | ) |
Definition at line 157 of file class.ilInternalLinkGUI.php.
References $_SESSION.
Referenced by ilInternalLinkGUI(), and resetLinkList().
Here is the caller graph for this function:| ilInternalLinkGUI::saveFileLink | ( | ) |
Save file link.
Definition at line 714 of file class.ilInternalLinkGUI.php.
References ilUtil\getStyleSheetLocation(), and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 982 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), and IL_FM_POSITIVE.
Referenced by refreshRepositorySelector(), and showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::setFilterWhiteList | ( | $a_white_list | ) |
Set filter list as white list (per detault it is a black list)
Definition at line 136 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 808 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::setMode | ( | $a_mode = "text" | ) |
| ilInternalLinkGUI::setReturn | ( | $a_return | ) |
Definition at line 116 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setSetLinkTargetScript | ( | $a_script | ) |
Definition at line 111 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 202 of file class.ilInternalLinkGUI.php.
References $_SESSION, $default_obj, $ilCtrl, $ilUser, $link_type, $ltypes, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilPageObject\_readAnchors(), changeTargetObject(), determineLinkType(), exit, ilUtil\formSelect(), getFileLinkHTML(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), ilUtil\getStyleSheetLocation(), isEnabledJavaScript(), ilMediaPoolItem\lookupForeignId(), renderLink(), and selectRepositoryItem().
Referenced by changeLinkType(), changeTargetObject(), resetLinkList(), saveFileLink(), and setMedPoolFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::$ctrl |
Definition at line 26 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::$default_obj |
Definition at line 20 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
| ilInternalLinkGUI::$default_type |
Definition at line 19 of file class.ilInternalLinkGUI.php.
Referenced by determineLinkType().
| ilInternalLinkGUI::$link_target |
Definition at line 22 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::$link_type |
Definition at line 21 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
| ilInternalLinkGUI::$lng |
Definition at line 23 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), ilInternalLinkGUI(), and initLinkTypes().
| ilInternalLinkGUI::$ltypes = array() |
Definition at line 28 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
| ilInternalLinkGUI::$mode |
Definition at line 24 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::$set_link_script |
Definition at line 25 of file class.ilInternalLinkGUI.php.
Referenced by getSetLinkTargetScript().
| ilInternalLinkGUI::$tree |
Definition at line 27 of file class.ilInternalLinkGUI.php.
Referenced by ilInternalLinkGUI().