ILIAS
Release_5_0_x_branch Revision 61816
|
This class represents an image map file property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setPointsUncheckedFieldEnabled ($pointsUncheckedFieldEnabled) | |
getPointsUncheckedFieldEnabled () | |
setAreas ($a_areas) | |
getLineColor () | |
setLineColor ($a_color) | |
getImagePath () | |
setImagePath ($a_path) | |
getImagePathWeb () | |
setImagePathWeb ($a_path_web) | |
setAreasByArray ($a_areas) | |
getAreas () | |
setValueByArray ($a_values) | |
Set value by array. | |
setValue ($a_value) | |
Set Value. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilImageFileInputGUI | |
setALlowDeletion ($a_val) | |
Set allow deletion. | |
getALlowDeletion () | |
Get allow deletion. | |
setUseCache ($a_cache) | |
Set cache. | |
getUseCache () | |
Get cache. | |
setImage ($a_image) | |
Set Image. | |
getImage () | |
Get Image. | |
setAlt ($a_alt) | |
Set Alternative Text. | |
getAlt () | |
Get Alternative Text. | |
getDeletionFlag () | |
Get deletion flag. | |
Public Member Functions inherited from ilFileInputGUI | |
getValue () | |
Get Value. | |
setSize ($a_size) | |
Set Size. | |
getSize () | |
Get Size. | |
setFilename ($a_val) | |
Set filename value (if filename selection is enabled) | |
getFilename () | |
Get Value. | |
setSuffixes ($a_suffixes) | |
Set Accepted Suffixes. | |
getSuffixes () | |
Get Accepted Suffixes. | |
setPending ($a_val) | |
Set pending filename value. | |
getPending () | |
Get pending filename. | |
enableFileNameSelection ($a_post_var) | |
If enabled, users get the possibility to enter a filename for the uploaded file. | |
isFileNameSelectionEnabled () | |
Check if filename selection is enabled. | |
getFileNamePostVar () | |
Get file name post var. | |
render ($a_mode="") | |
Render html. | |
getToolbarHTML () | |
Get HTML for toolbar. | |
setPersonalWorkspaceQuotaCheck ($a_value) | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) | |
setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
Set Multi. | |
getMulti () | |
Get Multi. | |
setMultiValues (array $a_values) | |
Set multi values. | |
getMultiValues () | |
Get multi values. | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. |
Protected Attributes | |
$areas = array() | |
$image_path = "" | |
$image_path_web = "" | |
$line_color = "" | |
$pointsUncheckedFieldEnabled = false | |
Protected Attributes inherited from ilImageFileInputGUI | |
$cache | |
Protected Attributes inherited from ilFileInputGUI | |
$size = 40 | |
$pending | |
$allow_deletion | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" | |
$multi = false | |
$multi_sortable = false | |
$multi_addremove = true | |
$multi_values |
Additional Inherited Members | |
Protected Member Functions inherited from ilFileInputGUI | |
outputSuffixes ($a_tpl, $a_block="allowed_suffixes") | |
getMaxFileSizeString () | |
Static Protected Attributes inherited from ilFileInputGUI | |
static | $check_wsp_quota |
This class represents an image map file property in a property form.
Definition at line 15 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilImageFileInputGUI.
Definition at line 30 of file class.ilImagemapFileInputGUI.php.
References $lng.
ilImagemapFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFileInputGUI.
Definition at line 137 of file class.ilImagemapFileInputGUI.php.
References $_POST, ilFileInputGUI\$filename, $lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFileInputGUI\getValue(), ilFormPropertyGUI\setAlert(), ilUtil\stripSlashesRecursive(), and ilUtil\virusHandling().
ilImagemapFileInputGUI::getAreas | ( | ) |
Definition at line 111 of file class.ilImagemapFileInputGUI.php.
References $areas.
Referenced by insert().
ilImagemapFileInputGUI::getImagePath | ( | ) |
Definition at line 62 of file class.ilImagemapFileInputGUI.php.
References $image_path.
Referenced by insert().
ilImagemapFileInputGUI::getImagePathWeb | ( | ) |
Definition at line 72 of file class.ilImagemapFileInputGUI.php.
References $image_path_web.
Referenced by insert().
ilImagemapFileInputGUI::getLineColor | ( | ) |
Definition at line 52 of file class.ilImagemapFileInputGUI.php.
References $line_color.
Referenced by insert().
ilImagemapFileInputGUI::getPointsUncheckedFieldEnabled | ( | ) |
Definition at line 42 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by insert(), and setAreasByArray().
ilImagemapFileInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Reimplemented from ilImageFileInputGUI.
Definition at line 256 of file class.ilImagemapFileInputGUI.php.
References $lng, $preview, $tpl, ilGlyphGUI\get(), ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), getImagePathWeb(), getLineColor(), ilFileInputGUI\getMaxFileSizeString(), getPointsUncheckedFieldEnabled(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ilFileInputGUI\outputSuffixes(), and ilGlyphGUI\REMOVE.
ilImagemapFileInputGUI::setAreas | ( | $a_areas | ) |
Definition at line 47 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setAreasByArray | ( | $a_areas | ) |
Definition at line 82 of file class.ilImagemapFileInputGUI.php.
References getPointsUncheckedFieldEnabled().
Referenced by setValueByArray().
ilImagemapFileInputGUI::setImagePath | ( | $a_path | ) |
Definition at line 67 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setImagePathWeb | ( | $a_path_web | ) |
Definition at line 77 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setLineColor | ( | $a_color | ) |
Definition at line 57 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setPointsUncheckedFieldEnabled | ( | $pointsUncheckedFieldEnabled | ) |
Definition at line 37 of file class.ilImagemapFileInputGUI.php.
References $pointsUncheckedFieldEnabled.
Referenced by assImagemapQuestionGUI\populateQuestionSpecificFormPart().
ilImagemapFileInputGUI::setValue | ( | $a_value | ) |
Set Value.
(used for displaying file title of existing file below input field)
string | $a_value | Value |
Reimplemented from ilFileInputGUI.
Definition at line 127 of file class.ilImagemapFileInputGUI.php.
Referenced by setValueByArray().
ilImagemapFileInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Reimplemented from ilFileInputGUI.
Definition at line 121 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setAreasByArray(), and setValue().
|
protected |
Definition at line 17 of file class.ilImagemapFileInputGUI.php.
Referenced by getAreas().
|
protected |
Definition at line 18 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePath().
|
protected |
Definition at line 19 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 20 of file class.ilImagemapFileInputGUI.php.
Referenced by getLineColor().
|
protected |
Definition at line 22 of file class.ilImagemapFileInputGUI.php.
Referenced by getPointsUncheckedFieldEnabled(), and setPointsUncheckedFieldEnabled().