ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilImagemapFileInputGUI Class Reference

This class represents an image map file property in a property form. More...

+ Inheritance diagram for ilImagemapFileInputGUI:
+ Collaboration diagram for ilImagemapFileInputGUI:

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 ($a_values)
 Set value by array. More...
 
 setValue ($a_value)
 Set Value. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 insert (&$a_tpl)
 Insert property html. More...
 
- Public Member Functions inherited from ilImageFileInputGUI
 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
 setALlowDeletion ($a_val)
 Set allow deletion. More...
 
 getALlowDeletion ()
 Get allow deletion. More...
 
 setUseCache ($a_cache)
 Set cache. More...
 
 getUseCache ()
 Get cache. More...
 
 setImage ($a_image)
 Set Image. More...
 
 getImage ()
 Get Image. More...
 
 setAlt ($a_alt)
 Set Alternative Text. More...
 
 getAlt ()
 Get Alternative Text. More...
 
 insert (&$a_tpl)
 Insert property html. More...
 
 getDeletionFlag ()
 Get deletion flag. More...
 
- Public Member Functions inherited from ilFileInputGUI
 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
 setValueByArray ($a_values)
 Set value by array. More...
 
 setValue ($a_value)
 Set Value. More...
 
 getValue ()
 Get Value. More...
 
 setSize ($a_size)
 Set Size. More...
 
 getSize ()
 Get Size. More...
 
 setFilename ($a_val)
 Set filename value (if filename selection is enabled) More...
 
 getFilename ()
 Get Value. More...
 
 setSuffixes ($a_suffixes)
 Set Accepted Suffixes. More...
 
 getSuffixes ()
 Get Accepted Suffixes. More...
 
 setForbiddenSuffixes ($a_suffixes)
 Set forbidden Suffixes. More...
 
 getForbiddenSuffixes ()
 Get Accepted Suffixes. More...
 
 setPending ($a_val)
 Set pending filename value. More...
 
 getPending ()
 Get pending filename. More...
 
 enableFileNameSelection ($a_post_var)
 If enabled, users get the possibility to enter a filename for the uploaded file. More...
 
 isFileNameSelectionEnabled ()
 Check if filename selection is enabled. More...
 
 getFileNamePostVar ()
 Get file name post var. More...
 
 setALlowDeletion ($a_val)
 Set allow deletion. More...
 
 getALlowDeletion ()
 Get allow deletion. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 render ($a_mode="")
 Render html. More...
 
 insert (&$a_tpl)
 Insert property html. More...
 
 getDeletionFlag ()
 Get deletion flag. More...
 
 getToolbarHTML ()
 Get HTML for toolbar. More...
 
 setPersonalWorkspaceQuotaCheck ($a_value)
 
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem ($a_item)
 Add Subitem. More...
 
 getSubItems ()
 Get Subitems. More...
 
 getSubInputItemsRecursive ()
 returns a flat array of possibly existing subitems recursively More...
 
 checkSubItemsInput ()
 Check SubItems. More...
 
 getSubForm ()
 Get sub form html. More...
 
 getItemByPostVar ($a_post_var)
 Get item by post var. More...
 
- Public Member Functions inherited from ilFormPropertyGUI
 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
executeCommand ()
 Execute command. More...
 
 getType ()
 Get Type. More...
 
 setTitle ($a_title)
 Set Title. More...
 
 getTitle ()
 Get Title. More...
 
 setPostVar ($a_postvar)
 Set Post Variable. More...
 
 getPostVar ()
 Get Post Variable. More...
 
 getFieldId ()
 Get Post Variable. More...
 
 setInfo ($a_info)
 Set Information Text. More...
 
 getInfo ()
 Get Information Text. More...
 
 setAlert ($a_alert)
 Set Alert Text. More...
 
 getAlert ()
 Get Alert Text. More...
 
 setRequired ($a_required)
 Set Required. More...
 
 getRequired ()
 Get Required. More...
 
 setDisabled ($a_disabled)
 Set Disabled. More...
 
 getDisabled ()
 Get Disabled. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setParentForm ($a_parentform)
 Set Parent Form. More...
 
 getParentForm ()
 Get Parent Form. More...
 
 setParent ($a_val)
 Set Parent GUI object. More...
 
 getParent ()
 Get Parent GUI object. More...
 
 getSubForm ()
 Get sub form html. More...
 
 hideSubForm ()
 Sub form hidden on init? More...
 
 setHiddenTitle ($a_val)
 Set hidden title (for screenreaders) More...
 
 getHiddenTitle ()
 Get hidden title. More...
 
 getItemByPostVar ($a_post_var)
 Get item by post var. More...
 
 serializeData ()
 serialize data More...
 
 unserializeData ($a_data)
 unserialize data More...
 
 writeToSession ()
 Write to session. More...
 
 clearFromSession ()
 Clear session value. More...
 
 readFromSession ()
 Read from session. More...
 
 getHiddenTag ($a_post_var, $a_value)
 Get hidden tag (used for disabled properties) More...
 
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 Set Multi. More...
 
 getMulti ()
 Get Multi. More...
 
 setMultiValues (array $a_values)
 Set multi values. More...
 
 getMultiValues ()
 Get multi values. More...
 
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g. More...
 
 removeProhibitedCharacters ($a_text)
 Remove prohibited characters see #19159. More...
 
 stripSlashesAddSpaceFallback ($a_str)
 Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More...
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 

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
 
 $forbidden_suffixes = array()
 
- 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 ()
 
- Protected Member Functions inherited from ilFormPropertyGUI
 setType ($a_type)
 Set Type. More...
 
 getMultiIconsHTML ()
 Get HTML for multiple value icons. More...
 
- Static Protected Attributes inherited from ilFileInputGUI
static $check_wsp_quota
 

Detailed Description

This class represents an image map file property in a property form.

Author
Helmut Schottmüller ilias.nosp@m.@aur.nosp@m.ealis.nosp@m..de
Version
$Id$

Definition at line 15 of file class.ilImagemapFileInputGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilImagemapFileInputGUI::__construct (   $a_title = "",
  $a_postvar = "" 
)

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

Reimplemented from ilImageFileInputGUI.

Definition at line 30 of file class.ilImagemapFileInputGUI.php.

31 {
32 global $lng;
33
34 parent::__construct($a_title, $a_postvar);
35 }
global $lng
Definition: privfeed.php:40

References $lng.

Member Function Documentation

◆ checkInput()

ilImagemapFileInputGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Returns
boolean Input ok, true/false

Reimplemented from ilFileInputGUI.

Definition at line 137 of file class.ilImagemapFileInputGUI.php.

138 {
139 global $lng;
140
141 if (is_array($_POST[$this->getPostVar()])) $_POST[$this->getPostVar()] = ilUtil::stripSlashesRecursive($_POST[$this->getPostVar()]);
142 // remove trailing '/'
143 while (substr($_FILES[$this->getPostVar()]["name"],-1) == '/')
144 {
145 $_FILES[$this->getPostVar()]["name"] = substr($_FILES[$this->getPostVar()]["name"],0,-1);
146 }
147
148 $filename = $_FILES[$this->getPostVar()]["name"];
149 $filename_arr = pathinfo($_FILES[$this->getPostVar()]["name"]);
150 $suffix = $filename_arr["extension"];
151 $mimetype = $_FILES[$this->getPostVar()]["type"];
152 $size_bytes = $_FILES[$this->getPostVar()]["size"];
153 $temp_name = $_FILES[$this->getPostVar()]["tmp_name"];
154 $error = $_FILES[$this->getPostVar()]["error"];
155
156 // error handling
157 if ($error > 0)
158 {
159 switch ($error)
160 {
161 case UPLOAD_ERR_INI_SIZE:
162 $this->setAlert($lng->txt("form_msg_file_size_exceeds"));
163 return false;
164 break;
165
166 case UPLOAD_ERR_FORM_SIZE:
167 $this->setAlert($lng->txt("form_msg_file_size_exceeds"));
168 return false;
169 break;
170
171 case UPLOAD_ERR_PARTIAL:
172 $this->setAlert($lng->txt("form_msg_file_partially_uploaded"));
173 return false;
174 break;
175
176 case UPLOAD_ERR_NO_FILE:
177 if ($this->getRequired())
178 {
179 if (!strlen($this->getValue()))
180 {
181 $this->setAlert($lng->txt("form_msg_file_no_upload"));
182 return false;
183 }
184 }
185 break;
186
187 case UPLOAD_ERR_NO_TMP_DIR:
188 $this->setAlert($lng->txt("form_msg_file_missing_tmp_dir"));
189 return false;
190 break;
191
192 case UPLOAD_ERR_CANT_WRITE:
193 $this->setAlert($lng->txt("form_msg_file_cannot_write_to_disk"));
194 return false;
195 break;
196
197 case UPLOAD_ERR_EXTENSION:
198 $this->setAlert($lng->txt("form_msg_file_upload_stopped_ext"));
199 return false;
200 break;
201 }
202 }
203
204 // check suffixes
205 if ($_FILES[$this->getPostVar()]["tmp_name"] != "" &&
206 is_array($this->getSuffixes()))
207 {
208 if (!in_array(strtolower($suffix), $this->getSuffixes()))
209 {
210 $this->setAlert($lng->txt("form_msg_file_wrong_file_type"));
211 return false;
212 }
213 }
214
215 // virus handling
216 if ($_FILES[$this->getPostVar()]["tmp_name"] != "")
217 {
218 $vir = ilUtil::virusHandling($temp_name, $filename);
219 if ($vir[0] == false)
220 {
221 $this->setAlert($lng->txt("form_msg_file_virus_found")."<br />".$vir[1]);
222 return false;
223 }
224 }
225
226 $max = 0;
227 if (is_array($_POST[$this->getPostVar()]['coords']['name']))
228 {
229 foreach ($_POST[$this->getPostVar()]['coords']['name'] as $idx => $name)
230 {
231 if ((!strlen($_POST[$this->getPostVar()]['coords']['points'][$idx])) && ($this->getRequired))
232 {
233 $this->setAlert($lng->txt('form_msg_area_missing_points'));
234 return false;
235 }
236 if ((!is_numeric($_POST[$this->getPostVar()]['coords']['points'][$idx])))
237 {
238 $this->setAlert($lng->txt('form_msg_numeric_value_required'));
239 return false;
240 }
241 if ($_POST[$this->getPostVar()]['coords']['points'][$idx] > 0) $max = $_POST[$this->getPostVar()]['coords']['points'][$idx];
242 }
243 }
244
245 if ($max == 0 && (!$filename))
246 {
247 $this->setAlert($lng->txt("enter_enough_positive_points"));
248 return false;
249 }
250 return true;
251 }
getSuffixes()
Get Accepted Suffixes.
getPostVar()
Get Post Variable.
setAlert($a_alert)
Set Alert Text.
static stripSlashesRecursive($a_data, $a_strip_html=true, $a_allow="")
Strip slashes from array and sub-arrays.
static virusHandling($a_file, $a_orig_name="", $a_clean=true)
scan file for viruses and clean files if possible
$_POST['username']
Definition: cron.php:12

References $_POST, ilFileInputGUI\$filename, $lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFileInputGUI\getValue(), ilFormPropertyGUI\setAlert(), ilUtil\stripSlashesRecursive(), and ilUtil\virusHandling().

+ Here is the call graph for this function:

◆ getAreas()

ilImagemapFileInputGUI::getAreas ( )

Definition at line 111 of file class.ilImagemapFileInputGUI.php.

References $areas.

Referenced by insert().

+ Here is the caller graph for this function:

◆ getImagePath()

ilImagemapFileInputGUI::getImagePath ( )

Definition at line 62 of file class.ilImagemapFileInputGUI.php.

References $image_path.

Referenced by insert().

+ Here is the caller graph for this function:

◆ getImagePathWeb()

ilImagemapFileInputGUI::getImagePathWeb ( )

Definition at line 72 of file class.ilImagemapFileInputGUI.php.

References $image_path_web.

Referenced by insert().

+ Here is the caller graph for this function:

◆ getLineColor()

ilImagemapFileInputGUI::getLineColor ( )

Definition at line 52 of file class.ilImagemapFileInputGUI.php.

References $line_color.

◆ getPointsUncheckedFieldEnabled()

ilImagemapFileInputGUI::getPointsUncheckedFieldEnabled ( )

Definition at line 42 of file class.ilImagemapFileInputGUI.php.

References $pointsUncheckedFieldEnabled.

Referenced by insert(), and setAreasByArray().

+ Here is the caller graph for this function:

◆ insert()

ilImagemapFileInputGUI::insert ( $a_tpl)

Insert property html.

Reimplemented from ilImageFileInputGUI.

Definition at line 256 of file class.ilImagemapFileInputGUI.php.

257 {
258 global $lng;
259
260 $template = new ilTemplate("tpl.prop_imagemap_file.html", true, true, "Modules/TestQuestionPool");
261
262 $this->outputSuffixes($template, "allowed_image_suffixes");
263
264 if ($this->getImage() != "")
265 {
266 if (strlen($this->getValue()))
267 {
268 $template->setCurrentBlock("has_value");
269 $template->setVariable("TEXT_IMAGE_NAME", $this->getValue());
270 $template->setVariable("POST_VAR_D", $this->getPostVar());
271 $template->parseCurrentBlock();
272 }
273 $template->setCurrentBlock("image");
274 if (count($this->getAreas()))
275 {
276 include_once "./Modules/TestQuestionPool/classes/class.ilImagemapPreview.php";
277 $preview = new ilImagemapPreview($this->getImagePath().$this->getValue());
278 foreach ($this->getAreas() as $index => $area)
279 {
280 $preview->addArea($index, $area->getArea(), $area->getCoords(), $area->getAnswertext(), "", "", true, $this->getLineColor());
281 }
282 $preview->createPreview();
283 $imagepath = $this->getImagePathWeb() . $preview->getPreviewFilename($this->getImagePath(), $this->getValue()) . "?img=" . time();
284 $template->setVariable("SRC_IMAGE", $imagepath);
285 }
286 else
287 {
288 $template->setVariable("SRC_IMAGE", $this->getImage());
289 }
290 $template->setVariable("ALT_IMAGE", $this->getAlt());
291 $template->setVariable("POST_VAR_D", $this->getPostVar());
292 $template->setVariable("TXT_DELETE_EXISTING",
293 $lng->txt("delete_existing_file"));
294 $template->setVariable("TEXT_ADD_RECT", $lng->txt('add_rect'));
295 $template->setVariable("TEXT_ADD_CIRCLE", $lng->txt('add_circle'));
296 $template->setVariable("TEXT_ADD_POLY", $lng->txt('add_poly'));
297 $template->parseCurrentBlock();
298 }
299
300 if(is_array($this->getAreas()) && $this->getAreas())
301 {
302 $counter = 0;
303 foreach ($this->getAreas() as $area)
304 {
305 if (strlen($area->getPoints()))
306 {
307 $template->setCurrentBlock('area_points_value');
308 $template->setVariable('VALUE_POINTS', $area->getPoints());
309 $template->parseCurrentBlock();
310 }
311 if( $this->getPointsUncheckedFieldEnabled() )
312 {
313 if (strlen($area->getPointsUnchecked()))
314 {
315 $template->setCurrentBlock('area_points_unchecked_value');
316 $template->setVariable('VALUE_POINTS_UNCHECKED', $area->getPointsUnchecked());
317 $template->parseCurrentBlock();
318 }
319
320 $template->setCurrentBlock('area_points_unchecked_field');
321 $template->parseCurrentBlock();
322 }
323 if (strlen($area->getAnswertext()))
324 {
325 $template->setCurrentBlock('area_name_value');
326 $template->setVariable('VALUE_NAME', $area->getAnswertext());
327 $template->parseCurrentBlock();
328 }
329 $template->setCurrentBlock('row');
330 $template->setVariable('POST_VAR_R', $this->getPostVar());
331 $template->setVariable('TEXT_SHAPE', strtoupper($area->getArea()));
332 $template->setVariable('VALUE_SHAPE', $area->getArea());
333 $coords = preg_replace("/(\d+,\d+,)/", "\$1 ", $area->getCoords());
334 $template->setVariable('VALUE_COORDINATES', $area->getCoords());
335 $template->setVariable('TEXT_COORDINATES', $coords);
336 $template->setVariable('COUNTER', $counter);
337 $template->setVariable("REMOVE_BUTTON", ilGlyphGUI::get(ilGlyphGUI::REMOVE));
338 $template->parseCurrentBlock();
339 $counter++;
340 }
341 $template->setCurrentBlock("areas");
342 $template->setVariable("TEXT_NAME", $lng->txt("ass_imap_hint"));
343 if( $this->getPointsUncheckedFieldEnabled() )
344 {
345 $template->setVariable("TEXT_POINTS", $lng->txt("points_checked"));
346
347 $template->setCurrentBlock('area_points_unchecked_head');
348 $template->setVariable("TEXT_POINTS_UNCHECKED", $lng->txt("points_unchecked"));
349 $template->parseCurrentBlock();
350 }
351 else
352 {
353 $template->setVariable("TEXT_POINTS", $lng->txt("points"));
354 }
355 $template->setVariable("TEXT_SHAPE", $lng->txt("shape"));
356 $template->setVariable("TEXT_COORDINATES", $lng->txt("coordinates"));
357 $template->setVariable("TEXT_COMMANDS", $lng->txt("actions"));
358 $template->parseCurrentBlock();
359 }
360
361 $template->setVariable("POST_VAR", $this->getPostVar());
362 $template->setVariable("ID", $this->getFieldId());
363 $template->setVariable("TXT_MAX_SIZE", $lng->txt("file_notice")." ".
364 $this->getMaxFileSizeString());
365
366 $a_tpl->setCurrentBlock("prop_generic");
367 $a_tpl->setVariable("PROP_GENERIC", $template->get());
368 $a_tpl->parseCurrentBlock();
369
370 global $tpl;
371 $tpl->addJavascript("./Services/Form/js/ServiceFormWizardInput.js");
372 $tpl->addJavascript("./Modules/TestQuestionPool/templates/default/imagemap.js");
373 }
global $tpl
Definition: ilias.php:8
outputSuffixes($a_tpl, $a_block="allowed_suffixes")
getFieldId()
Get Post Variable.
static get($a_glyph, $a_text="")
Get glyph html.
getAlt()
Get Alternative Text.
Image map image preview creator.
special template class to simplify handling of ITX/PEAR
$coords
Definition: example_030.php:88
$preview

References $coords, $lng, $preview, $tpl, ilGlyphGUI\get(), ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), getImagePathWeb(), getPointsUncheckedFieldEnabled(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ilFileInputGUI\outputSuffixes(), and ilGlyphGUI\REMOVE.

+ Here is the call graph for this function:

◆ setAreas()

ilImagemapFileInputGUI::setAreas (   $a_areas)

Definition at line 47 of file class.ilImagemapFileInputGUI.php.

48 {
49 $this->areas = $a_areas;
50 }

◆ setAreasByArray()

ilImagemapFileInputGUI::setAreasByArray (   $a_areas)

Definition at line 82 of file class.ilImagemapFileInputGUI.php.

83 {
84 if (is_array($a_areas['name']))
85 {
86 $this->areas = array();
87 include_once "./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php";
88 foreach ($a_areas['name'] as $idx => $name)
89 {
90 if( $this->getPointsUncheckedFieldEnabled() && isset($a_areas['points_unchecked']) )
91 {
92 $pointsUnchecked = $a_areas['points_unchecked'][$idx];
93 }
94 else
95 {
96 $pointsUnchecked = 0.0;
97 }
98
99 array_push($this->areas, new ASS_AnswerImagemap(
100 $name,
101 $a_areas['points'][$idx],
102 $idx,
103 $a_areas['coords'][$idx], $a_areas['shape'][$idx],
104 -1,
105 $pointsUnchecked
106 ));
107 }
108 }
109 }
Class for true/false or yes/no answers.

References getPointsUncheckedFieldEnabled().

Referenced by setValueByArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setImagePath()

ilImagemapFileInputGUI::setImagePath (   $a_path)

Definition at line 67 of file class.ilImagemapFileInputGUI.php.

68 {
69 $this->image_path = $a_path;
70 }

◆ setImagePathWeb()

ilImagemapFileInputGUI::setImagePathWeb (   $a_path_web)

Definition at line 77 of file class.ilImagemapFileInputGUI.php.

78 {
79 $this->image_path_web = $a_path_web;
80 }

◆ setLineColor()

ilImagemapFileInputGUI::setLineColor (   $a_color)

Definition at line 57 of file class.ilImagemapFileInputGUI.php.

58 {
59 $this->line_color = $a_color;
60 }

◆ setPointsUncheckedFieldEnabled()

ilImagemapFileInputGUI::setPointsUncheckedFieldEnabled (   $pointsUncheckedFieldEnabled)

Definition at line 37 of file class.ilImagemapFileInputGUI.php.

38 {
39 $this->pointsUncheckedFieldEnabled = (bool)$pointsUncheckedFieldEnabled;
40 }

References $pointsUncheckedFieldEnabled.

◆ setValue()

ilImagemapFileInputGUI::setValue (   $a_value)

Set Value.

(used for displaying file title of existing file below input field)

Parameters
string$a_valueValue

Reimplemented from ilFileInputGUI.

Definition at line 127 of file class.ilImagemapFileInputGUI.php.

128 {
129 parent::setValue($a_value);
130 }

Referenced by setValueByArray().

+ Here is the caller graph for this function:

◆ setValueByArray()

ilImagemapFileInputGUI::setValueByArray (   $a_values)

Set value by array.

Parameters
array$a_valuesvalue array

Reimplemented from ilFileInputGUI.

Definition at line 121 of file class.ilImagemapFileInputGUI.php.

122 {
123 $this->setValue($a_values[$this->getPostVar() . '_name']);
124 $this->setAreasByArray($a_values[$this->getPostVar()]['coords']);
125 }

References ilFormPropertyGUI\getPostVar(), setAreasByArray(), and setValue().

+ Here is the call graph for this function:

Field Documentation

◆ $areas

ilImagemapFileInputGUI::$areas = array()
protected

Definition at line 17 of file class.ilImagemapFileInputGUI.php.

Referenced by getAreas().

◆ $image_path

ilImagemapFileInputGUI::$image_path = ""
protected

Definition at line 18 of file class.ilImagemapFileInputGUI.php.

Referenced by getImagePath().

◆ $image_path_web

ilImagemapFileInputGUI::$image_path_web = ""
protected

Definition at line 19 of file class.ilImagemapFileInputGUI.php.

Referenced by getImagePathWeb().

◆ $line_color

ilImagemapFileInputGUI::$line_color = ""
protected

Definition at line 20 of file class.ilImagemapFileInputGUI.php.

Referenced by getLineColor().

◆ $pointsUncheckedFieldEnabled

ilImagemapFileInputGUI::$pointsUncheckedFieldEnabled = false
protected

The documentation for this class was generated from the following file: