ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilInternalLinkGUI. More...
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 1041 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::changeLinkType | ( | ) |
change link type
Definition at line 775 of file class.ilInternalLinkGUI.php.
References $_POST, $_SESSION, determineLinkType(), and showLinkHelp().
ilInternalLinkGUI::changeTargetObject | ( | $a_type = "" | ) |
Cange target object.
Definition at line 854 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, $ilCtrl, $tpl, determineLinkType(), exit, getTargetExplorer(), and showLinkHelp().
Referenced by showLinkHelp().
ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 199 of file class.ilInternalLinkGUI.php.
References ilUtil\redirect().
ilInternalLinkGUI::determineLinkType | ( | ) |
Determine current link type.
Definition at line 118 of file class.ilInternalLinkGUI.php.
References $_SESSION.
Referenced by changeLinkType(), changeTargetObject(), ilInternalLinkGUI(), and resetLinkList().
& ilInternalLinkGUI::executeCommand | ( | ) |
ilInternalLinkGUI::filterLinkType | ( | $a_link_type | ) |
Definition at line 154 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 653 of file class.ilInternalLinkGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by showLinkHelp().
ilInternalLinkGUI::getInitHTML | ( | $a_url | ) |
Get initialisation HTML to use interna link editing.
Definition at line 1069 of file class.ilInternalLinkGUI.php.
References $tpl, ilYuiUtil\initConnection(), ilYuiUtil\initDragDrop(), and ilYuiUtil\initPanel().
Referenced by ilImageMapEditorGUI\editMapArea(), ilPageContentGUI\getBBMenu(), and ilPageObjectGUI\showPage().
ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 149 of file class.ilInternalLinkGUI.php.
References $set_link_script.
Referenced by outputThumbnail(), renderLink(), and selectRepositoryItem().
ilInternalLinkGUI::getTargetExplorer | ( | $a_type | ) |
Cange target object.
Definition at line 794 of file class.ilInternalLinkGUI.php.
References $_GET, $ilCtrl, ilUtil\appendUrlParameterString(), and IL_FM_POSITIVE.
Referenced by changeTargetObject(), and refreshTargetExplorer().
ilInternalLinkGUI::ilInternalLinkGUI | ( | $a_default_type, | |
$a_default_obj | |||
) |
Definition at line 30 of file class.ilInternalLinkGUI.php.
References $_SESSION, $default_obj, $ilCtrl, $lng, $tree, ilObject\_lookupType(), determineLinkType(), initLinkTypes(), and resetSessionVars().
ilInternalLinkGUI::initLinkTypes | ( | ) |
Initialize link types.
Definition at line 94 of file class.ilInternalLinkGUI.php.
References $lng.
Referenced by ilInternalLinkGUI().
ilInternalLinkGUI::isEnabledJavaScript | ( | ) |
determine, wether js is used
Definition at line 1051 of file class.ilInternalLinkGUI.php.
Referenced by outputThumbnail(), renderLink(), and showLinkHelp().
ilInternalLinkGUI::outputThumbnail | ( | & | $tpl, |
$a_id, | |||
$a_mode = "" |
|||
) |
output thumbnail
Definition at line 725 of file class.ilInternalLinkGUI.php.
References $tpl, getSetLinkTargetScript(), and isEnabledJavaScript().
Referenced by renderLink().
ilInternalLinkGUI::prepareJavascriptOutput | ( | $str | ) |
Prepare output for JS enabled editing.
Definition at line 214 of file class.ilInternalLinkGUI.php.
Referenced by renderLink().
ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 1028 of file class.ilInternalLinkGUI.php.
References exit, and selectRepositoryItem().
ilInternalLinkGUI::refreshTargetExplorer | ( | ) |
Refresh target explorer.
Definition at line 948 of file class.ilInternalLinkGUI.php.
References $_GET, exit, and getTargetExplorer().
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 1089 of file class.ilInternalLinkGUI.php.
References $tpl, ilImageMapEditorGUI\_recoverParameters(), ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), if, isEnabledJavaScript(), outputThumbnail(), and prepareJavascriptOutput().
Referenced by showLinkHelp().
ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 192 of file class.ilInternalLinkGUI.php.
References determineLinkType(), resetSessionVars(), and showLinkHelp().
ilInternalLinkGUI::resetSessionVars | ( | ) |
Definition at line 185 of file class.ilInternalLinkGUI.php.
References $_SESSION.
Referenced by ilInternalLinkGUI(), and resetLinkList().
ilInternalLinkGUI::saveFileLink | ( | ) |
Save file link.
Definition at line 694 of file class.ilInternalLinkGUI.php.
References ilUtil\getStyleSheetLocation(), and showLinkHelp().
ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 959 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), and IL_FM_POSITIVE.
Referenced by refreshRepositorySelector(), and showLinkHelp().
ilInternalLinkGUI::setFilterWhiteList | ( | $a_white_list | ) |
Set filter list as white list (per detault it is a black list)
Definition at line 164 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 785 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, and showLinkHelp().
ilInternalLinkGUI::setMode | ( | $a_mode = "text" | ) |
ilInternalLinkGUI::setReturn | ( | $a_return | ) |
Definition at line 144 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::setSetLinkTargetScript | ( | $a_script | ) |
Definition at line 139 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 230 of file class.ilInternalLinkGUI.php.
References $_SESSION, $ilCtrl, $link_type, $ltypes, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilPageObject\_readAnchors(), changeTargetObject(), exit, ilUtil\formSelect(), getFileLinkHTML(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), ilUtil\getStyleSheetLocation(), isEnabledJavaScript(), ilMediaPoolItem\lookupForeignId(), renderLink(), and selectRepositoryItem().
Referenced by changeLinkType(), changeTargetObject(), resetLinkList(), saveFileLink(), and setMedPoolFolder().
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 ilInternalLinkGUI().
ilInternalLinkGUI::$default_type |
Definition at line 19 of file class.ilInternalLinkGUI.php.
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().