|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| Check input, strip slashes etc. More... | |
| 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) | |
| Get item by post var. More... | |
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... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. 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 31 of file class.ilFileInputGUI.php.
| ilFileInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilFileWizardInputGUI, and ilImageFileInputGUI.
Definition at line 45 of file class.ilFileInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setHiddenTitle(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilFileWizardInputGUI, ilImagemapCorrectionsInputGUI, and ilImagemapFileInputGUI.
Definition at line 164 of file class.ilFileInputGUI.php.
References Vendor\Package\$e, $filename, 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 138 of file class.ilFileInputGUI.php.
| ilFileInputGUI::getALlowDeletion | ( | ) |
Reimplemented in ilImageFileInputGUI.
Definition at line 159 of file class.ilFileInputGUI.php.
References $allow_deletion.
Referenced by render().
Here is the caller graph for this function:| ilFileInputGUI::getDeletionFlag | ( | ) |
Reimplemented in ilImageFileInputGUI.
Definition at line 401 of file class.ilFileInputGUI.php.
Referenced by checkInput().
Here is the caller graph for this function:| ilFileInputGUI::getFilename | ( | ) |
Definition at line 101 of file class.ilFileInputGUI.php.
References $filename.
Referenced by render().
Here is the caller graph for this function:| ilFileInputGUI::getFileNamePostVar | ( | ) |
Definition at line 149 of file class.ilFileInputGUI.php.
References $filename_post.
Referenced by render(), and setValueByArray().
Here is the caller graph for this function:| ilFileInputGUI::getForbiddenSuffixes | ( | ) |
Definition at line 121 of file class.ilFileInputGUI.php.
References $forbidden_suffixes.
| ilFileInputGUI::getInput | ( | ) |
Reimplemented in ilImagemapFileInputGUI.
Definition at line 268 of file class.ilFileInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Here is the call graph for this function:
|
protected |
Definition at line 387 of file class.ilFileInputGUI.php.
|
protected |
Get number of maximum file uploads as declared in php.ini.
Definition at line 396 of file class.ilFileInputGUI.php.
Referenced by ilFileWizardInputGUI\insert().
Here is the caller graph for this function:| ilFileInputGUI::getPending | ( | ) |
Definition at line 132 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 90 of file class.ilFileInputGUI.php.
References $size.
Referenced by render().
Here is the caller graph for this function:| ilFileInputGUI::getSuffixes | ( | ) |
Definition at line 111 of file class.ilFileInputGUI.php.
References $suffixes.
Referenced by checkInput(), ilFileWizardInputGUI\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 409 of file class.ilFileInputGUI.php.
| ilFileInputGUI::getValue | ( | ) |
Definition at line 80 of file class.ilFileInputGUI.php.
References $value.
Referenced by checkInput(), ilImagemapFileInputGUI\checkInput(), ilImageFileInputGUI\insert(), ilImagemapCorrectionsInputGUI\insert(), ilImagemapFileInputGUI\insert(), and render().
Here is the caller graph for this function:| ilFileInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Reimplemented in ilFileWizardInputGUI, ilImageFileInputGUI, ilImagemapCorrectionsInputGUI, and ilImagemapFileInputGUI.
Definition at line 358 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 144 of file class.ilFileInputGUI.php.
References $filename_selection.
Referenced by render().
Here is the caller graph for this function:
|
protected |
Definition at line 368 of file class.ilFileInputGUI.php.
References getSuffixes(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ilFileWizardInputGUI\insert(), ilImageFileInputGUI\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 273 of file class.ilFileInputGUI.php.
References $pending, getALlowDeletion(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getFilename(), getFileNamePostVar(), getPending(), ilFormPropertyGUI\getPostVar(), getSize(), getValue(), isFileNameSelectionEnabled(), ILIAS\Repository\lng(), and outputSuffixes().
Referenced by insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileInputGUI::setAllowDeletion | ( | bool | $a_val | ) |
Reimplemented in ilImageFileInputGUI.
Definition at line 154 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setFilename | ( | string | $a_val | ) |
Definition at line 96 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 116 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setPending | ( | string | $a_val | ) |
Definition at line 127 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setSize | ( | int | $a_size | ) |
Definition at line 85 of file class.ilFileInputGUI.php.
| ilFileInputGUI::setSuffixes | ( | array | $a_suffixes | ) |
Definition at line 106 of file class.ilFileInputGUI.php.
Referenced by ilImageFileInputGUI\__construct().
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 75 of file class.ilFileInputGUI.php.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilFileInputGUI::setValueByArray | ( | array | $a_values | ) |
Reimplemented in ilImagemapCorrectionsInputGUI, and ilImagemapFileInputGUI.
Definition at line 62 of file class.ilFileInputGUI.php.
References $value, getFileNamePostVar(), ilFormPropertyGUI\getPostVar(), setFilename(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ilFileInputGUI.php.
Referenced by getALlowDeletion(), and ilImageFileInputGUI\getALlowDeletion().
|
private |
Definition at line 33 of file class.ilFileInputGUI.php.
Referenced by checkInput(), ilFileWizardInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), and getFilename().
|
private |
Definition at line 34 of file class.ilFileInputGUI.php.
Referenced by getFileNamePostVar().
|
protected |
Definition at line 38 of file class.ilFileInputGUI.php.
Referenced by isFileNameSelectionEnabled().
|
protected |
Definition at line 39 of file class.ilFileInputGUI.php.
Referenced by getForbiddenSuffixes().
|
protected |
Definition at line 36 of file class.ilFileInputGUI.php.
Referenced by getPending(), ilImageFileInputGUI\insert(), and render().
|
protected |
Definition at line 35 of file class.ilFileInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 40 of file class.ilFileInputGUI.php.
Referenced by getSuffixes().
|
protected |
Definition at line 43 of file class.ilFileInputGUI.php.
|
protected |
Definition at line 42 of file class.ilFileInputGUI.php.
|
protected |
Definition at line 41 of file class.ilFileInputGUI.php.
Referenced by getValue(), ilFileWizardInputGUI\insert(), and setValueByArray().