ILIAS
Release_4_1_x_branch Revision 61804
|
User interface class for page content map editor. More...
Public Member Functions | |
__construct ($a_pc_media_object, $a_page) | |
Constructor. | |
getImageMapTableHTML () | |
Get table HTML. | |
saveArea () | |
Save new or updated map area. | |
deleteAreas () | |
Delete map areas. | |
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) | |
updateAreas () | |
Update map areas. | |
makeMapWorkCopy ($a_edit_property="", $a_area_nr=0, $a_output_new_area=false, $a_area_type="", $a_coords="") | |
Make work file for editing. | |
getAliasXML () | |
Public Member Functions inherited from ilImageMapEditorGUI | |
__construct ($a_media_object) | |
Constructor. | |
executeCommand () | |
Execute current command. | |
editMapAreas () | |
Show map areas. | |
handleMapParameters () | |
handle parameter during map area editing (storing to session) | |
showImageMap () | |
show image map | |
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. | |
getImageMapOutput ($a_map_edit_mode="") | |
Render the image map. | |
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) | |
setInternalLink () | |
Set internal link. | |
setLink ($a_handle=true) | |
Set link. | |
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 page content map editor.
ilPCImageMapEditorGUI: ilInternalLinkGUI
Definition at line 16 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::__construct | ( | $a_pc_media_object, | |
$a_page | |||
) |
Constructor.
Definition at line 21 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::deleteAreas | ( | ) |
Delete map areas.
Reimplemented from ilImageMapEditorGUI.
Definition at line 115 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilMediaAliasItem\deleteMapArea(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPCImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented from ilImageMapEditorGUI.
Definition at line 238 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getHrefOfArea | ( | $a_nr | ) |
Get Href of Area (only external link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 187 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\getHrefOfArea().
ilPCImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Get table HTML.
Reimplemented from ilImageMapEditorGUI.
Definition at line 32 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getLinkTypeOfArea | ( | $a_nr | ) |
Get Link Type of Area.
Reimplemented from ilImageMapEditorGUI.
Definition at line 147 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\getLinkTypeOfArea().
ilPCImageMapEditorGUI::getTargetFrameOfArea | ( | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 177 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\getTargetFrameOfArea().
ilPCImageMapEditorGUI::getTargetOfArea | ( | $a_nr | ) |
Get Target of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 167 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\getTargetOfArea().
ilPCImageMapEditorGUI::getTypeOfArea | ( | $a_nr | ) |
Get Type of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 157 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\getTypeOfArea().
ilPCImageMapEditorGUI::makeMapWorkCopy | ( | $a_edit_property = "" , |
|
$a_area_nr = 0 , |
|||
$a_output_new_area = false , |
|||
$a_area_type = "" , |
|||
$a_coords = "" |
|||
) |
Make work file for editing.
Reimplemented from ilImageMapEditorGUI.
Definition at line 218 of file class.ilPCImageMapEditorGUI.php.
References ilMediaAliasItem\makeMapWorkCopy().
ilPCImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented from ilImageMapEditorGUI.
Definition at line 42 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, ilMediaAliasItem\addMapArea(), IL_EXT_LINK, IL_INT_LINK, ilUtil\sendSuccess(), ilMediaAliasItem\setAreaIntLink(), ilMediaAliasItem\setShape(), and ilUtil\stripSlashes().
ilPCImageMapEditorGUI::updateAreas | ( | ) |
Update map areas.
Reimplemented from ilImageMapEditorGUI.
Definition at line 197 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilMediaAliasItem\getMapAreas(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().