|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilInternalLinkGUI. More...
Collaboration diagram for ilInternalLinkGUI:Public Member Functions | |
| ilInternalLinkGUI ($a_default_type, $a_default_obj) | |
| initLinkTypes () | |
| Initialize link types. More... | |
| determineLinkType () | |
| Determine current link type. More... | |
| setMode ($a_mode="text") | |
| Set mode. More... | |
| 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) More... | |
| & | executeCommand () |
| resetSessionVars () | |
| resetLinkList () | |
| closeLinkHelp () | |
| prepareJavascriptOutput ($str) | |
| Prepare output for JS enabled editing. More... | |
| showLinkHelp () | |
| Show link help list. More... | |
| getFileLinkHTML () | |
| Get HTML for file link. More... | |
| saveFileLink () | |
| Save file link. More... | |
| outputThumbnail (&$tpl, $a_id, $a_mode="") | |
| output thumbnail More... | |
| changeLinkType () | |
| change link type More... | |
| setMedPoolFolder () | |
| select media pool folder More... | |
| getTargetExplorer ($a_type="") | |
| Cange target object. More... | |
| changeTargetObject ($a_type="") | |
| Cange target object. More... | |
| selectRepositoryItem () | |
| select repository item explorer More... | |
| refreshRepositorySelector () | |
| Refresh Repository Selector. More... | |
| isEnabledJavaScript () | |
| determine, wether js is used More... | |
| getInitHTML ($a_url, $a_move_to_body=false) | |
| Get initialisation HTML to use interna link editing. More... | |
| renderLink ($tpl, $a_title, $a_obj_id, $a_type, $a_type_short, $a_bb_type, $a_anchors=array()) | |
| Render internal link item. More... | |
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 1057 of file class.ilInternalLinkGUI.php.
References ilPageEditorGUI\_doJSEditing().
Here is the call graph for this function:| ilInternalLinkGUI::changeLinkType | ( | ) |
change link type
Definition at line 847 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 916 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 174 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 84 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 | ( | ) |
Definition at line 145 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::filterLinkType | ( | $a_link_type | ) |
Definition at line 129 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 722 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, | |
$a_move_to_body = false |
|||
| ) |
Get initialisation HTML to use interna link editing.
Definition at line 1085 of file class.ilInternalLinkGUI.php.
References $lng, $tpl, ilModalGUI\getInstance(), ilExplorerBaseGUI\init(), and ilYuiUtil\initConnection().
Referenced by ilPCDataTableGUI\editData(), ilImageMapEditorGUI\editMapArea(), ilPageContentGUI\getBBMenu(), ilLinkInputGUI\getContentOutsideFormTag(), ilObjLinkResourceGUI\manage(), and ilPageObjectGUI\showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 124 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 866 of file class.ilInternalLinkGUI.php.
References $_GET, $ilCtrl, and $white.
Referenced by changeTargetObject().
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 59 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 1067 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 794 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 189 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 1044 of file class.ilInternalLinkGUI.php.
References exit, and selectRepositoryItem().
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 1117 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 167 of file class.ilInternalLinkGUI.php.
References determineLinkType(), resetSessionVars(), and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::resetSessionVars | ( | ) |
Definition at line 160 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 763 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 1024 of file class.ilInternalLinkGUI.php.
References $_SESSION, $ilCtrl, and getSetLinkTargetScript().
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 139 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 857 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, and showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::setMode | ( | $a_mode = "text" | ) |
Set mode.
Definition at line 109 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setReturn | ( | $a_return | ) |
Definition at line 119 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setSetLinkTargetScript | ( | $a_script | ) |
Definition at line 114 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 205 of file class.ilInternalLinkGUI.php.
References $_SESSION, $default_obj, $ilCtrl, $ilUser, $l, $link_type, $ltypes, $tpl, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilPCParagraph\_readAnchors(), changeTargetObject(), determineLinkType(), exit, ilUtil\formSelect(), ilWikiPage\getAllPages(), 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(), getInitHTML(), 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().