| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 () | |
| 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 | |
| symbol () | |
| 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.
ilLinkInputGUI: ilFormPropertyDispatchGUI ilLinkInputGUI: ilInternalLinkGUI
Definition at line 29 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::__construct | ( | string | $a_title = "",  | 
        
| string | $a_postvar = ""  | 
        ||
| ) | 
Definition at line 54 of file class.ilLinkInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__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.
Definition at line 238 of file class.ilLinkInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), and ilLanguage\txt().
 Here is the call graph for this function:| ilLinkInputGUI::executeCommand | ( | ) | 
Definition at line 158 of file class.ilLinkInputGUI.php.
References ilFormPropertyGUI\$ctrl, ilFormPropertyGUI\$lng, getFilterWhiteList(), and ilLanguage\loadLanguageModule().
 Here is the call graph for this function:| ilLinkInputGUI::getAllowedLinkTypes | ( | ) | 
Definition at line 81 of file class.ilLinkInputGUI.php.
References $allowed_link_types.
Referenced by getContentOutsideFormTag(), and render().
 Here is the caller graph for this function:
      
  | 
  static | 
Get internal types to xml attribute types map (reverse)
Definition at line 125 of file class.ilLinkInputGUI.php.
| ilLinkInputGUI::getContentOutsideFormTag | ( | ) | 
Definition at line 497 of file class.ilLinkInputGUI.php.
References getAllowedLinkTypes(), and ilInternalLinkGUI\getInitHTML().
 Here is the call graph for this function:| ilLinkInputGUI::getExternalLinkMaxLength | ( | ) | 
Definition at line 153 of file class.ilLinkInputGUI.php.
References $external_link_max_length.
Referenced by render().
 Here is the caller graph for this function:| ilLinkInputGUI::getFilterWhiteList | ( | ) | 
Definition at line 140 of file class.ilLinkInputGUI.php.
References $filter_white_list.
Referenced by executeCommand().
 Here is the caller graph for this function:| ilLinkInputGUI::getInput | ( | ) | 
Definition at line 281 of file class.ilLinkInputGUI.php.
References $value, ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().
Referenced by getIntLinkAttributes().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilLinkInputGUI::getIntLinkAttributes | ( | ) | 
Get value as internal link attributes.
Definition at line 583 of file class.ilLinkInputGUI.php.
References ilFormPropertyGUI\$type, and getInput().
 Here is the call graph for this function:| 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, ilFormPropertyGUI\$lng, ilFormPropertyGUI\$type, ilGlossaryTerm\_lookGlossaryTerm(), ilObject\_lookupObjId(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), ilWikiPage\lookupTitle(), and ilLanguage\txt().
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 | ( | ) | 
Get Value.
Definition at line 203 of file class.ilLinkInputGUI.php.
References $value.
Referenced by render().
 Here is the caller graph for this function:| ilLinkInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
Definition at line 569 of file class.ilLinkInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), 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 ilObjLinkResourceGUI\checkLinkInput(), 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 ilFormPropertyGUI\$ctrl, ilFormPropertyGUI\$lng, ilFormPropertyGUI\$title, ilRadioOption\addSubItem(), getAllowedLinkTypes(), getExternalLinkMaxLength(), ilFormPropertyGUI\getParentForm(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getValue(), and ilLanguage\txt().
Referenced by insert().
 Here is the call graph for this function:
 Here is the caller 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.
Referenced by ilObjLinkResourceGUI\addLinkInputToForm(), and ilPageObjectGUI\initOpenedContentForm().
 Here is the caller graph for this function:| 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.
Referenced by setValueByArray(), and setValueByIntLinkAttributes().
 Here is the caller graph for this function:| ilLinkInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 208 of file class.ilLinkInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
 Here is the call graph for this function:| ilLinkInputGUI::setValueByIntLinkAttributes | ( | string | $a_type, | 
| string | $a_target, | ||
| string | $a_target_frame = ""  | 
        ||
| ) | 
Definition at line 620 of file class.ilLinkInputGUI.php.
References ilFormPropertyGUI\$type, ilObject\_lookupType(), and setValue().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 37 of file class.ilLinkInputGUI.php.
Referenced by getAllowedLinkTypes().
      
  | 
  protected | 
Definition at line 42 of file class.ilLinkInputGUI.php.
Referenced by getExternalLinkMaxLength().
      
  | 
  protected | 
Definition at line 41 of file class.ilLinkInputGUI.php.
Referenced by getFilterWhiteList().
      
  | 
  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.
Referenced by getInput(), and getValue().
| const ilLinkInputGUI::BOTH = "both" | 
Definition at line 33 of file class.ilLinkInputGUI.php.
Referenced by ilPCSectionGUI\initForm().
| const ilLinkInputGUI::EXT = "ext" | 
Definition at line 35 of file class.ilLinkInputGUI.php.
Referenced by ilPCSectionGUI\initForm().
| 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().