ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
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)
 
 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...
 
 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...
 

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 ()
 
- 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 13 of file class.ilImagemapFileInputGUI.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

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

References $lng.

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

Member Function Documentation

◆ checkInput()

ilImagemapFileInputGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Returns
boolean Input ok, true/false

Definition at line 135 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().

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

◆ getAreas()

ilImagemapFileInputGUI::getAreas ( )

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

References $areas.

Referenced by insert().

+ Here is the caller graph for this function:

◆ getImagePath()

ilImagemapFileInputGUI::getImagePath ( )

Definition at line 60 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 70 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 50 of file class.ilImagemapFileInputGUI.php.

References $line_color.

Referenced by insert().

+ Here is the caller graph for this function:

◆ getPointsUncheckedFieldEnabled()

ilImagemapFileInputGUI::getPointsUncheckedFieldEnabled ( )

Definition at line 40 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.

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

References $lng, $preview, $tpl, ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), ilUtil\getImagePath(), getImagePathWeb(), getLineColor(), ilFileInputGUI\getMaxFileSizeString(), getPointsUncheckedFieldEnabled(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ilYuiUtil\initDomEvent(), and ilFileInputGUI\outputSuffixes().

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

◆ setAreas()

ilImagemapFileInputGUI::setAreas (   $a_areas)

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

46  {
47  $this->areas = $a_areas;
48  }

◆ setAreasByArray()

ilImagemapFileInputGUI::setAreasByArray (   $a_areas)

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

References getPointsUncheckedFieldEnabled().

Referenced by setValueByArray().

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

◆ setImagePath()

ilImagemapFileInputGUI::setImagePath (   $a_path)

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

66  {
67  $this->image_path = $a_path;
68  }

◆ setImagePathWeb()

ilImagemapFileInputGUI::setImagePathWeb (   $a_path_web)

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

76  {
77  $this->image_path_web = $a_path_web;
78  }

◆ setLineColor()

ilImagemapFileInputGUI::setLineColor (   $a_color)

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

56  {
57  $this->line_color = $a_color;
58  }

◆ setPointsUncheckedFieldEnabled()

ilImagemapFileInputGUI::setPointsUncheckedFieldEnabled (   $pointsUncheckedFieldEnabled)

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

References $pointsUncheckedFieldEnabled.

Referenced by assImagemapQuestionGUI\populateQuestionSpecificFormPart().

36  {
37  $this->pointsUncheckedFieldEnabled = (bool)$pointsUncheckedFieldEnabled;
38  }
+ Here is the caller graph for this function:

◆ setValue()

ilImagemapFileInputGUI::setValue (   $a_value)

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

Referenced by setValueByArray().

126  {
127  parent::setValue($a_value);
128  }
+ Here is the caller graph for this function:

◆ setValueByArray()

ilImagemapFileInputGUI::setValueByArray (   $a_values)

Set value by array.

Parameters
array$a_valuesvalue array

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

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

120  {
121  $this->setValue($a_values[$this->getPostVar() . '_name']);
122  $this->setAreasByArray($a_values[$this->getPostVar()]['coords']);
123  }
getPostVar()
Get Post Variable.
+ Here is the call graph for this function:

Field Documentation

◆ $areas

ilImagemapFileInputGUI::$areas = array()
protected

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

Referenced by getAreas().

◆ $image_path

ilImagemapFileInputGUI::$image_path = ""
protected

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

Referenced by getImagePath().

◆ $image_path_web

ilImagemapFileInputGUI::$image_path_web = ""
protected

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

Referenced by getImagePathWeb().

◆ $line_color

ilImagemapFileInputGUI::$line_color = ""
protected

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

Referenced by getLineColor().

◆ $pointsUncheckedFieldEnabled

ilImagemapFileInputGUI::$pointsUncheckedFieldEnabled = false
protected

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