ILIAS
Release_4_4_x_branch Revision 61816
|
User interface class for page content map editor. More...
Public Member Functions | |
__construct ($a_content_obj, $a_page) | |
Constructor. | |
getParentNodeName () | |
Get parent node name. | |
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. | |
getToolbar () | |
Get toolbar. | |
getEditorTitle () | |
Get editor title. | |
handleMapParameters () | |
handle parameter during map area editing (storing to session) | |
showImageMap () | |
show image map | |
addNewArea () | |
Add area. | |
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. | |
initAreaEditingForm ($a_edit_property) | |
Init area editing form. | |
getImageMapOutput ($a_map_edit_mode="") | |
Render the image map. | |
getAdditionalPageXML () | |
Get additional page xml (to be overwritten) | |
outputPostProcessing ($a_output) | |
Output post processing. | |
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 | |
setHighlight () | |
Set highlight settings. |
User interface class for page content map editor.
ilPCImageMapEditorGUI: ilInternalLinkGUI
Definition at line 17 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::__construct | ( | $a_content_obj, | |
$a_page | |||
) |
Constructor.
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 22 of file class.ilPCImageMapEditorGUI.php.
References getParentNodeName().
ilPCImageMapEditorGUI::deleteAreas | ( | ) |
Delete map areas.
Reimplemented from ilImageMapEditorGUI.
Definition at line 141 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPCImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented from ilImageMapEditorGUI.
Definition at line 272 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getHrefOfArea | ( | $a_nr | ) |
Get Href of Area (only external link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 212 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Get table HTML.
Reimplemented from ilImageMapEditorGUI.
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 46 of file class.ilPCImageMapEditorGUI.php.
References getParentNodeName().
ilPCImageMapEditorGUI::getLinkTypeOfArea | ( | $a_nr | ) |
Get Link Type of Area.
Reimplemented from ilImageMapEditorGUI.
Definition at line 172 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getParentNodeName | ( | ) |
Get parent node name.
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 38 of file class.ilPCImageMapEditorGUI.php.
Referenced by __construct(), getImageMapTableHTML(), and makeMapWorkCopy().
ilPCImageMapEditorGUI::getTargetFrameOfArea | ( | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 202 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getTargetOfArea | ( | $a_nr | ) |
Get Target of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 192 of file class.ilPCImageMapEditorGUI.php.
ilPCImageMapEditorGUI::getTypeOfArea | ( | $a_nr | ) |
Get Type of Area (only internal link)
Reimplemented from ilImageMapEditorGUI.
Definition at line 182 of file class.ilPCImageMapEditorGUI.php.
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 247 of file class.ilPCImageMapEditorGUI.php.
References getParentNodeName(), and ilMediaAliasItem\makeMapWorkCopy().
ilPCImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented from ilImageMapEditorGUI.
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 57 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, IL_EXT_LINK, IL_INT_LINK, IL_NO_LINK, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPCImageMapEditorGUI::updateAreas | ( | ) |
Update map areas.
Reimplemented from ilImageMapEditorGUI.
Definition at line 222 of file class.ilPCImageMapEditorGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().