ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
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 (string $a_mode="") | |
![]() | |
__construct ($a_title="", $a_postvar="") | |
getElementAddCmd () | |
setElementAddCmd (string $element_add_cmd) | |
getElementRemoveCmd () | |
setElementRemoveCmd (string $element_remove_cmd) | |
getElementMoveUpCommand () | |
setElementMoveUpCommand (string $element_move_up_cmd) | |
getElementMoveDownCommand () | |
setElementMoveDownCommand (string $element_move_down_cmd) | |
setValues ($values) | |
getValues () | |
setValue ($value) | |
getValue () | |
setMultiValues (array $values) | |
getMultiValues () | |
setIdentifiedMultiValues ($values) | |
getIdentifiedMultiValues () | |
setValueByArray (array $a_values) | |
getInput () | |
checkInput () | |
onCheckInput () | |
prepareReprintable (assQuestion $question) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
setValue ($a_value) | |
getValue () | |
setValidationFailureMessage (string $a_msg) | |
getValidationFailureMessage () | |
setValidationRegexp (string $a_value) | |
getValidationRegexp () | |
setMaxLength (?int $a_maxlength) | |
getMaxLength () | |
setSize (int $a_size) | |
setInlineStyle (string $a_style) | |
getInlineStyle () | |
setCssClass (string $a_class) | |
getCssClass () | |
setValueByArray (array $a_values) | |
getSize () | |
setSuffix (string $a_value) | |
getSuffix () | |
setInputType (string $a_type) | |
set input type More... | |
getInputType () | |
setSubmitFormOnEnter (bool $a_val) | |
getSubmitFormOnEnter () | |
checkInput () | |
getInput () | |
getDataSource () | |
setDataSource (string $href, ?string $a_delimiter=null) | |
setDataSourceSubmitOnSelection (bool $a_stat) | |
getDataSourceSubmitOnSelection () | |
setDataSourceSubmitUrl (string $a_url) | |
getDataSourceSubmitUrl () | |
setMultiValues (array $a_values) | |
render (string $a_mode="") | |
insert (ilTemplate $a_tpl) | |
getTableFilterHTML () | |
Get input item HTML to be inserted into table filters. More... | |
getToolbarHTML () | |
Get input item HTML to be inserted into ilToolbarGUI. More... | |
setDisableHtmlAutoComplete (bool $autocomplete) | |
isHtmlAutoCompleteDisabled () | |
getPostValueForComparison () | |
![]() | |
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) | |
![]() | |
__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... | |
![]() | |
getTableFilterLabelFor () | |
Get label "for" attribute value. 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' |
![]() | |
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 | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
Definition at line 26 of file class.ilMultipleImagesInputGUI.php.
ilMultipleImagesInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 69 of file class.ilMultipleImagesInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilIdentifiedMultiValuesInputGUI\addFormValuesManipulator(), ilFormPropertyGUI\getPostVar(), ILIAS\Repository\lng(), renderer(), ilTextInputGUI\setSize(), and setSuffixes().
|
protected |
$value |
Definition at line 435 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value, null, and valueHasContentImageSource().
Referenced by fetchContentImageTitleFromValue(), and render().
|
protected |
Definition at line 453 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value, fetchContentImageSourceFromValue(), and valueHasContentImageTitle().
Referenced by render().
ilMultipleImagesInputGUI::getImageRemovalCommand | ( | ) |
Definition at line 125 of file class.ilMultipleImagesInputGUI.php.
References $imageRemovalCommand.
Referenced by render().
ilMultipleImagesInputGUI::getImageUploadCommand | ( | ) |
Definition at line 141 of file class.ilMultipleImagesInputGUI.php.
References $imageUploadCommand.
Referenced by render().
ilMultipleImagesInputGUI::getSuffixes | ( | ) |
Get Accepted Suffixes.
Definition at line 117 of file class.ilMultipleImagesInputGUI.php.
References $suffixes.
Referenced by onCheckInput(), and render().
|
protected |
Definition at line 465 of file class.ilMultipleImagesInputGUI.php.
Referenced by render().
ilMultipleImagesInputGUI::isEditElementOccuranceEnabled | ( | ) |
Definition at line 157 of file class.ilMultipleImagesInputGUI.php.
References $editElementOccuranceEnabled.
Referenced by render().
ilMultipleImagesInputGUI::isEditElementOrderEnabled | ( | ) |
Definition at line 173 of file class.ilMultipleImagesInputGUI.php.
References $editElementOrderEnabled.
Referenced by render().
|
abstractprotected |
mixed | $value |
Referenced by setEditElementOrderEnabled().
ilMultipleImagesInputGUI::onCheckInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 197 of file class.ilMultipleImagesInputGUI.php.
References $filename, ilTextInputGUI\$suffix, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilIdentifiedMultiValuesInputGUI\getInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSuffixes(), ILIAS\Repository\lng(), ilFormPropertyGUI\setAlert(), and ilVirusScanner\virusHandling().
ilMultipleImagesInputGUI::render | ( | string | $a_mode = "" | ) |
string | $mode |
Definition at line 303 of file class.ilMultipleImagesInputGUI.php.
References ilIdentifiedMultiValuesInputGUI\$identified_multi_values, $lng, ilTextInputGUI\$suffix, ilTextInputGUI\$value, ilIdentifiedMultiValuesInputGUI\buildMultiValueSubmitVar(), fetchContentImageSourceFromValue(), fetchContentImageTitleFromValue(), ILIAS\UICore\GlobalTemplate\get(), ilFormPropertyGUI\getDisabled(), ilFileUtils\getFileSizeInfo(), ilIdentifiedMultiValuesInputGUI\getIdentifiedMultiValues(), getImageRemovalCommand(), getImageUploadCommand(), ilIdentifiedMultiValuesInputGUI\getMultiValuePosIndexedSubFieldId(), ilIdentifiedMultiValuesInputGUI\getMultiValuePostVarSubFieldPosIndexed(), ilFormPropertyGUI\getPostVar(), getSuffixes(), getTemplate(), init(), isEditElementOccuranceEnabled(), isEditElementOrderEnabled(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilIdentifiedMultiValuesInputGUI\prepareMultiValuesInput(), renderer(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), ilLanguage\txt(), and valueHasContentImageSource().
ilMultipleImagesInputGUI::setEditElementOccuranceEnabled | ( | $editElementOccuranceEnabled | ) |
boolean | $editElementOccuranceEnabled |
Definition at line 165 of file class.ilMultipleImagesInputGUI.php.
References $editElementOccuranceEnabled.
ilMultipleImagesInputGUI::setEditElementOrderEnabled | ( | $editElementOrderEnabled | ) |
boolean | $editElementOrderEnabled |
Definition at line 181 of file class.ilMultipleImagesInputGUI.php.
References $editElementOrderEnabled, and isValidFilenameInput().
ilMultipleImagesInputGUI::setImageRemovalCommand | ( | $imageRemovalCommand | ) |
string | $imageRemovalCommand |
Definition at line 133 of file class.ilMultipleImagesInputGUI.php.
References $imageRemovalCommand.
ilMultipleImagesInputGUI::setImageUploadCommand | ( | $imageUploadCommand | ) |
string | $imageUploadCommand |
Definition at line 149 of file class.ilMultipleImagesInputGUI.php.
References $imageUploadCommand.
ilMultipleImagesInputGUI::setSuffixes | ( | $a_suffixes | ) |
Set Accepted Suffixes.
array | $a_suffixes | Accepted Suffixes |
Definition at line 107 of file class.ilMultipleImagesInputGUI.php.
Referenced by __construct().
|
protected |
$value |
Definition at line 424 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value.
Referenced by fetchContentImageSourceFromValue(), and render().
|
protected |
$value |
Definition at line 448 of file class.ilMultipleImagesInputGUI.php.
References ilTextInputGUI\$value.
Referenced by fetchContentImageTitleFromValue().
|
protected |
Definition at line 46 of file class.ilMultipleImagesInputGUI.php.
|
protected |
Definition at line 39 of file class.ilMultipleImagesInputGUI.php.
Referenced by isEditElementOccuranceEnabled(), and setEditElementOccuranceEnabled().
|
protected |
Definition at line 44 of file class.ilMultipleImagesInputGUI.php.
Referenced by isEditElementOrderEnabled(), and setEditElementOrderEnabled().
|
protected |
Definition at line 59 of file class.ilMultipleImagesInputGUI.php.
|
protected |
Definition at line 53 of file class.ilMultipleImagesInputGUI.php.
Referenced by getImageRemovalCommand(), and setImageRemovalCommand().
|
protected |
Definition at line 55 of file class.ilMultipleImagesInputGUI.php.
Referenced by getImageUploadCommand(), and setImageUploadCommand().
|
protected |
Definition at line 57 of file class.ilMultipleImagesInputGUI.php.
Referenced by render().
|
protected |
Definition at line 60 of file class.ilMultipleImagesInputGUI.php.
|
protected |
Definition at line 51 of file class.ilMultipleImagesInputGUI.php.
Referenced by getSuffixes().
|
protected |
Definition at line 58 of file class.ilMultipleImagesInputGUI.php.
|
protected |
Definition at line 61 of file class.ilMultipleImagesInputGUI.php.
const ilMultipleImagesInputGUI::FILE_DATA_INDEX_DODGING_FILE = 'dodging_file' |
Definition at line 34 of file class.ilMultipleImagesInputGUI.php.
const ilMultipleImagesInputGUI::IMAGE_UPLOAD_SUBFIELD_NAME = 'imageupload' |
Definition at line 32 of file class.ilMultipleImagesInputGUI.php.
Referenced by ilMultipleImagesAdditionalIndexLevelRemover\isUploadSubfieldAvailable().
const ilMultipleImagesInputGUI::ITERATOR_SUBFIELD_NAME = 'iteratorfield' |
Definition at line 30 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 28 of file class.ilMultipleImagesInputGUI.php.
const ilMultipleImagesInputGUI::STORED_IMAGE_SUBFIELD_NAME = 'storedimage' |
Definition at line 31 of file class.ilMultipleImagesInputGUI.php.
Referenced by ilMultipleImagesAdditionalIndexLevelRemover\removeAdditionalSubFieldsLevelFromSubmitValues().