ILIAS
Release_4_1_x_branch Revision 61804
|
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) | |
& | 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 | |
changeTargetObject ($a_type="") | |
cange target object | |
selectRepositoryItem () | |
select repository item explorer | |
isEnabledJavaScript () | |
determine, wether js is used |
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.
ilInternalLinkGUI::changeLinkType | ( | ) |
change link type
Definition at line 939 of file class.ilInternalLinkGUI.php.
References $_POST, $_SESSION, determineLinkType(), and showLinkHelp().
ilInternalLinkGUI::changeTargetObject | ( | $a_type = "" | ) |
cange target object
Definition at line 958 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, $tpl, ilUtil\appendUrlParameterString(), exit, ilUtil\getStyleSheetLocation(), IL_FM_POSITIVE, and showLinkHelp().
Referenced by showLinkHelp().
ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 188 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(), 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 820 of file class.ilInternalLinkGUI.php.
References $ilCtrl, $lng, $tpl, and prepareJavascriptOutput().
Referenced by showLinkHelp().
ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 149 of file class.ilInternalLinkGUI.php.
References $set_link_script.
Referenced by selectRepositoryItem(), and showLinkHelp().
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 1166 of file class.ilInternalLinkGUI.php.
References ilPageEditorGUI\_doJSEditing().
Referenced by outputThumbnail(), and showLinkHelp().
ilInternalLinkGUI::outputThumbnail | ( | & | $tpl, |
$a_id, | |||
$a_mode = "" |
|||
) |
output thumbnail
Definition at line 890 of file class.ilInternalLinkGUI.php.
References $tpl, and isEnabledJavaScript().
Referenced by showLinkHelp().
ilInternalLinkGUI::prepareJavascriptOutput | ( | $str | ) |
Prepare output for JS enabled editing.
Definition at line 203 of file class.ilInternalLinkGUI.php.
References ilPageEditorGUI\_doJSEditing().
Referenced by getFileLinkHTML(), and showLinkHelp().
ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 181 of file class.ilInternalLinkGUI.php.
References determineLinkType(), resetSessionVars(), and showLinkHelp().
ilInternalLinkGUI::resetSessionVars | ( | ) |
Definition at line 174 of file class.ilInternalLinkGUI.php.
References $_SESSION.
Referenced by ilInternalLinkGUI(), and resetLinkList().
ilInternalLinkGUI::saveFileLink | ( | ) |
Save file link.
Definition at line 859 of file class.ilInternalLinkGUI.php.
References ilUtil\getStyleSheetLocation(), and showLinkHelp().
ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 1096 of file class.ilInternalLinkGUI.php.
References $_GET, $_SESSION, ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), and IL_FM_POSITIVE.
Referenced by showLinkHelp().
ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 949 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 219 of file class.ilInternalLinkGUI.php.
References $_SESSION, $link_type, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilPageObject\_readAnchors(), ilImageMapEditorGUI\_recoverParameters(), ilUtil\appendUrlParameterString(), changeTargetObject(), exit, ilUtil\formSelect(), getFileLinkHTML(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), getSetLinkTargetScript(), ilUtil\getStyleSheetLocation(), isEnabledJavaScript(), ilMediaPoolItem\lookupForeignId(), outputThumbnail(), prepareJavascriptOutput(), 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.
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().