|
ILIAS
release_8 Revision v8.24
|
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... | |
Data Fields | |
| string | $set_link_script = "" |
| ilCtrl | $ctrl |
Protected Attributes | |
| 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 53 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 1038 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::changeLinkType | ( | ) |
Definition at line 776 of file class.ilInternalLinkGUI.php.
References 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 831 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 240 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 213 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 199 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 675 of file class.ilInternalLinkGUI.php.
References $ctrl, $lng, $tpl, 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 915 of file class.ilInternalLinkGUI.php.
References $DIC, $lng, $tpl, ilModalGUI\getInstance(), ilExplorerBaseGUI\init(), and ilYuiUtil\initConnection().
Referenced by ilLinkInputGUI\getContentOutsideFormTag(), ilPCTableGUI\getEditDataTable(), 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 907 of file class.ilInternalLinkGUI.php.
Referenced by ilLinkInputGUI\getOnloadCode().
Here is the caller graph for this function:| ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 194 of file class.ilInternalLinkGUI.php.
References $set_link_script.
| ilInternalLinkGUI::getTargetExplorer | ( | ) |
Cange target object.
Definition at line 803 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getUserSearchResult | ( | ) |
Search user.
Definition at line 1065 of file class.ilInternalLinkGUI.php.
References Vendor\Package\$b, $DIC, Vendor\Package\$f, $id, $lng, $name, ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupLogin(), ilUserUtil\getNamePresentation(), ilUtil\getSystemMessageHTML(), and ilInternalLink\searchUsers().
Here is the call graph for this function:| ilInternalLinkGUI::init | ( | ) |
Definition at line 97 of file class.ilInternalLinkGUI.php.
References $ctrl, $default_parent_obj_id, $default_parent_ref_id, $link_type, $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 1047 of file class.ilInternalLinkGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilInternalLinkGUI::outputThumbnail | ( | ilGlobalTemplate | $tpl, |
| int | $a_id, | ||
| string | $a_mode = "" |
||
| ) |
output thumbnail
Definition at line 742 of file class.ilInternalLinkGUI.php.
References ilGlobalTemplate\setCurrentBlock().
Here is the call graph for this function:| ilInternalLinkGUI::prepareJavascriptOutput | ( | string | $str | ) |
Prepare output for JS enabled editing.
Definition at line 252 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 900 of file class.ilInternalLinkGUI.php.
References exit.
| 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 947 of file class.ilInternalLinkGUI.php.
References $tpl.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::resetLinkList | ( | ) |
Definition at line 228 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 719 of file class.ilInternalLinkGUI.php.
References showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 882 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
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 207 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 793 of file class.ilInternalLinkGUI.php.
References ilCtrl\redirect(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilInternalLinkGUI::setReturn | ( | string | $a_return | ) |
Definition at line 189 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setSetLinkTargetScript | ( | string | $a_script | ) |
Definition at line 184 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 261 of file class.ilInternalLinkGUI.php.
References $base_link_type, $ctrl, $ilUser, $parent_obj_id, $parent_type, $tpl, $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 39 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
| ilCtrl ilInternalLinkGUI::$ctrl |
Definition at line 45 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), init(), resetLinkList(), and showLinkHelp().
|
protected |
Definition at line 32 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 34 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 29 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 33 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 48 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 46 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 38 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 37 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 50 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), and init().
|
protected |
Definition at line 42 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 28 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 36 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
|
protected |
Definition at line 35 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 44 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
|
protected |
Definition at line 30 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 31 of file class.ilInternalLinkGUI.php.
| string ilInternalLinkGUI::$set_link_script = "" |
Definition at line 40 of file class.ilInternalLinkGUI.php.
Referenced by getSetLinkTargetScript().
|
protected |
Definition at line 49 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 27 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 51 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().