ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. More... | |
setPointsUncheckedFieldEnabled ($pointsUncheckedFieldEnabled) | |
getPointsUncheckedFieldEnabled () | |
setAreas ($a_areas) | |
getLineColor () | |
setLineColor ($a_color) | |
getImagePath () | |
setImagePath ($a_path) | |
getImagePathWeb () | |
setImagePathWeb ($a_path_web) | |
setAreasByArray ($a_areas) | |
getAreas () | |
setValueByArray (array $a_values) | |
Set value by array. More... | |
setValue ($a_value) | |
getInput () | |
checkInput () | |
Check input, strip slashes etc. More... | |
insert (ilTemplate $a_tpl) | |
Insert property html. More... | |
![]() | |
__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... | |
Protected Attributes | |
$areas = array() | |
$image_path = "" | |
$image_path_web = "" | |
$line_color = "" | |
$pointsUncheckedFieldEnabled = false | |
![]() | |
ilGlobalTemplateInterface | $tpl |
bool | $cache = false |
string | $alt = "" |
string | $image = "" |
bool | $allow_capture = false |
![]() | |
int | $size = 40 |
string | $pending = "" |
bool | $allow_deletion = false |
bool | $filename_selection = false |
array | $forbidden_suffixes = [] |
array | $suffixes = [] |
string | $value = "" |
ILIAS FileUpload FileUpload | $upload_service |
![]() | |
array | $sub_items = array() |
![]() | |
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 Member Functions | |
getPostBody () | |
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... | |
![]() | |
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 file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This class represents an image map file property in a property form.
Definition at line 26 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 41 of file class.ilImagemapFileInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilImagemapFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 162 of file class.ilImagemapFileInputGUI.php.
References ilFileInputGUI\$filename, ilFormPropertyGUI\$lng, $name, getPostBody(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFileInputGUI\getValue(), ilFormPropertyGUI\setAlert(), ilLanguage\txt(), and ilVirusScanner\virusHandling().
ilImagemapFileInputGUI::getAreas | ( | ) |
Definition at line 121 of file class.ilImagemapFileInputGUI.php.
References $areas.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getImagePath | ( | ) |
Definition at line 71 of file class.ilImagemapFileInputGUI.php.
References $image_path.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getImagePathWeb | ( | ) |
Definition at line 81 of file class.ilImagemapFileInputGUI.php.
References $image_path_web.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getInput | ( | ) |
Definition at line 146 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::getLineColor | ( | ) |
Definition at line 61 of file class.ilImagemapFileInputGUI.php.
References $line_color.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getPointsUncheckedFieldEnabled | ( | ) |
Definition at line 51 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by ilImagemapCorrectionsInputGUI\insert(), insert(), ilImagemapCorrectionsInputGUI\setAreasByArray(), and setAreasByArray().
|
private |
Definition at line 151 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\arrayArray(), ilFormPropertyGUI\getPostVar(), and ilArrayUtil\stripSlashesRecursive().
Referenced by checkInput().
ilImagemapFileInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Insert property html.
Definition at line 269 of file class.ilImagemapFileInputGUI.php.
References $index, ilFormPropertyGUI\$lng, $preview, ilGlyphGUI\get(), ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), getImagePathWeb(), getLineColor(), ilFileInputGUI\getMaxFileSizeString(), getPointsUncheckedFieldEnabled(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ilFileInputGUI\outputSuffixes(), ilTemplate\parseCurrentBlock(), ilGlyphGUI\REMOVE, ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
ilImagemapFileInputGUI::setAreas | ( | $a_areas | ) |
Definition at line 56 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setAreasByArray | ( | $a_areas | ) |
Definition at line 91 of file class.ilImagemapFileInputGUI.php.
References $name, and getPointsUncheckedFieldEnabled().
Referenced by setValueByArray().
ilImagemapFileInputGUI::setImagePath | ( | $a_path | ) |
Definition at line 76 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setImagePathWeb | ( | $a_path_web | ) |
Definition at line 86 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setLineColor | ( | $a_color | ) |
Definition at line 66 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setPointsUncheckedFieldEnabled | ( | $pointsUncheckedFieldEnabled | ) |
Definition at line 46 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by assImagemapQuestionGUI\populateCorrectionsFormProperties(), and assImagemapQuestionGUI\populateQuestionSpecificFormPart().
ilImagemapFileInputGUI::setValue | ( | $a_value | ) |
Definition at line 141 of file class.ilImagemapFileInputGUI.php.
Referenced by setValueByArray().
ilImagemapFileInputGUI::setValueByArray | ( | array | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 131 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setAreasByArray(), and setValue().
|
protected |
Definition at line 28 of file class.ilImagemapFileInputGUI.php.
Referenced by getAreas().
|
protected |
Definition at line 29 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePath().
|
protected |
Definition at line 30 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 31 of file class.ilImagemapFileInputGUI.php.
Referenced by getLineColor().
|
protected |
Definition at line 33 of file class.ilImagemapFileInputGUI.php.
Referenced by getPointsUncheckedFieldEnabled(), and setPointsUncheckedFieldEnabled().