|
ILIAS
Release_3_10_x_branch Revision 61812
|
User interface class for map editor. More...
Inheritance 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. | |
| 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. | |
| 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 34 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::__construct | ( | $a_media_object | ) |
Constructor.
Definition at line 39 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::_recoverParameters | ( | ) |
Recover parameters from session variables (static)
Definition at line 588 of file class.ilImageMapEditorGUI.php.
References $_GET, and $_SESSION.
Referenced by editImagemapForward(), and ilInternalLinkGUI\showLinkHelp().
Here is the caller graph for this function:| ilImageMapEditorGUI::addArea | ( | $a_handle = true | ) |
Handle adding new area process.
Definition at line 221 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 caller graph for this function:| ilImageMapEditorGUI::addCircle | ( | ) |
Add a new circle.
Definition at line 185 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
Here is the call graph for this function:| ilImageMapEditorGUI::addPolygon | ( | ) |
Add a new polygon.
Definition at line 195 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
Here is the call graph for this function:| ilImageMapEditorGUI::addRectangle | ( | ) |
Add a new rectangle.
Definition at line 175 of file class.ilImageMapEditorGUI.php.
References $_SESSION, addArea(), and clearSessionVars().
Here is the call graph for this function:| ilImageMapEditorGUI::clearSessionVars | ( | ) |
Clear Session Vars.
Definition at line 205 of file class.ilImageMapEditorGUI.php.
References $_SESSION.
Referenced by addCircle(), addPolygon(), addRectangle(), editShapeCircle(), editShapePolygon(), and editShapeRectangle().
Here is the caller graph for this function:| ilImageMapEditorGUI::deleteAreas | ( | ) |
Delete map areas.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 803 of file class.ilImageMapEditorGUI.php.
References $ilCtrl, $lng, ilMapArea\_getMaxNr(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilImageMapEditorGUI::editImagemapForward | ( | ) |
Get image map coordinates.
Definition at line 569 of file class.ilImageMapEditorGUI.php.
References $_SESSION, _recoverParameters(), and ilUtil\redirect().
Here is the call graph for this function:| ilImageMapEditorGUI::editLink | ( | ) |
Edit existing link.
Definition at line 836 of file class.ilImageMapEditorGUI.php.
References $_SESSION, and setLink().
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 297 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, ilMapArea\countCoords(), getImageMapOutput(), getMapAreaLinkString(), and makeMapWorkCopy().
Referenced by addArea(), setLink(), and setShape().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::editMapAreas | ( | ) |
Show map areas.
Definition at line 84 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, getImageMapOutput(), getImageMapTableHTML(), handleMapParameters(), and makeMapWorkCopy().
Here is the call graph for this function:| ilImageMapEditorGUI::editShapeCircle | ( | ) |
Edit an existing shape (make it a circle)
Definition at line 862 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
Here is the call graph for this function:| ilImageMapEditorGUI::editShapePolygon | ( | ) |
Edit an existing shape (make it a polygon)
Definition at line 872 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
Here is the call graph for this function:| ilImageMapEditorGUI::editShapeRectangle | ( | ) |
Edit an existing shape (make it a rectangle)
Definition at line 852 of file class.ilImageMapEditorGUI.php.
References $_SESSION, clearSessionVars(), and setShape().
Here is the call graph for this function:| ilImageMapEditorGUI::executeCommand | ( | ) |
Execute current command.
Definition at line 47 of file class.ilImageMapEditorGUI.php.
References $cmd, $ilCtrl, and $ret.
| ilImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 502 of file class.ilImageMapEditorGUI.php.
References IL_MODE_ALIAS.
Referenced by getImageMapOutput().
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 793 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapOutput | ( | $a_map_edit_mode = "" | ) |
Render the image map.
Definition at line 471 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 caller graph for this function:| ilImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Get table HTML.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 110 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::getLinkTypeOfArea | ( | $a_nr | ) |
Get Link Type of Area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 753 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
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 516 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 caller graph for this function:| ilImageMapEditorGUI::getTargetFrameOfArea | ( | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 783 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
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 773 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
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 763 of file class.ilImageMapEditorGUI.php.
Referenced by setLink().
Here is the caller graph for this function:| ilImageMapEditorGUI::handleMapParameters | ( | ) |
handle parameter during map area editing (storing to session)
Definition at line 120 of file class.ilImageMapEditorGUI.php.
References $_GET, and $_SESSION.
Referenced by addArea(), editMapAreas(), setLink(), and setShape().
Here is the caller 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 447 of file class.ilImageMapEditorGUI.php.
Referenced by editMapArea(), and editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 599 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, ilMapArea\_getMaxNr(), IL_EXT_LINK, IL_INT_LINK, ilUtil\sendInfo(), ilMapArea\setLinkType(), ilMapArea\setShape(), and ilUtil\stripSlashes().
Referenced by setShape().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::setInternalLink | ( | ) |
| ilImageMapEditorGUI::setLink | ( | $a_handle = true | ) |
Set link.
Definition at line 703 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, editMapArea(), getHrefOfArea(), getLinkTypeOfArea(), getTargetFrameOfArea(), getTargetOfArea(), getTypeOfArea(), handleMapParameters(), IL_INT_LINK, and ilUtil\sendInfo().
Referenced by editLink(), and setInternalLink().
Here is the call 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 882 of file class.ilImageMapEditorGUI.php.
References $_SESSION, $ilCtrl, $lng, ilMapArea\countCoords(), editMapArea(), handleMapParameters(), saveArea(), and ilUtil\sendInfo().
Referenced by editShapeCircle(), editShapePolygon(), and editShapeRectangle().
Here is the call 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 155 of file class.ilImageMapEditorGUI.php.
References $ilCtrl, $lng, ilMapArea\_getMaxNr(), ilUtil\sendInfo(), ilMapArea\setTitle(), and ilUtil\stripSlashes().
Here is the call graph for this function: