|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Internal link selector. More...
Collaboration diagram for ilInternalLinkGUI: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().
Here is the call graph for this function:| ilInternalLinkGUI::addUser | ( | ) |
Add user.
Definition at line 1057 of file class.ilInternalLinkGUI.php.
References getUserSearchResult(), and initUserSearchForm().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::changeLinkType | ( | ) |
Definition at line 773 of file class.ilInternalLinkGUI.php.
References $ctrl, ilObject\_lookupType(), ilCtrl\redirect(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilInternalLinkGUI::changeTargetObject | ( | string | $a_type = "" | ) |
Cange target object.
Definition at line 828 of file class.ilInternalLinkGUI.php.
References $ctrl, ILIAS\Repository\ctrl(), exit, getTargetExplorer(), ILIAS\Repository\lng(), and ilCtrl\setParameter().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 243 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\redirect().
Here is the call graph for this function:| ilInternalLinkGUI::executeCommand | ( | ) |
Definition at line 216 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\ctrl(), and init().
Here is the call graph for this function:| ilInternalLinkGUI::filterLinkType | ( | string | $a_link_type | ) |
Definition at line 202 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 677 of file class.ilInternalLinkGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get initialisation HTML to use internal link editing.
Definition at line 912 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 947 of file class.ilInternalLinkGUI.php.
References $DIC, and ilLanguage\txt().
Here is the call graph for this function:
|
static |
Definition at line 904 of file class.ilInternalLinkGUI.php.
Referenced by ilLinkInputGUI\getOnloadCode().
Here is the caller graph for this function:| ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 197 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 | ( | ) |
Cange target object.
Definition at line 800 of file class.ilInternalLinkGUI.php.
References $base_link_type.
Referenced by changeTargetObject().
Here is the caller graph for this function:| ilInternalLinkGUI::getUserSearchResult | ( | ) |
Search user.
Definition at line 1084 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::init | ( | ) |
Definition at line 100 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::initUserSearchForm | ( | ) |
Init user search form.
Definition at line 1066 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\lng().
Referenced by addUser(), and getUserSearchResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::outputThumbnail | ( | ilGlobalTemplate | $tpl, |
| int | $a_id, | ||
| string | $a_mode = "" |
||
| ) |
output thumbnail
Definition at line 744 of file class.ilInternalLinkGUI.php.
References getSetLinkTargetScript(), ilGlobalTemplate\parseCurrentBlock(), ilGlobalTemplate\setCurrentBlock(), and ilGlobalTemplate\setVariable().
Referenced by renderLink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::prepareJavascriptOutput | ( | string | $str | ) |
Prepare output for JS enabled editing.
Definition at line 255 of file class.ilInternalLinkGUI.php.
Referenced by renderLink().
Here is the caller graph for this function:| ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 897 of file class.ilInternalLinkGUI.php.
References exit, and selectRepositoryItem().
Here is the call graph for this function:| 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 966 of file class.ilInternalLinkGUI.php.
References ilImageMapEditorGUI\_recoverParameters(), ilUtil\appendUrlParameterString(), getSetLinkTargetScript(), outputThumbnail(), ilGlobalTemplate\parseCurrentBlock(), prepareJavascriptOutput(), ilGlobalTemplate\setCurrentBlock(), and ilGlobalTemplate\setVariable().
Referenced by showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 231 of file class.ilInternalLinkGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::saveFileLink | ( | ) |
Save file link.
Definition at line 721 of file class.ilInternalLinkGUI.php.
References showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 879 of file class.ilInternalLinkGUI.php.
References $ctrl, getSetLinkTargetScript(), and ilCtrl\setParameter().
Referenced by refreshRepositorySelector(), and showLinkHelp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInternalLinkGUI::setFilterWhiteList | ( | bool | $a_white_list | ) |
Set filter list as white list (per detault it is a black list)
Definition at line 210 of file class.ilInternalLinkGUI.php.
Referenced by ilPageEditorGUI\executeCommand().
Here is the caller graph for this function:| ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 790 of file class.ilInternalLinkGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilInternalLinkGUI::setReturn | ( | string | $a_return | ) |
Definition at line 192 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setSetLinkTargetScript | ( | string | $a_script | ) |
Definition at line 187 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 264 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
|
protected |
Definition at line 28 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 52 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().