ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Internal link selector. More...
Public Member Functions | |
__construct (string $a_default_link_type, int $a_default_parent_id, bool $a_is_ref=true) | |
init () | |
setSetLinkTargetScript (string $a_script) | |
setReturn (string $a_return) | |
getSetLinkTargetScript () | |
filterLinkType (string $a_link_type) | |
setFilterWhiteList (bool $a_white_list) | |
Set filter list as white list (per detault it is a black list) More... | |
executeCommand () | |
resetLinkList () | |
closeLinkHelp () | |
prepareJavascriptOutput (string $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 (ilGlobalTemplate $tpl, int $a_id, string $a_mode="") | |
output thumbnail More... | |
changeLinkType () | |
setMedPoolFolder () | |
select media pool folder More... | |
getTargetExplorer () | |
Cange target object. More... | |
changeTargetObject (string $a_type="") | |
Cange target object. More... | |
selectRepositoryItem () | |
select repository item explorer More... | |
refreshRepositorySelector () | |
Refresh Repository Selector. More... | |
renderLink (ilGlobalTemplate $tpl, string $a_title, int $a_obj_id, string $a_type, string $a_type_short, string $a_bb_type, array $a_anchors=array(), string $a_link_content="") | |
Render internal link item. More... | |
addUser () | |
Add user. More... | |
initUserSearchForm () | |
Init user search form. More... | |
getUserSearchResult () | |
Search user. More... | |
Static Public Member Functions | |
static | getOnloadCode (string $a_url) |
static | getInitHTML (string $a_url) |
Get initialisation HTML to use internal link editing. More... | |
static | getModalTemplate () |
Data Fields | |
string | $set_link_script = "" |
ilCtrl | $ctrl |
Protected Attributes | |
ILIAS MediaObjects Thumbs ThumbsGUI | $thumbs_gui |
ilObjFile | $uploaded_file = null |
int | $parent_fold_id |
string | $default_parent_obj_type |
StandardGUIRequest | $request |
string | $return |
string | $default_link_type = "" |
int | $default_parent_ref_id = 0 |
int | $default_parent_obj_id = 0 |
int | $parent_ref_id = 0 |
int | $parent_obj_id = 0 |
string | $link_type = "" |
string | $link_target = "" |
string | $base_link_type = "" |
array | $ltypes = [] |
array | $parent_type = [] |
bool | $filter_white_list = false |
array | $filter_link_types = [] |
ilTree | $tree |
ilLanguage | $lng |
ilObjUser | $user |
Internal link selector.
Definition at line 25 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::__construct | ( | string | $a_default_link_type, |
int | $a_default_parent_id, | ||
bool | $a_is_ref = true |
||
) |
Definition at line 54 of file class.ilInternalLinkGUI.php.
References $DIC, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilInternalLinkGUI::addUser | ( | ) |
Add user.
Definition at line 1056 of file class.ilInternalLinkGUI.php.
References getUserSearchResult(), and initUserSearchForm().
Referenced by showLinkHelp().
ilInternalLinkGUI::changeLinkType | ( | ) |
Definition at line 772 of file class.ilInternalLinkGUI.php.
References $ctrl, ilObject\_lookupType(), ilCtrl\redirect(), and ilCtrl\setParameter().
ilInternalLinkGUI::changeTargetObject | ( | string | $a_type = "" | ) |
Cange target object.
Definition at line 827 of file class.ilInternalLinkGUI.php.
References $ctrl, ILIAS\Repository\ctrl(), exit, getTargetExplorer(), ILIAS\Repository\lng(), and ilCtrl\setParameter().
Referenced by showLinkHelp().
ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 242 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\redirect().
ilInternalLinkGUI::executeCommand | ( | ) |
Definition at line 215 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\ctrl(), and init().
ilInternalLinkGUI::filterLinkType | ( | string | $a_link_type | ) |
Definition at line 201 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 676 of file class.ilInternalLinkGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
Referenced by showLinkHelp().
|
static |
Get initialisation HTML to use internal link editing.
Definition at line 911 of file class.ilInternalLinkGUI.php.
References $DIC, ilExplorerBaseGUI\init(), and ilLanguage\loadLanguageModule().
Referenced by ilPCTableGUI\editData(), ilImageMapEditorGUI\editMapArea(), ilLinkInputGUI\getContentOutsideFormTag(), ilObjLinkResourceGUI\manage(), and ilPageObjectGUI\showPage().
|
static |
Definition at line 946 of file class.ilInternalLinkGUI.php.
References $DIC, and ilLanguage\txt().
|
static |
Definition at line 903 of file class.ilInternalLinkGUI.php.
Referenced by ilLinkInputGUI\getOnloadCode().
ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 196 of file class.ilInternalLinkGUI.php.
References $set_link_script.
Referenced by outputThumbnail(), renderLink(), and selectRepositoryItem().
ilInternalLinkGUI::getTargetExplorer | ( | ) |
Cange target object.
Definition at line 799 of file class.ilInternalLinkGUI.php.
References $base_link_type.
Referenced by changeTargetObject().
ilInternalLinkGUI::getUserSearchResult | ( | ) |
Search user.
Definition at line 1083 of file class.ilInternalLinkGUI.php.
References Vendor\Package\$b, $DIC, Vendor\Package\$f, $id, $r, ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupLogin(), ilUserUtil\getNamePresentation(), ilUtil\getSystemMessageHTML(), initUserSearchForm(), ilLanguage\loadLanguageModule(), ilInternalLink\searchUsers(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by addUser().
ilInternalLinkGUI::init | ( | ) |
Definition at line 99 of file class.ilInternalLinkGUI.php.
References $ctrl, $default_parent_obj_id, $default_parent_ref_id, $lng, $ltypes, $tree, ilObject\_lookupType(), ilTree\isInTree(), resetLinkList(), ilCtrl\setParameter(), and ilLanguage\txt().
Referenced by executeCommand().
ilInternalLinkGUI::initUserSearchForm | ( | ) |
Init user search form.
Definition at line 1065 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\lng().
Referenced by addUser(), and getUserSearchResult().
ilInternalLinkGUI::outputThumbnail | ( | ilGlobalTemplate | $tpl, |
int | $a_id, | ||
string | $a_mode = "" |
||
) |
output thumbnail
Definition at line 743 of file class.ilInternalLinkGUI.php.
References getSetLinkTargetScript(), ilGlobalTemplate\parseCurrentBlock(), ilGlobalTemplate\setCurrentBlock(), and ilGlobalTemplate\setVariable().
Referenced by renderLink().
ilInternalLinkGUI::prepareJavascriptOutput | ( | string | $str | ) |
Prepare output for JS enabled editing.
Definition at line 254 of file class.ilInternalLinkGUI.php.
Referenced by renderLink().
ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 896 of file class.ilInternalLinkGUI.php.
References exit, and selectRepositoryItem().
ilInternalLinkGUI::renderLink | ( | ilGlobalTemplate | $tpl, |
string | $a_title, | ||
int | $a_obj_id, | ||
string | $a_type, | ||
string | $a_type_short, | ||
string | $a_bb_type, | ||
array | $a_anchors = array() , |
||
string | $a_link_content = "" |
||
) |
Render internal link item.
Definition at line 965 of file class.ilInternalLinkGUI.php.
References ilImageMapEditorGUI\_recoverParameters(), ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), outputThumbnail(), ilGlobalTemplate\parseCurrentBlock(), prepareJavascriptOutput(), ilGlobalTemplate\setCurrentBlock(), and ilGlobalTemplate\setVariable().
Referenced by showLinkHelp().
ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 230 of file class.ilInternalLinkGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
Referenced by init().
ilInternalLinkGUI::saveFileLink | ( | ) |
Save file link.
Definition at line 720 of file class.ilInternalLinkGUI.php.
References showLinkHelp().
ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 878 of file class.ilInternalLinkGUI.php.
References $ctrl, getSetLinkTargetScript(), and ilCtrl\setParameter().
Referenced by refreshRepositorySelector(), and showLinkHelp().
ilInternalLinkGUI::setFilterWhiteList | ( | bool | $a_white_list | ) |
Set filter list as white list (per detault it is a black list)
Definition at line 209 of file class.ilInternalLinkGUI.php.
Referenced by ilPageEditorGUI\executeCommand().
ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 789 of file class.ilInternalLinkGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
ilInternalLinkGUI::setReturn | ( | string | $a_return | ) |
Definition at line 191 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::setSetLinkTargetScript | ( | string | $a_script | ) |
Definition at line 186 of file class.ilInternalLinkGUI.php.
ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 263 of file class.ilInternalLinkGUI.php.
References $base_link_type, $ctrl, $parent_obj_id, $user, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilPCParagraph\_readAnchors(), addUser(), changeTargetObject(), ILIAS\Repository\ctrl(), exit, ilLegacyFormElementsUtil\formSelect(), ilPortfolioPage\getAllPortfolioPages(), ilWikiPage\getAllWikiPages(), getFileLinkHTML(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupForeignId(), renderLink(), and selectRepositoryItem().
Referenced by saveFileLink().
|
protected |
Definition at line 40 of file class.ilInternalLinkGUI.php.
Referenced by getTargetExplorer(), and showLinkHelp().
ilCtrl ilInternalLinkGUI::$ctrl |
Definition at line 46 of file class.ilInternalLinkGUI.php.
Referenced by changeLinkType(), changeTargetObject(), getFileLinkHTML(), init(), resetLinkList(), selectRepositoryItem(), setMedPoolFolder(), and showLinkHelp().
|
protected |
Definition at line 33 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 35 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 30 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 34 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 49 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 47 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 39 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 38 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 51 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), and init().
|
protected |
Definition at line 43 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 29 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 37 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
|
protected |
Definition at line 36 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 45 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 31 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 32 of file class.ilInternalLinkGUI.php.
string ilInternalLinkGUI::$set_link_script = "" |
Definition at line 41 of file class.ilInternalLinkGUI.php.
Referenced by getSetLinkTargetScript().
|
protected |
Definition at line 27 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 50 of file class.ilInternalLinkGUI.php.
Referenced by init().
Definition at line 28 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 52 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().