|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 26 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 55 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 1058 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::changeLinkType | ( | ) |
Definition at line 774 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 829 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
Here is the caller graph for this function:| ilInternalLinkGUI::closeLinkHelp | ( | ) |
Definition at line 244 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 217 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 203 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getFileLinkHTML | ( | ) |
Get HTML for file link.
Definition at line 678 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 913 of file class.ilInternalLinkGUI.php.
References $DIC, $lng, and ilExplorerBaseGUI\init().
Referenced by 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 948 of file class.ilInternalLinkGUI.php.
|
static |
Definition at line 905 of file class.ilInternalLinkGUI.php.
Referenced by ilLinkInputGUI\getOnloadCode().
Here is the caller graph for this function:| ilInternalLinkGUI::getSetLinkTargetScript | ( | ) |
Definition at line 198 of file class.ilInternalLinkGUI.php.
References $set_link_script.
| ilInternalLinkGUI::getTargetExplorer | ( | ) |
Cange target object.
Definition at line 801 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::getUserSearchResult | ( | ) |
Search user.
Definition at line 1085 of file class.ilInternalLinkGUI.php.
References Vendor\Package\$b, $DIC, Vendor\Package\$f, $id, $lng, ilObjUser\_getPersonalPicturePath(), ilObjUser\_lookupLogin(), ilUserUtil\getNamePresentation(), ilUtil\getSystemMessageHTML(), and ilInternalLink\searchUsers().
Here is the call graph for this function:| ilInternalLinkGUI::init | ( | ) |
Definition at line 101 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 1067 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 745 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 256 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::refreshRepositorySelector | ( | ) |
Refresh Repository Selector.
Definition at line 898 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 967 of file class.ilInternalLinkGUI.php.
References ilGlobalTemplate\parseCurrentBlock(), 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 232 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 722 of file class.ilInternalLinkGUI.php.
References showLinkHelp().
Here is the call graph for this function:| ilInternalLinkGUI::selectRepositoryItem | ( | ) |
select repository item explorer
Definition at line 880 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 211 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setMedPoolFolder | ( | ) |
select media pool folder
Definition at line 791 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 193 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::setSetLinkTargetScript | ( | string | $a_script | ) |
Definition at line 188 of file class.ilInternalLinkGUI.php.
| ilInternalLinkGUI::showLinkHelp | ( | ) |
Show link help list.
Definition at line 265 of file class.ilInternalLinkGUI.php.
References $base_link_type, $ctrl, $parent_obj_id, $parent_type, $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 41 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
| ilCtrl ilInternalLinkGUI::$ctrl |
Definition at line 47 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), init(), resetLinkList(), and showLinkHelp().
|
protected |
Definition at line 34 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 36 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 31 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 35 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 50 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 48 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 40 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 39 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 52 of file class.ilInternalLinkGUI.php.
Referenced by getFileLinkHTML(), and init().
|
protected |
Definition at line 44 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 30 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 38 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
|
protected |
Definition at line 37 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 46 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().
|
protected |
Definition at line 32 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 33 of file class.ilInternalLinkGUI.php.
| string ilInternalLinkGUI::$set_link_script = "" |
Definition at line 42 of file class.ilInternalLinkGUI.php.
Referenced by getSetLinkTargetScript().
|
protected |
Definition at line 28 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 51 of file class.ilInternalLinkGUI.php.
Referenced by init().
|
protected |
Definition at line 29 of file class.ilInternalLinkGUI.php.
|
protected |
Definition at line 53 of file class.ilInternalLinkGUI.php.
Referenced by showLinkHelp().