|
ILIAS
release_8 Revision v8.24
|
This class represents a external and/or internal link in a property form. More...
Inheritance diagram for ilLinkInputGUI:
Collaboration diagram for ilLinkInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setAllowedLinkTypes (string $a_val) | |
| Set allowed link types (LIST, BOTH, INT, EXT) More... | |
| getAllowedLinkTypes () | |
| setInternalLinkDefault (string $a_type, int $a_obj=0) | |
| Set internal link default. More... | |
| setInternalLinkFilterTypes (array $a_val) | |
| Set internal link filter types. More... | |
| setFilterWhiteList (bool $a_val) | |
| Set filter white list. More... | |
| getFilterWhiteList () | |
| setExternalLinkMaxLength (int $a_max) | |
| getExternalLinkMaxLength () | |
| executeCommand () | |
| setValue (string $a_value) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| render () | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| insert (ilTemplate $a_tpl) | |
| getIntLinkAttributes () | |
| Get value as internal link attributes. More... | |
| setValueByIntLinkAttributes (string $a_type, string $a_target, string $a_target_frame="") | |
| getOnloadCode () | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| executeCommand () | |
| getType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setPostVar (string $a_postvar) | |
| getPostVar () | |
| getFieldId () | |
| setInfo (string $a_info) | |
| getInfo () | |
| setAlert (string $a_alert) | |
| getAlert () | |
| setRequired (bool $a_required) | |
| getRequired () | |
| setDisabled (bool $a_disabled) | |
| getDisabled () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm (ilPropertyFormGUI $a_parentform) | |
| getParentForm () | |
| setParent (ilFormPropertyGUI $a_val) | |
| getParent () | |
| getSubForm () | |
| hideSubForm () | |
| setHiddenTitle (string $a_val) | |
| getHiddenTitle () | |
| getItemByPostVar (string $a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| unserializeData (string $a_data) | |
| setParentTable ($a_val) | |
| Set parent table. More... | |
| getParentTable () | |
| Get parent table. More... | |
| writeToSession () | |
| clearFromSession () | |
| readFromSession () | |
| getHiddenTag (string $a_post_var, string $a_value) | |
| setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
| getMulti () | |
| setMultiValues (array $a_values) | |
| getMultiValues () | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback (string $a_str) | |
| Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value for filter. More... | |
| getFormLabelFor () | |
| Get label "for" attribute value for form. More... | |
| setRequestParam (string $key, $val) | |
| This writes the request (aka post) values. More... | |
Static Public Member Functions | |
| static | getTypeToAttrType () |
| Get internal types to xml attribute types map. More... | |
| static | getAttrTypeToType () |
| Get internal types to xml attribute types map (reverse) More... | |
| static | isInternalLink (string $a_value) |
| static | getTranslatedValue (string $a_value) |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
Data Fields | |
| const | EXTERNAL_LINK_MAX_LENGTH = 200 |
| const | LIST = "list" |
| const | BOTH = "both" |
| const | INT = "int" |
| const | EXT = "ext" |
Protected Attributes | |
| string | $allowed_link_types = self::BOTH |
| string | $int_link_default_type = "RepositoryItem" |
| int | $int_link_default_obj = 0 |
| array | $int_link_filter_types = array("RepositoryItem") |
| bool | $filter_white_list = true |
| int | $external_link_max_length = self::EXTERNAL_LINK_MAX_LENGTH |
| ilObjectDefinition | $obj_definition |
| string | $requested_postvar |
| string | $value = "" |
Protected Attributes inherited from ilFormPropertyGUI | |
| array | $set_params = [] |
| ilTable2GUI | $parent_table = null |
| ilFormPropertyGUI | $parent_gui = null |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| string | $type = "" |
| string | $title = "" |
| string | $postvar = "" |
| string | $info = "" |
| string | $alert = "" |
| bool | $required = false |
| ilPropertyFormGUI | $parentform = null |
| string | $hidden_title = "" |
| bool | $multi = false |
| bool | $multi_sortable = false |
| bool | $multi_addremove = true |
| array | $multi_values = [] |
| RequestInterface | $request |
| HTTP Services | $http |
| Refinery Factory | $refinery = null |
| bool | $disabled = false |
| ilGlobalTemplateInterface | $global_tpl = null |
Static Protected Attributes | |
| static array | $iltypemap |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType (string $a_type) | |
| checkParentFormTable () | |
| getSessionKey () | |
| getMultiIconsHTML () | |
| int ($key) | |
| intArray ($key) | |
| str ($key) | |
| raw ($key) | |
| strArray ($key) | |
| arrayArray ($key) | |
| isRequestParamArray (string $key) | |
| getRequestParam (string $key, Refinery\Transformation $t) | |
This class represents a external and/or internal link in a property form.
@ilCtrl_IsCalledBy ilLinkInputGUI: ilFormPropertyDispatchGUI @ilCtrl_Calls ilLinkInputGUI: ilInternalLinkGUI
Definition at line 29 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 54 of file class.ilLinkInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and ilFormPropertyGUI\str().
Here is the call graph for this function:| ilLinkInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 238 of file class.ilLinkInputGUI.php.
References $lng, and ILIAS\Repository\str().
Here is the call graph for this function:| ilLinkInputGUI::executeCommand | ( | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 158 of file class.ilLinkInputGUI.php.
References $lng.
| ilLinkInputGUI::getAllowedLinkTypes | ( | ) |
Definition at line 81 of file class.ilLinkInputGUI.php.
References $allowed_link_types.
|
static |
Get internal types to xml attribute types map (reverse)
Definition at line 125 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::getContentOutsideFormTag | ( | ) |
Get content that has to reside outside of the parent form tag, e.g.
panels/layers
Reimplemented from ilFormPropertyGUI.
Definition at line 497 of file class.ilLinkInputGUI.php.
References ilInternalLinkGUI\getInitHTML().
Here is the call graph for this function:| ilLinkInputGUI::getExternalLinkMaxLength | ( | ) |
Definition at line 153 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::getFilterWhiteList | ( | ) |
Definition at line 140 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::getInput | ( | ) |
Definition at line 281 of file class.ilLinkInputGUI.php.
References ILIAS\Repository\str().
Here is the call graph for this function:| ilLinkInputGUI::getIntLinkAttributes | ( | ) |
Get value as internal link attributes.
Definition at line 583 of file class.ilLinkInputGUI.php.
References $target_type, and $type.
| ilLinkInputGUI::getOnloadCode | ( | ) |
Definition at line 643 of file class.ilLinkInputGUI.php.
References ilInternalLinkGUI\getOnloadCode().
Here is the call graph for this function:
|
static |
Definition at line 525 of file class.ilLinkInputGUI.php.
References $DIC, $lng, $name, $type, ilGlossaryTerm\_lookGlossaryTerm(), ilObject\_lookupObjId(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), and ilWikiPage\lookupTitle().
Referenced by ilWebResourceEditableLinkTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get internal types to xml attribute types map.
Definition at line 115 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::getValue | ( | ) |
| ilLinkInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 569 of file class.ilLinkInputGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
static |
Definition at line 508 of file class.ilLinkInputGUI.php.
References $parts.
Referenced by ilObjLinkResourceListGUI\getCommandFrame(), ilWebLinkXmlParser\handlerEndTag(), ilObjLinkResourceGUI\updateLinks(), and ilWebLinkDatabaseRepository\validateInternalItemTarget().
Here is the caller graph for this function:| ilLinkInputGUI::render | ( | ) |
Definition at line 302 of file class.ilLinkInputGUI.php.
References $lng, and ILIAS\UI\Implementation\Component\Input\getValue().
Here is the call graph for this function:| ilLinkInputGUI::setAllowedLinkTypes | ( | string | $a_val | ) |
Set allowed link types (LIST, BOTH, INT, EXT)
| string | $a_val | self::LIST|self::BOTH|self::INT|self::EXT |
Definition at line 76 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setExternalLinkMaxLength | ( | int | $a_max | ) |
| int | max length for external links |
Definition at line 148 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setFilterWhiteList | ( | bool | $a_val | ) |
Set filter white list.
| bool | $a_val | filter list is white list |
Definition at line 135 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setInternalLinkDefault | ( | string | $a_type, |
| int | $a_obj = 0 |
||
| ) |
Set internal link default.
| string | $a_type | link type |
| int | $a_obj | object id |
Definition at line 92 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setInternalLinkFilterTypes | ( | array | $a_val | ) |
Set internal link filter types.
| array | $a_val | filter types |
Definition at line 105 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setValue | ( | string | $a_value | ) |
Set Value.
| string | $a_value |
Definition at line 194 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 208 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::setValueByIntLinkAttributes | ( | string | $a_type, |
| string | $a_target, | ||
| string | $a_target_frame = "" |
||
| ) |
Definition at line 620 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 37 of file class.ilLinkInputGUI.php.
Referenced by getAllowedLinkTypes().
|
protected |
Definition at line 42 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 41 of file class.ilLinkInputGUI.php.
|
staticprotected |
Definition at line 44 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 39 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 38 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 40 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 50 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 51 of file class.ilLinkInputGUI.php.
|
protected |
Definition at line 52 of file class.ilLinkInputGUI.php.
| const ilLinkInputGUI::BOTH = "both" |
Definition at line 33 of file class.ilLinkInputGUI.php.
| const ilLinkInputGUI::EXT = "ext" |
Definition at line 35 of file class.ilLinkInputGUI.php.
| const ilLinkInputGUI::EXTERNAL_LINK_MAX_LENGTH = 200 |
Definition at line 31 of file class.ilLinkInputGUI.php.
| const ilLinkInputGUI::INT = "int" |
Definition at line 34 of file class.ilLinkInputGUI.php.
Referenced by ilPageObjectGUI\initOpenedContentForm().
| const ilLinkInputGUI::LIST = "list" |
Definition at line 32 of file class.ilLinkInputGUI.php.
Referenced by ilObjLinkResourceGUI\addLinkInputToForm().