| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
User interface class for map editor. More...
 Inheritance diagram for ilImageMapEditorGUI:
 Inheritance diagram for ilImageMapEditorGUI: Collaboration diagram for ilImageMapEditorGUI:
 Collaboration diagram for ilImageMapEditorGUI:| Public Member Functions | |
| __construct ($a_media_object) | |
| Constructor. | |
| executeCommand () | |
| Execute current command. | |
| editMapAreas () | |
| Show map areas. | |
| getImageMapTableHTML () | |
| Get table HTML. | |
| handleMapParameters () | |
| handle parameter during map area editing (storing to session) | |
| showImageMap () | |
| show image map | |
| updateAreas () | |
| Update map areas. | |
| linkWholePicture () | |
| Link the whole picture. | |
| addRectangle () | |
| Add a new rectangle. | |
| addCircle () | |
| Add a new circle. | |
| addPolygon () | |
| Add a new polygon. | |
| clearSessionVars () | |
| Clear Session Vars. | |
| addArea ($a_handle=true) | |
| Handle adding new area process. | |
| editMapArea ($a_get_next_coordinate=false, $a_output_new_area=false, $a_save_form=false, $a_edit_property="", $a_area_nr=0) | |
| Edit a single map area. | |
| makeMapWorkCopy ($a_edit_property="", $a_area_nr=0, $a_output_new_area=false, $a_area_type="", $a_coords="") | |
| Make work file for editing. | |
| getImageMapOutput ($a_map_edit_mode="") | |
| Render the image map. | |
| getAliasXML () | |
| getMapAreaLinkString ($a_target, $a_type, $a_frame) | |
| Get text name of internal link. | |
| editImagemapForward () | |
| Get image map coordinates. | |
| _recoverParameters () | |
| Recover parameters from session variables (static) | |
| saveArea () | |
| Save new or updated map area. | |
| setInternalLink () | |
| Set internal link. | |
| setLink ($a_handle=true) | |
| Set link. | |
| getLinkTypeOfArea ($a_nr) | |
| Get Link Type of Area. | |
| getTypeOfArea ($a_nr) | |
| Get Type of Area (only internal link) | |
| getTargetOfArea ($a_nr) | |
| Get Target of Area (only internal link) | |
| getTargetFrameOfArea ($a_nr) | |
| Get TargetFrame of Area (only internal link) | |
| getHrefOfArea ($a_nr) | |
| Get Href of Area (only external link) | |
| deleteAreas () | |
| Delete map areas. | |
| editLink () | |
| Edit existing link. | |
| editShapeWholePicture () | |
| Edit an existing shape (make it a whole picture link) | |
| editShapeRectangle () | |
| Edit an existing shape (make it a rectangle) | |
| editShapeCircle () | |
| Edit an existing shape (make it a circle) | |
| editShapePolygon () | |
| Edit an existing shape (make it a polygon) | |
| setShape ($a_handle=true) | |
| edit shape of existing map area | |
User interface class for map editor.
ilImageMapEditorGUI: ilInternalLinkGUI
Definition at line 14 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::__construct | ( | $a_media_object | ) | 
Constructor.
Definition at line 19 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::_recoverParameters | ( | ) | 
Recover parameters from session variables (static)
Definition at line 586 of file class.ilImageMapEditorGUI.php.
References $_GET, and $_SESSION.
Referenced by editImagemapForward(), and ilInternalLinkGUI\showLinkHelp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::addArea | ( | $a_handle = true | ) | 
Handle adding new area process.
Definition at line 213 of file class.ilImageMapEditorGUI.php.
References $_SESSION, ilMapArea\countCoords(), editMapArea(), and handleMapParameters().
Referenced by addCircle(), addPolygon(), addRectangle(), and setInternalLink().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::addCircle | ( | ) | 
Add a new circle.
Definition at line 177 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::addPolygon | ( | ) | 
Add a new polygon.
Definition at line 187 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::addRectangle | ( | ) | 
Add a new rectangle.
Definition at line 167 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::clearSessionVars | ( | ) | 
Clear Session Vars.
Definition at line 197 of file class.ilImageMapEditorGUI.php.
References $_SESSION.
Referenced by addCircle(), addPolygon(), addRectangle(), editShapeCircle(), editShapePolygon(), editShapeRectangle(), editShapeWholePicture(), and linkWholePicture().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::deleteAreas | ( | ) | 
Delete map areas.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 801 of file class.ilImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilMapArea\_getMaxNr(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editImagemapForward | ( | ) | 
Get image map coordinates.
Definition at line 567 of file class.ilImageMapEditorGUI.php.
References $_POST, $_SESSION, _recoverParameters(), and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editLink | ( | ) | 
Edit existing link.
Definition at line 834 of file class.ilImageMapEditorGUI.php.
References $_SESSION, and setLink().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editMapArea | ( | $a_get_next_coordinate = false, | |
| $a_output_new_area = false, | |||
| $a_save_form = false, | |||
| $a_edit_property = "", | |||
| $a_area_nr = 0 | |||
| ) | 
Edit a single map area.
| boolean | $a_get_next_coordinate | enable next coordinate input | 
| boolean | $a_output_new_area | output the new area | 
| boolean | $a_save_from | output save form | 
| string | $a_edit_property | "" | "link" | "shape" | 
Definition at line 294 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, ilMapArea\countCoords(), getImageMapOutput(), getMapAreaLinkString(), and makeMapWorkCopy().
Referenced by addArea(), linkWholePicture(), setLink(), and setShape().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::editMapAreas | ( | ) | 
Show map areas.
Definition at line 64 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, getImageMapOutput(), getImageMapTableHTML(), handleMapParameters(), and makeMapWorkCopy().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editShapeCircle | ( | ) | 
Edit an existing shape (make it a circle)
Definition at line 870 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editShapePolygon | ( | ) | 
Edit an existing shape (make it a polygon)
Definition at line 880 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editShapeRectangle | ( | ) | 
Edit an existing shape (make it a rectangle)
Definition at line 860 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::editShapeWholePicture | ( | ) | 
Edit an existing shape (make it a whole picture link)
Definition at line 850 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::executeCommand | ( | ) | 
Execute current command.
Definition at line 27 of file class.ilImageMapEditorGUI.php.
References $_POST, $cmd, $ilCtrl, and $ret.
| ilImageMapEditorGUI::getAliasXML | ( | ) | 
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 500 of file class.ilImageMapEditorGUI.php.
References IL_MODE_ALIAS.
Referenced by getImageMapOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getHrefOfArea | ( | $a_nr | ) | 
Get Href of Area (only external link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 791 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapOutput | ( | $a_map_edit_mode = "" | ) | 
Render the image map.
Definition at line 468 of file class.ilImageMapEditorGUI.php.
References $_GET, $ilCtrl, getAliasXML(), ilUtil\getWebspaceDir(), IL_MODE_OUTPUT, xslt_create(), xslt_error(), xslt_free(), and xslt_process().
Referenced by editMapArea(), and editMapAreas().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapTableHTML | ( | ) | 
Get table HTML.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 91 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getLinkTypeOfArea | ( | $a_nr | ) | 
Get Link Type of Area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 751 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getMapAreaLinkString | ( | $a_target, | |
| $a_type, | |||
| $a_frame | |||
| ) | 
Get text name of internal link.
| string | $a_target | target object link id | 
| string | $a_type | type | 
| string | $a_frame | target frame | 
private
Definition at line 514 of file class.ilImageMapEditorGUI.php.
References $lng, $title, ilObject\_lookupObjId(), ilLMObject\_lookupTitle(), and ilObject\_lookupTitle().
Referenced by editMapArea().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getTargetFrameOfArea | ( | $a_nr | ) | 
Get TargetFrame of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 781 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getTargetOfArea | ( | $a_nr | ) | 
Get Target of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 771 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::getTypeOfArea | ( | $a_nr | ) | 
Get Type of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 761 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::handleMapParameters | ( | ) | 
handle parameter during map area editing (storing to session)
Definition at line 101 of file class.ilImageMapEditorGUI.php.
References $_GET, and $_SESSION.
Referenced by addArea(), editMapAreas(), setLink(), and setShape().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::linkWholePicture | ( | ) | 
Link the whole picture.
Definition at line 156 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and editMapArea().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilImageMapEditorGUI::makeMapWorkCopy | ( | $a_edit_property = "", | |
| $a_area_nr = 0, | |||
| $a_output_new_area = false, | |||
| $a_area_type = "", | |||
| $a_coords = "" | |||
| ) | 
Make work file for editing.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 444 of file class.ilImageMapEditorGUI.php.
Referenced by editMapArea(), and editMapAreas().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::saveArea | ( | ) | 
Save new or updated map area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 597 of file class.ilImageMapEditorGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, ilMapArea\_getMaxNr(), IL_EXT_LINK, IL_INT_LINK, ilUtil\sendSuccess(), ilMapArea\setLinkType(), ilMapArea\setShape(), and ilUtil\stripSlashes().
Referenced by setShape().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::setInternalLink | ( | ) | 
| ilImageMapEditorGUI::setLink | ( | $a_handle = true | ) | 
Set link.
Definition at line 701 of file class.ilImageMapEditorGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, editMapArea(), getHrefOfArea(), getLinkTypeOfArea(), getTargetFrameOfArea(), getTargetOfArea(), getTypeOfArea(), handleMapParameters(), IL_INT_LINK, and ilUtil\sendFailure().
Referenced by editLink(), and setInternalLink().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::setShape | ( | $a_handle = true | ) | 
edit shape of existing map area
Definition at line 890 of file class.ilImageMapEditorGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, ilMapArea\countCoords(), editMapArea(), handleMapParameters(), saveArea(), and ilUtil\sendFailure().
Referenced by editShapeCircle(), editShapePolygon(), editShapeRectangle(), and editShapeWholePicture().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilImageMapEditorGUI::showImageMap | ( | ) | 
| ilImageMapEditorGUI::updateAreas | ( | ) | 
Update map areas.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 136 of file class.ilImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilMapArea\_getMaxNr(), ilUtil\sendSuccess(), ilMapArea\setTitle(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function: