|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilMultipleImagesInputGUI:
Collaboration diagram for ilMultipleImagesInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setSuffixes ($a_suffixes) | |
| Set Accepted Suffixes. More... | |
| getSuffixes () | |
| Get Accepted Suffixes. More... | |
| getImageRemovalCommand () | |
| setImageRemovalCommand ($imageRemovalCommand) | |
| getImageUploadCommand () | |
| setImageUploadCommand ($imageUploadCommand) | |
| isEditElementOccuranceEnabled () | |
| setEditElementOccuranceEnabled ($editElementOccuranceEnabled) | |
| isEditElementOrderEnabled () | |
| setEditElementOrderEnabled ($editElementOrderEnabled) | |
| onCheckInput () | |
| Check input, strip slashes etc. More... | |
| render ($a_mode="") | |
Public Member Functions inherited from ilIdentifiedMultiValuesInputGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| getElementAddCmd () | |
| setElementAddCmd ($elementAddCmd) | |
| getElementRemoveCmd () | |
| setElementRemoveCmd ($elementRemoveCmd) | |
| getElementMoveUpCommand () | |
| setElementMoveUpCommand ($elementMoveUpCommand) | |
| getElementMoveDownCommand () | |
| setElementMoveDownCommand ($elementMoveDownCommand) | |
| setValues ($values) | |
| getValues () | |
| setValue ($value) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setMultiValues (array $values) | |
| Set multi values. More... | |
| getMultiValues () | |
| Get multi values. More... | |
| setIdentifiedMultiValues ($values) | |
| getIdentifiedMultiValues () | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| onCheckInput () | |
| prepareReprintable (assQuestion $question) | |
Public Member Functions inherited from ilTextInputGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setValue ($a_value) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setValidationFailureMessage ($a_msg) | |
| Set message string for validation failure. More... | |
| getValidationFailureMessage () | |
| setValidationRegexp ($a_value) | |
| Set validation regexp. More... | |
| getValidationRegexp () | |
| Get validation regexp. More... | |
| setMaxLength ($a_maxlength) | |
| Set Max Length. More... | |
| getMaxLength () | |
| Get Max Length. More... | |
| setSize ($a_size) | |
| Set Size. More... | |
| setInlineStyle ($a_style) | |
| Set inline style. More... | |
| getInlineStyle () | |
| Get inline style. More... | |
| setCssClass ($a_class) | |
| getCssClass () | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| getSize () | |
| Get Size. More... | |
| setSuffix ($a_value) | |
| Set suffix. More... | |
| getSuffix () | |
| Get suffix. More... | |
| setInputType ($a_type) | |
| set input type More... | |
| getInputType () | |
| get input type More... | |
| setSubmitFormOnEnter ($a_val) | |
| Set submit form on enter. More... | |
| getSubmitFormOnEnter () | |
| Get submit form on enter. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getDataSource () | |
| get datasource link for js autocomplete More... | |
| setDataSource ($href, $a_delimiter=null) | |
| set datasource link for js autocomplete More... | |
| setDataSourceSubmitOnSelection ($a_stat) | |
| getDataSourceSubmitOnSelection () | |
| setDataSourceSubmitUrl ($a_url) | |
| getDataSourceSubmitUrl () | |
| setMultiValues (array $a_values) | |
| Set multi values. More... | |
| insert ($a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
| getToolbarHTML () | |
| Get HTML for toolbar. More... | |
| setDisableHtmlAutoComplete ($autocomplete) | |
| isHtmlAutoCompleteDisabled () | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem ($a_item) | |
| Add Subitem. More... | |
| getSubItems () | |
| Get Subitems. More... | |
| getSubInputItemsRecursive () | |
| returns a flat array of possibly existing subitems recursively More... | |
| checkSubItemsInput () | |
| Check SubItems. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| getType () | |
| Get Type. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setPostVar ($a_postvar) | |
| Set Post Variable. More... | |
| getPostVar () | |
| Get Post Variable. More... | |
| getFieldId () | |
| Get Post Variable. More... | |
| setInfo ($a_info) | |
| Set Information Text. More... | |
| getInfo () | |
| Get Information Text. More... | |
| setAlert ($a_alert) | |
| Set Alert Text. More... | |
| getAlert () | |
| Get Alert Text. More... | |
| setRequired ($a_required) | |
| Set Required. More... | |
| getRequired () | |
| Get Required. More... | |
| setDisabled ($a_disabled) | |
| Set Disabled. More... | |
| getDisabled () | |
| Get Disabled. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm ($a_parentform) | |
| Set Parent Form. More... | |
| getParentForm () | |
| Get Parent Form. More... | |
| setParent ($a_val) | |
| Set Parent GUI object. More... | |
| getParent () | |
| Get Parent GUI object. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| hideSubForm () | |
| Sub form hidden on init? More... | |
| setHiddenTitle ($a_val) | |
| Set hidden title (for screenreaders) More... | |
| getHiddenTitle () | |
| Get hidden title. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| serialize data More... | |
| unserializeData ($a_data) | |
| unserialize data More... | |
| writeToSession () | |
| Write to session. More... | |
| clearFromSession () | |
| Clear session value. More... | |
| readFromSession () | |
| Read from session. More... | |
| getHiddenTag ($a_post_var, $a_value) | |
| Get hidden tag (used for disabled properties) More... | |
| setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
| Set Multi. More... | |
| getMulti () | |
| Get Multi. More... | |
| setMultiValues (array $a_values) | |
| Set multi values. More... | |
| getMultiValues () | |
| Get multi values. More... | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback ($a_str) | |
| Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
Data Fields | |
| const | RENDERING_TEMPLATE = 'tpl.prop_multi_image_inp.html' |
| const | ITERATOR_SUBFIELD_NAME = 'iteratorfield' |
| const | STORED_IMAGE_SUBFIELD_NAME = 'storedimage' |
| const | IMAGE_UPLOAD_SUBFIELD_NAME = 'imageupload' |
| const | FILE_DATA_INDEX_DODGING_FILE = 'dodging_file' |
Data Fields inherited from ilIdentifiedMultiValuesInputGUI | |
| const | ELEMENT_DEFAULT_ADD_CMD = 'addElement' |
| const | ELEMENT_DEFAULT_REMOVE_CMD = 'removeElement' |
| const | ELEMENT_DEFAULT_MOVE_UP_CMD = 'moveUpElement' |
| const | ELEMENT_DEFAULT_MOVE_DOWN_CMD = 'moveDownElement' |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters ($a_text) |
| Remove prohibited characters see #19159. More... | |
Definition at line 13 of file class.ilMultipleImagesInputGUI.php.
| ilMultipleImagesInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilIdentifiedMultiValuesInputGUI.
Definition at line 47 of file class.ilMultipleImagesInputGUI.php.
References $DIC, ilIdentifiedMultiValuesInputGUI\addFormValuesManipulator(), ilFormPropertyGUI\getPostVar(), ilTextInputGUI\setSize(), and setSuffixes().
Here is the call graph for this function:
|
protected |
| $value |
Definition at line 387 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value, and valueHasContentImageSource().
Referenced by fetchContentImageTitleFromValue(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $value |
Definition at line 408 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value, fetchContentImageSourceFromValue(), and valueHasContentImageTitle().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultipleImagesInputGUI::getImageRemovalCommand | ( | ) |
Definition at line 102 of file class.ilMultipleImagesInputGUI.php.
References $imageRemovalCommand.
Referenced by render().
Here is the caller graph for this function:| ilMultipleImagesInputGUI::getImageUploadCommand | ( | ) |
Definition at line 118 of file class.ilMultipleImagesInputGUI.php.
References $imageUploadCommand.
Referenced by render().
Here is the caller graph for this function:| ilMultipleImagesInputGUI::getSuffixes | ( | ) |
Get Accepted Suffixes.
Definition at line 94 of file class.ilMultipleImagesInputGUI.php.
References $suffixes.
Referenced by onCheckInput(), and render().
Here is the caller graph for this function:
|
protected |
Definition at line 420 of file class.ilMultipleImagesInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilMultipleImagesInputGUI::isEditElementOccuranceEnabled | ( | ) |
Definition at line 134 of file class.ilMultipleImagesInputGUI.php.
References $editElementOccuranceEnabled.
Referenced by render().
Here is the caller graph for this function:| ilMultipleImagesInputGUI::isEditElementOrderEnabled | ( | ) |
Definition at line 150 of file class.ilMultipleImagesInputGUI.php.
References $editElementOrderEnabled.
Referenced by render().
Here is the caller graph for this function:
|
abstractprotected |
| ilMultipleImagesInputGUI::onCheckInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilIdentifiedMultiValuesInputGUI.
Definition at line 174 of file class.ilMultipleImagesInputGUI.php.
References $error, $filename, $GLOBALS, $index, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSuffixes(), ilFormPropertyGUI\setAlert(), and ilUtil\virusHandling().
Here is the call graph for this function:| ilMultipleImagesInputGUI::render | ( | $a_mode = "" | ) |
| string | $mode |
Definition at line 274 of file class.ilMultipleImagesInputGUI.php.
References $GLOBALS, $i, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, $tpl, ilTextInputGUI\$value, ilGlyphGUI\ADD, ilIdentifiedMultiValuesInputGUI\buildMultiValueSubmitVar(), ilGlyphGUI\DOWN, fetchContentImageSourceFromValue(), fetchContentImageTitleFromValue(), ilGlyphGUI\get(), ilFormPropertyGUI\getDisabled(), ilUtil\getFileSizeInfo(), ilIdentifiedMultiValuesInputGUI\getIdentifiedMultiValues(), getImageRemovalCommand(), getImageUploadCommand(), ilIdentifiedMultiValuesInputGUI\getMultiValuePosIndexedSubFieldId(), ilIdentifiedMultiValuesInputGUI\getMultiValuePostVarSubFieldPosIndexed(), ilFormPropertyGUI\getPostVar(), getSuffixes(), getTemplate(), isEditElementOccuranceEnabled(), isEditElementOrderEnabled(), ilUtil\prepareFormOutput(), ilGlyphGUI\REMOVE, ilGlyphGUI\UP, and valueHasContentImageSource().
Here is the call graph for this function:| ilMultipleImagesInputGUI::setEditElementOccuranceEnabled | ( | $editElementOccuranceEnabled | ) |
| boolean | $editElementOccuranceEnabled |
Definition at line 142 of file class.ilMultipleImagesInputGUI.php.
References $editElementOccuranceEnabled.
| ilMultipleImagesInputGUI::setEditElementOrderEnabled | ( | $editElementOrderEnabled | ) |
| boolean | $editElementOrderEnabled |
Definition at line 158 of file class.ilMultipleImagesInputGUI.php.
References $editElementOrderEnabled.
| ilMultipleImagesInputGUI::setImageRemovalCommand | ( | $imageRemovalCommand | ) |
| string | $imageRemovalCommand |
Definition at line 110 of file class.ilMultipleImagesInputGUI.php.
References $imageRemovalCommand.
| ilMultipleImagesInputGUI::setImageUploadCommand | ( | $imageUploadCommand | ) |
| string | $imageUploadCommand |
Definition at line 126 of file class.ilMultipleImagesInputGUI.php.
References $imageUploadCommand.
| ilMultipleImagesInputGUI::setSuffixes | ( | $a_suffixes | ) |
Set Accepted Suffixes.
| array | $a_suffixes | Accepted Suffixes |
Definition at line 84 of file class.ilMultipleImagesInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
| $value |
Definition at line 378 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value.
Referenced by fetchContentImageSourceFromValue(), and render().
Here is the caller graph for this function:
|
protected |
| $value |
Definition at line 400 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value.
Referenced by fetchContentImageTitleFromValue().
Here is the caller graph for this function:
|
protected |
Definition at line 25 of file class.ilMultipleImagesInputGUI.php.
Referenced by isEditElementOccuranceEnabled(), and setEditElementOccuranceEnabled().
|
protected |
Definition at line 30 of file class.ilMultipleImagesInputGUI.php.
Referenced by isEditElementOrderEnabled(), and setEditElementOrderEnabled().
|
protected |
Definition at line 37 of file class.ilMultipleImagesInputGUI.php.
Referenced by getImageRemovalCommand(), and setImageRemovalCommand().
|
protected |
Definition at line 39 of file class.ilMultipleImagesInputGUI.php.
Referenced by getImageUploadCommand(), and setImageUploadCommand().
|
protected |
Definition at line 35 of file class.ilMultipleImagesInputGUI.php.
Referenced by getSuffixes().
| const ilMultipleImagesInputGUI::FILE_DATA_INDEX_DODGING_FILE = 'dodging_file' |
Definition at line 21 of file class.ilMultipleImagesInputGUI.php.
| const ilMultipleImagesInputGUI::IMAGE_UPLOAD_SUBFIELD_NAME = 'imageupload' |
Definition at line 19 of file class.ilMultipleImagesInputGUI.php.
Referenced by ilMultipleImagesAdditionalIndexLevelRemover\isUploadSubfieldAvailable().
| const ilMultipleImagesInputGUI::ITERATOR_SUBFIELD_NAME = 'iteratorfield' |
Definition at line 17 of file class.ilMultipleImagesInputGUI.php.
Referenced by ilMultipleImagesAdditionalIndexLevelRemover\isIteratorSubfieldAvailable(), and ilMultipleImagesAdditionalIndexLevelRemover\removeAdditionalSubFieldsLevelFromSubmitValues().
| const ilMultipleImagesInputGUI::RENDERING_TEMPLATE = 'tpl.prop_multi_image_inp.html' |
Definition at line 15 of file class.ilMultipleImagesInputGUI.php.
| const ilMultipleImagesInputGUI::STORED_IMAGE_SUBFIELD_NAME = 'storedimage' |
Definition at line 18 of file class.ilMultipleImagesInputGUI.php.
Referenced by ilMultipleImagesAdditionalIndexLevelRemover\removeAdditionalSubFieldsLevelFromSubmitValues().