|
ILIAS
release_8 Revision v8.24
|
User interface class for map editor. More...
Inheritance diagram for ilImageMapEditorGUI:
Collaboration diagram for ilImageMapEditorGUI:Public Member Functions | |
| __construct (ilObjMediaObject $a_media_object) | |
| executeCommand () | |
| editMapAreas () | |
| getToolbar () | |
| getEditorTitle () | |
| getImageMapTableHTML () | |
| handleMapParameters () | |
| showImageMap () | |
| updateAreas () | |
| addNewArea () | |
| linkWholePicture () | |
| addRectangle () | |
| addCircle () | |
| addPolygon () | |
| clearSessionVars () | |
| addArea (bool $a_handle=true) | |
| editMapArea (bool $a_get_next_coordinate=false, bool $a_output_new_area=false, bool $a_save_form=false, string $a_edit_property="", int $a_area_nr=0) | |
| Edit a single map area. More... | |
| initAreaEditingForm (string $a_edit_property) | |
| makeMapWorkCopy (string $a_edit_property="", int $a_area_nr=0, bool $a_output_new_area=false, string $a_area_type="", string $a_coords="") | |
| Make work file for editing. More... | |
| getImageMapOutput (string $a_map_edit_mode="") | |
| Render the image map. More... | |
| getAdditionalPageXML () | |
| Get additional page xml (to be overwritten) More... | |
| outputPostProcessing (string $a_output) | |
| getAliasXML () | |
| getMapAreaLinkString (string $a_target, string $a_type, string $a_frame) | |
| Get text name of internal link. More... | |
| editImagemapForward () | |
| Get image map coordinates. More... | |
| saveArea () | |
| Save new or updated map area. More... | |
| setInternalLink () | |
| setLink (bool $a_handle=true) | |
| getLinkTypeOfArea (int $a_nr) | |
| getTypeOfArea (int $a_nr) | |
| Get Type of Area (only internal link) More... | |
| getTargetOfArea (int $a_nr) | |
| Get Target of Area (only internal link) More... | |
| getTargetFrameOfArea (int $a_nr) | |
| Get TargetFrame of Area (only internal link) More... | |
| getHrefOfArea (int $a_nr) | |
| Get Href of Area (only external link) More... | |
| deleteAreas () | |
| Delete map areas. More... | |
| editLink () | |
| Edit existing link. More... | |
| editShapeWholePicture () | |
| Edit an existing shape (make it a whole picture link) More... | |
| editShapeRectangle () | |
| Edit an existing shape (make it a rectangle) More... | |
| editShapeCircle () | |
| Edit an existing shape (make it a circle) More... | |
| editShapePolygon () | |
| Edit an existing shape (make it a polygon) More... | |
| setShape (bool $a_handle=true) | |
| edit shape of existing map area More... | |
| setHighlight () | |
| Set highlight settings. More... | |
Static Public Member Functions | |
| static | _recoverParameters () |
| Recover parameters from session variables (static) More... | |
User interface class for map editor.
Definition at line 27 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::__construct | ( | ilObjMediaObject | $a_media_object | ) |
Definition at line 38 of file class.ilImageMapEditorGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
static |
Recover parameters from session variables (static)
Definition at line 683 of file class.ilImageMapEditorGUI.php.
References $DIC.
Referenced by editImagemapForward().
Here is the caller graph for this function:| ilImageMapEditorGUI::addArea | ( | bool | $a_handle = true | ) |
Definition at line 259 of file class.ilImageMapEditorGUI.php.
References handleMapParameters().
Referenced by addCircle(), addPolygon(), and addRectangle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::addCircle | ( | ) |
Definition at line 240 of file class.ilImageMapEditorGUI.php.
References addArea(), and clearSessionVars().
Referenced by addNewArea().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::addNewArea | ( | ) |
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 214 of file class.ilImageMapEditorGUI.php.
References addCircle(), addPolygon(), addRectangle(), and linkWholePicture().
Here is the call graph for this function:| ilImageMapEditorGUI::addPolygon | ( | ) |
Definition at line 247 of file class.ilImageMapEditorGUI.php.
References addArea(), and clearSessionVars().
Referenced by addNewArea().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::addRectangle | ( | ) |
Definition at line 233 of file class.ilImageMapEditorGUI.php.
References addArea(), and clearSessionVars().
Referenced by addNewArea().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::clearSessionVars | ( | ) |
Definition at line 254 of file class.ilImageMapEditorGUI.php.
Referenced by addCircle(), addPolygon(), addRectangle(), and linkWholePicture().
Here is the caller graph for this function:| ilImageMapEditorGUI::deleteAreas | ( | ) |
Delete map areas.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 905 of file class.ilImageMapEditorGUI.php.
References $i, $lng, and ilMapArea\_getMaxNr().
Here is the call graph for this function:| ilImageMapEditorGUI::editImagemapForward | ( | ) |
Get image map coordinates.
Definition at line 664 of file class.ilImageMapEditorGUI.php.
References _recoverParameters(), and ilUtil\redirect().
Here is the call graph for this function:| ilImageMapEditorGUI::editLink | ( | ) |
Edit existing link.
Definition at line 937 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editMapArea | ( | bool | $a_get_next_coordinate = false, |
| bool | $a_output_new_area = false, |
||
| bool | $a_save_form = false, |
||
| string | $a_edit_property = "", |
||
| int | $a_area_nr = 0 |
||
| ) |
Edit a single map area.
| bool | $a_get_next_coordinate | enable next coordinate input |
| bool | $a_output_new_area | output the new area |
| bool | $a_save_form | output save form |
| string | $a_edit_property | "" | "link" | "shape" |
| int | $a_area_nr |
Definition at line 327 of file class.ilImageMapEditorGUI.php.
Referenced by linkWholePicture().
Here is the caller graph for this function:| ilImageMapEditorGUI::editMapAreas | ( | ) |
Definition at line 97 of file class.ilImageMapEditorGUI.php.
References $ctrl, getImageMapOutput(), getImageMapTableHTML(), getToolbar(), handleMapParameters(), makeMapWorkCopy(), and ilCtrl\setTargetScript().
Here is the call graph for this function:| ilImageMapEditorGUI::editShapeCircle | ( | ) |
Edit an existing shape (make it a circle)
Definition at line 966 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapePolygon | ( | ) |
Edit an existing shape (make it a polygon)
Definition at line 976 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeRectangle | ( | ) |
Edit an existing shape (make it a rectangle)
Definition at line 956 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeWholePicture | ( | ) |
Edit an existing shape (make it a whole picture link)
Definition at line 946 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::executeCommand | ( | ) |
| ilCtrlException |
Definition at line 65 of file class.ilImageMapEditorGUI.php.
References $ctrl, ilCtrl\getNextClass(), and ilObjMediaObjectGUI\includePresentationJS().
Here is the call graph for this function:| ilImageMapEditorGUI::getAdditionalPageXML | ( | ) |
Get additional page xml (to be overwritten)
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 578 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 589 of file class.ilImageMapEditorGUI.php.
References IL_MODE_ALIAS.
| ilImageMapEditorGUI::getEditorTitle | ( | ) |
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 151 of file class.ilImageMapEditorGUI.php.
References $lng, and ilLanguage\txt().
Here is the call graph for this function:| ilImageMapEditorGUI::getHrefOfArea | ( | int | $a_nr | ) |
Get Href of Area (only external link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 894 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getImageMapOutput | ( | string | $a_map_edit_mode = "" | ) |
Render the image map.
Definition at line 532 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Reimplemented in ilPCIIMTriggerEditorGUI, and ilPCImageMapEditorGUI.
Definition at line 158 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::getLinkTypeOfArea | ( | int | $a_nr | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 850 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getMapAreaLinkString | ( | string | $a_target, |
| string | $a_type, | ||
| string | $a_frame | ||
| ) |
Get text name of internal link.
| string | $a_target | target object link id |
| string | $a_type | type |
| string | $a_frame | target frame |
Definition at line 600 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetFrameOfArea | ( | int | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 883 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetOfArea | ( | int | $a_nr | ) |
Get Target of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 872 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getToolbar | ( | ) |
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 129 of file class.ilImageMapEditorGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
Referenced by editMapAreas().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::getTypeOfArea | ( | int | $a_nr | ) |
Get Type of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 861 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::handleMapParameters | ( | ) |
Definition at line 164 of file class.ilImageMapEditorGUI.php.
Referenced by addArea(), and editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::initAreaEditingForm | ( | string | $a_edit_property | ) |
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 421 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::linkWholePicture | ( | ) |
Definition at line 225 of file class.ilImageMapEditorGUI.php.
References clearSessionVars(), and editMapArea().
Referenced by addNewArea().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::makeMapWorkCopy | ( | string | $a_edit_property = "", |
| int | $a_area_nr = 0, |
||
| bool | $a_output_new_area = false, |
||
| string | $a_area_type = "", |
||
| string | $a_coords = "" |
||
| ) |
Make work file for editing.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 508 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::outputPostProcessing | ( | string | $a_output | ) |
Reimplemented in ilPCIIMTriggerEditorGUI.
Definition at line 583 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented in ilPCIIMTriggerEditorGUI, and ilPCImageMapEditorGUI.
Definition at line 698 of file class.ilImageMapEditorGUI.php.
References $lng, ilMapArea\_getMaxNr(), IL_EXT_LINK, IL_INT_LINK, and IL_NO_LINK.
Here is the call graph for this function:| ilImageMapEditorGUI::setHighlight | ( | ) |
Set highlight settings.
Definition at line 1076 of file class.ilImageMapEditorGUI.php.
References $lng.
| ilImageMapEditorGUI::setInternalLink | ( | ) |
Definition at line 785 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setLink | ( | bool | $a_handle = true | ) |
Definition at line 804 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setShape | ( | bool | $a_handle = true | ) |
edit shape of existing map area
Definition at line 986 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::showImageMap | ( | ) |
Definition at line 183 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::updateAreas | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 189 of file class.ilImageMapEditorGUI.php.
References $ctrl, $i, $lng, ilMapArea\_getMaxNr(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCIIMTriggerEditorGUI\addNewArea(), ilPCImageMapEditorGUI\deleteAreas(), editMapAreas(), executeCommand(), ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilPCIIMTriggerEditorGUI\getToolbar(), getToolbar(), ilPCImageMapEditorGUI\saveArea(), ilPCImageMapEditorGUI\updateAreas(), and updateAreas().
|
protected |
Definition at line 35 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCIIMTriggerEditorGUI\addNewArea(), ilPCImageMapEditorGUI\deleteAreas(), ilPCIIMTriggerEditorGUI\getEditorTitle(), getEditorTitle(), ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilPCIIMTriggerEditorGUI\getToolbar(), getToolbar(), ilPCImageMapEditorGUI\saveArea(), ilPCImageMapEditorGUI\updateAreas(), and updateAreas().
|
protected |
Definition at line 33 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 31 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 29 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 30 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCImageMapEditorGUI\__construct(), and ilPCIIMTriggerEditorGUI\__construct().
|
protected |
Definition at line 36 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCIIMTriggerEditorGUI\getImageMapTableHTML().
|
protected |
Definition at line 32 of file class.ilImageMapEditorGUI.php.