| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This class represents a file property in a property form. More...
 Inheritance diagram for ilFileInputGUI:
 Collaboration diagram for ilFileInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setValueByArray (array $a_values) | |
| setValue (string $a_value) | |
| Set Value.  More... | |
| getValue () | |
| setSize (int $a_size) | |
| getSize () | |
| setFilename (string $a_val) | |
| getFilename () | |
| setSuffixes (array $a_suffixes) | |
| getSuffixes () | |
| setForbiddenSuffixes (array $a_suffixes) | |
| getForbiddenSuffixes () | |
| setPending (string $a_val) | |
| getPending () | |
| enableFileNameSelection (string $a_post_var) | |
| isFileNameSelectionEnabled () | |
| getFileNamePostVar () | |
| setAllowDeletion (bool $a_val) | |
| getALlowDeletion () | |
| checkInput () | |
| getInput () | |
| render (string $a_mode="") | |
| insert (ilTemplate $a_tpl) | |
| getDeletionFlag () | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI.  More... | |
  Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem (ilFormPropertyGUI $a_item) | |
| getSubItems () | |
| getSubInputItemsRecursive () | |
| returns a flat array of possibly existing subitems recursively  More... | |
| checkSubItemsInput () | |
| Check SubItems.  More... | |
| getSubForm () | |
| getItemByPostVar (string $a_post_var) | |
  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... | |
Protected Member Functions | |
| outputSuffixes (ilTemplate $a_tpl, string $a_block="allowed_suffixes") | |
| getMaxFileSizeString () | |
| getMaxFileUploads () | |
| Get number of maximum file uploads as declared in php.ini.  More... | |
  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) | |
Protected Attributes | |
| int | $size = 40 | 
| string | $pending = "" | 
| bool | $allow_deletion = false | 
| bool | $filename_selection = false | 
| array | $forbidden_suffixes = [] | 
| array | $suffixes = [] | 
| string | $value = "" | 
| FileUpload | $upload_service | 
| UploadLimitResolver | $upload_limit | 
  Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| array | $sub_items = array() | 
  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 | 
Private Attributes | |
| string | $filename = "" | 
| string | $filename_post = "" | 
Additional Inherited Members | |
  Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) | 
| Remove prohibited characters see #19159.  More... | |
This class represents a file property in a property form.
Definition at line 30 of file class.ilFileInputGUI.php.
| ilFileInputGUI::__construct | ( | string | $a_title = "",  | 
        
| string | $a_postvar = ""  | 
        ||
| ) | 
Definition at line 44 of file class.ilFileInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setHiddenTitle(), and ilFormPropertyGUI\setType().
 Here is the call graph for this function:| ilFileInputGUI::checkInput | ( | ) | 
Definition at line 163 of file class.ilFileInputGUI.php.
References Vendor\Package\$e, getDeletionFlag(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSuffixes(), getValue(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilFormPropertyGUI\setAlert(), setFilename(), ilFormPropertyGUI\str(), ilUtil\stripSlashes(), and ilVirusScanner\virusHandling().
 Here is the call graph for this function:| ilFileInputGUI::enableFileNameSelection | ( | string | $a_post_var | ) | 
Definition at line 137 of file class.ilFileInputGUI.php.
Referenced by ilObjCourseGUI\initInfoEditor().
 Here is the caller graph for this function:| ilFileInputGUI::getALlowDeletion | ( | ) | 
Definition at line 158 of file class.ilFileInputGUI.php.
References $allow_deletion.
Referenced by render().
 Here is the caller graph for this function:| ilFileInputGUI::getDeletionFlag | ( | ) | 
Definition at line 400 of file class.ilFileInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Referenced by checkInput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilFileInputGUI::getFilename | ( | ) | 
Definition at line 100 of file class.ilFileInputGUI.php.
References $filename.
Referenced by render().
 Here is the caller graph for this function:| ilFileInputGUI::getFileNamePostVar | ( | ) | 
Definition at line 148 of file class.ilFileInputGUI.php.
References $filename_post.
Referenced by render(), and setValueByArray().
 Here is the caller graph for this function:| ilFileInputGUI::getForbiddenSuffixes | ( | ) | 
| ilFileInputGUI::getInput | ( | ) | 
Definition at line 267 of file class.ilFileInputGUI.php.
References ilFormPropertyGUI\getPostVar().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 386 of file class.ilFileInputGUI.php.
Referenced by ilImagemapCorrectionsInputGUI\insert(), ilImageFileInputGUI\insert(), ilFileWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), and render().
 Here is the caller graph for this function:
      
  | 
  protected | 
Get number of maximum file uploads as declared in php.ini.
Definition at line 395 of file class.ilFileInputGUI.php.
Referenced by ilFileWizardInputGUI\insert().
 Here is the caller graph for this function:| ilFileInputGUI::getPending | ( | ) | 
Definition at line 131 of file class.ilFileInputGUI.php.
References $pending.
Referenced by ilImageFileInputGUI\insert(), and render().
 Here is the caller graph for this function:| ilFileInputGUI::getSize | ( | ) | 
Definition at line 89 of file class.ilFileInputGUI.php.
References $size.
Referenced by render().
 Here is the caller graph for this function:| ilFileInputGUI::getSuffixes | ( | ) | 
Definition at line 110 of file class.ilFileInputGUI.php.
References $suffixes.
Referenced by ilFileWizardInputGUI\checkInput(), checkInput(), ilImagemapFileInputGUI\checkInput(), and outputSuffixes().
 Here is the caller graph for this function:| ilFileInputGUI::getToolbarHTML | ( | ) | 
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 408 of file class.ilFileInputGUI.php.
References render().
 Here is the call graph for this function:| ilFileInputGUI::getValue | ( | ) | 
Definition at line 79 of file class.ilFileInputGUI.php.
References $value.
Referenced by checkInput(), ilImagemapFileInputGUI\checkInput(), ilImagemapCorrectionsInputGUI\insert(), ilImageFileInputGUI\insert(), ilImagemapFileInputGUI\insert(), and render().
 Here is the caller graph for this function:| ilFileInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
Definition at line 357 of file class.ilFileInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
 Here is the call graph for this function:| ilFileInputGUI::isFileNameSelectionEnabled | ( | ) | 
Definition at line 143 of file class.ilFileInputGUI.php.
References $filename_selection.
Referenced by render().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 367 of file class.ilFileInputGUI.php.
References getSuffixes(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ilImageFileInputGUI\insert(), ilFileWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), and render().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilFileInputGUI::render | ( | string | $a_mode = "" | ) | 
Definition at line 272 of file class.ilFileInputGUI.php.
References getALlowDeletion(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getFilename(), getFileNamePostVar(), getMaxFileSizeString(), getPending(), ilFormPropertyGUI\getPostVar(), getSize(), getValue(), isFileNameSelectionEnabled(), ILIAS\Repository\lng(), and outputSuffixes().
Referenced by getToolbarHTML(), and insert().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilFileInputGUI::setAllowDeletion | ( | bool | $a_val | ) | 
Definition at line 153 of file class.ilFileInputGUI.php.
Referenced by ilObjCmiXapiGUI\initCreateForm(), ilBookingObjectGUI\initForm(), ilCalendarCategoryGUI\initImportForm(), and ilObjUserFolderGUI\initNewAccountMailForm().
 Here is the caller graph for this function:| ilFileInputGUI::setFilename | ( | string | $a_val | ) | 
Definition at line 95 of file class.ilFileInputGUI.php.
Referenced by checkInput(), and setValueByArray().
 Here is the caller graph for this function:| ilFileInputGUI::setForbiddenSuffixes | ( | array | $a_suffixes | ) | 
Definition at line 115 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setPending | ( | string | $a_val | ) | 
Definition at line 126 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setSize | ( | int | $a_size | ) | 
Definition at line 84 of file class.ilFileInputGUI.php.
Referenced by ilFileSystemGUI\listFiles().
 Here is the caller graph for this function:| ilFileInputGUI::setSuffixes | ( | array | $a_suffixes | ) | 
Definition at line 105 of file class.ilFileInputGUI.php.
Referenced by ilImageFileInputGUI\__construct(), ilDidacticTemplateSettingsGUI\createImportForm(), ilObjHelpSettingsGUI\editSettings(), ilNewsItemGUI\getEditForm(), ilContentStyleImageGUI\getImageForm(), ilObjSurveyQuestionPoolGUI\getImportForm(), ilPCMediaObjectEditorGUI\getUploadForm(), ilObjMediaCastGUI\initAddCastItemForm(), ilPCInteractiveImageGUI\initAddOverlaysForm(), ilBadgeManagementGUI\initBadgeForm(), ilObjBibliographicGUI\initCreationForms(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilObjBadgeAdministrationGUI\initImageTemplateForm(), ilDclRecordListGUI\initImportForm(), ilObjectPluginGUI\initImportForm(), ilObjSurveyGUI\initImportForm(), ilAdvancedMDSettingsGUI\initImportForm(), ilObjectGUI\initImportForm(), ilObjQuestionPoolGUI\initImportForm(), ilObjTestGUI\initImportForm(), ilSkillRootGUI\initInputForm(), ilSkillProfileGUI\initInputForm(), ilPageLayoutAdministrationGUI\initPageLayoutImportForm(), ilMediaPoolImportGUI\initTranslationImportForm(), ilLMImportGUI\initTranslationImportForm(), ilObjUserFolderGUI\initUserImportForm(), ilExSubmissionFileGUI\initZipUploadForm(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjectPropertyIcon\toLegacyForm(), ilMobMultiSrtUploadGUI\uploadMultipleSubtitleFileForm(), and ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject().
 Here is the caller graph for this function:| ilFileInputGUI::setValue | ( | string | $a_value | ) | 
Set Value.
(used for displaying file title of existing file below input field)
Definition at line 74 of file class.ilFileInputGUI.php.
Referenced by setValueByArray().
 Here is the caller graph for this function:| ilFileInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 61 of file class.ilFileInputGUI.php.
References getFileNamePostVar(), ilFormPropertyGUI\getPostVar(), setFilename(), and setValue().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 36 of file class.ilFileInputGUI.php.
Referenced by ilImageFileInputGUI\getALlowDeletion(), and getALlowDeletion().
      
  | 
  private | 
Definition at line 32 of file class.ilFileInputGUI.php.
Referenced by ilFileWizardInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), and getFilename().
      
  | 
  private | 
Definition at line 33 of file class.ilFileInputGUI.php.
Referenced by getFileNamePostVar().
      
  | 
  protected | 
Definition at line 37 of file class.ilFileInputGUI.php.
Referenced by isFileNameSelectionEnabled().
      
  | 
  protected | 
Definition at line 38 of file class.ilFileInputGUI.php.
Referenced by getForbiddenSuffixes().
      
  | 
  protected | 
Definition at line 35 of file class.ilFileInputGUI.php.
Referenced by getPending(), and ilImageFileInputGUI\insert().
      
  | 
  protected | 
Definition at line 34 of file class.ilFileInputGUI.php.
Referenced by getSize().
      
  | 
  protected | 
Definition at line 39 of file class.ilFileInputGUI.php.
Referenced by getSuffixes().
      
  | 
  protected | 
Definition at line 42 of file class.ilFileInputGUI.php.
      
  | 
  protected | 
Definition at line 41 of file class.ilFileInputGUI.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilFileInputGUI.php.
Referenced by getValue(), and ilFileWizardInputGUI\insert().