ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
This class represents an image map file property in a property form. 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... | |
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... | |
![]() | |
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 map file property in a property form.
Definition at line 31 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 50 of file class.ilImagemapFileInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and renderer().
ilImagemapFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 177 of file class.ilImagemapFileInputGUI.php.
References ilFileInputGUI\$filename, ilFormPropertyGUI\$lng, getPostBody(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFileInputGUI\getValue(), ilFormPropertyGUI\setAlert(), ilLanguage\txt(), and ilVirusScanner\virusHandling().
ilImagemapFileInputGUI::getAreas | ( | ) |
Definition at line 136 of file class.ilImagemapFileInputGUI.php.
References $areas.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getImagePath | ( | ) |
Definition at line 86 of file class.ilImagemapFileInputGUI.php.
References $image_path.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getImagePathWeb | ( | ) |
Definition at line 96 of file class.ilImagemapFileInputGUI.php.
References $image_path_web.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getInput | ( | ) |
Definition at line 161 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::getLineColor | ( | ) |
Definition at line 76 of file class.ilImagemapFileInputGUI.php.
References $line_color.
Referenced by ilImagemapCorrectionsInputGUI\insert(), and insert().
ilImagemapFileInputGUI::getPointsUncheckedFieldEnabled | ( | ) |
Definition at line 66 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by ilImagemapCorrectionsInputGUI\insert(), insert(), ilImagemapCorrectionsInputGUI\setAreasByArray(), and setAreasByArray().
|
private |
Definition at line 166 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 284 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\$lng, ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), getImagePathWeb(), getLineColor(), ilFileInputGUI\getMaxFileSizeString(), getPointsUncheckedFieldEnabled(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ILIAS\Repository\lng(), ilFileInputGUI\outputSuffixes(), ilTemplate\parseCurrentBlock(), renderer(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
ilImagemapFileInputGUI::setAreas | ( | $a_areas | ) |
Definition at line 71 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setAreasByArray | ( | $a_areas | ) |
Definition at line 106 of file class.ilImagemapFileInputGUI.php.
References getPointsUncheckedFieldEnabled().
Referenced by setValueByArray().
ilImagemapFileInputGUI::setImagePath | ( | $a_path | ) |
Definition at line 91 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setImagePathWeb | ( | $a_path_web | ) |
Definition at line 101 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setLineColor | ( | $a_color | ) |
Definition at line 81 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setPointsUncheckedFieldEnabled | ( | $pointsUncheckedFieldEnabled | ) |
Definition at line 61 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by assImagemapQuestionGUI\populateCorrectionsFormProperties(), and assImagemapQuestionGUI\populateQuestionSpecificFormPart().
ilImagemapFileInputGUI::setValue | ( | $a_value | ) |
Definition at line 156 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 146 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setAreasByArray(), and setValue().
|
protected |
Definition at line 33 of file class.ilImagemapFileInputGUI.php.
Referenced by getAreas().
|
protected |
Definition at line 40 of file class.ilImagemapFileInputGUI.php.
|
protected |
Definition at line 41 of file class.ilImagemapFileInputGUI.php.
|
protected |
Definition at line 34 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePath().
|
protected |
Definition at line 35 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 36 of file class.ilImagemapFileInputGUI.php.
Referenced by getLineColor().
|
protected |
Definition at line 38 of file class.ilImagemapFileInputGUI.php.
Referenced by getPointsUncheckedFieldEnabled(), and setPointsUncheckedFieldEnabled().
|
protected |
Definition at line 42 of file class.ilImagemapFileInputGUI.php.