ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This class represents an image file property in a property form. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setAllowDeletion (bool $a_val) | |
getALlowDeletion () | |
setAllowCapture (bool $a_val) | |
getAllowCapture () | |
setUseCache (bool $a_cache) | |
Set cache. More... | |
getUseCache () | |
setImage (string $a_image) | |
getImage () | |
setAlt (string $a_alt) | |
getAlt () | |
insert (ilTemplate $a_tpl) | |
getDeletionFlag () | |
![]() | |
__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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
outputSuffixes (ilTemplate $a_tpl, string $a_block="allowed_suffixes") | |
getMaxFileSizeString () | |
getMaxFileUploads () | |
Get number of maximum file uploads as declared in php.ini. More... | |
![]() | |
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 an image file property in a property form.
Definition at line 26 of file class.ilImageFileInputGUI.php.
ilImageFileInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 34 of file class.ilImageFileInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setAllowDeletion(), ilFormPropertyGUI\setHiddenTitle(), ilFileInputGUI\setSuffixes(), ilFormPropertyGUI\setType(), and ilLanguage\txt().
ilImageFileInputGUI::getAllowCapture | ( | ) |
Definition at line 67 of file class.ilImageFileInputGUI.php.
References $allow_capture.
Referenced by insert().
ilImageFileInputGUI::getALlowDeletion | ( | ) |
Definition at line 57 of file class.ilImageFileInputGUI.php.
References ilFileInputGUI\$allow_deletion.
Referenced by insert().
ilImageFileInputGUI::getAlt | ( | ) |
Definition at line 103 of file class.ilImageFileInputGUI.php.
References $alt.
Referenced by ilImagemapCorrectionsInputGUI\insert(), insert(), and ilImagemapFileInputGUI\insert().
ilImageFileInputGUI::getDeletionFlag | ( | ) |
Definition at line 196 of file class.ilImageFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().
Referenced by ilLTIConsumeProviderIcon\handleUploadInputSubission().
ilImageFileInputGUI::getImage | ( | ) |
Definition at line 93 of file class.ilImageFileInputGUI.php.
References $image.
Referenced by ilImagemapCorrectionsInputGUI\insert(), insert(), and ilImagemapFileInputGUI\insert().
ilImageFileInputGUI::getUseCache | ( | ) |
Definition at line 83 of file class.ilImageFileInputGUI.php.
References $cache.
Referenced by insert().
ilImageFileInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 108 of file class.ilImageFileInputGUI.php.
References ilFormPropertyGUI\$lng, ilFileInputGUI\$pending, $tpl, getAllowCapture(), getALlowDeletion(), getAlt(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getImage(), ilFileInputGUI\getMaxFileSizeString(), ilFileInputGUI\getPending(), ilFormPropertyGUI\getPostVar(), getUseCache(), ilFileInputGUI\getValue(), ILIAS\Repository\lng(), ilFileInputGUI\outputSuffixes(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
ilImageFileInputGUI::setAllowCapture | ( | bool | $a_val | ) |
Definition at line 62 of file class.ilImageFileInputGUI.php.
Referenced by ilUserProfile\getImageInput().
ilImageFileInputGUI::setAllowDeletion | ( | bool | $a_val | ) |
Definition at line 52 of file class.ilImageFileInputGUI.php.
Referenced by __construct(), ilDidacticTemplateSettingsGUI\createImportForm(), and ilPCInteractiveImageGUI\initForm().
ilImageFileInputGUI::setAlt | ( | string | $a_alt | ) |
Definition at line 98 of file class.ilImageFileInputGUI.php.
ilImageFileInputGUI::setImage | ( | string | $a_image | ) |
Definition at line 88 of file class.ilImageFileInputGUI.php.
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), and ilObjUserGUI\initForm().
ilImageFileInputGUI::setUseCache | ( | bool | $a_cache | ) |
Set cache.
bool | $a_cache | If false, the image will be forced to reload in the browser by adding an URL parameter with the actual timestamp |
Definition at line 78 of file class.ilImageFileInputGUI.php.
|
protected |
Definition at line 32 of file class.ilImageFileInputGUI.php.
Referenced by getAllowCapture().
|
protected |
Definition at line 30 of file class.ilImageFileInputGUI.php.
Referenced by getAlt().
|
protected |
Definition at line 29 of file class.ilImageFileInputGUI.php.
Referenced by getUseCache().
|
protected |
Definition at line 31 of file class.ilImageFileInputGUI.php.
Referenced by getImage().
|
protected |
Definition at line 28 of file class.ilImageFileInputGUI.php.
Referenced by insert().