|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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... | |
Protected Attributes | |
| ILIAS COPage Xsl XslManager | $xsl |
| ilObjMediaObject | $media_object |
| ImageMapGUIRequest | $request |
| ImageMapManager | $map |
| ilTemplate | $tpl |
| ilGlobalTemplateInterface | $main_tpl |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilToolbarGUI | $toolbar |
User interface class for map editor.
Definition at line 27 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::__construct | ( | ilObjMediaObject | $a_media_object | ) |
Definition at line 39 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 688 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 269 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 250 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 | ( | ) |
Definition at line 224 of file class.ilImageMapEditorGUI.php.
References addCircle(), addPolygon(), addRectangle(), and linkWholePicture().
Here is the call graph for this function:| ilImageMapEditorGUI::addPolygon | ( | ) |
Definition at line 257 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 243 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 264 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 910 of file class.ilImageMapEditorGUI.php.
References $lng, and ilMapArea\_getMaxNr().
Here is the call graph for this function:| ilImageMapEditorGUI::editImagemapForward | ( | ) |
Get image map coordinates.
Definition at line 669 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 942 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 336 of file class.ilImageMapEditorGUI.php.
Referenced by linkWholePicture().
Here is the caller graph for this function:| ilImageMapEditorGUI::editMapAreas | ( | ) |
Definition at line 99 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 971 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapePolygon | ( | ) |
Edit an existing shape (make it a polygon)
Definition at line 981 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeRectangle | ( | ) |
Edit an existing shape (make it a rectangle)
Definition at line 961 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeWholePicture | ( | ) |
Edit an existing shape (make it a whole picture link)
Definition at line 951 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::executeCommand | ( | ) |
| ilCtrlException |
Definition at line 67 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)
Definition at line 583 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 594 of file class.ilImageMapEditorGUI.php.
References IL_MODE_ALIAS.
| ilImageMapEditorGUI::getEditorTitle | ( | ) |
Definition at line 153 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 899 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getImageMapOutput | ( | string | $a_map_edit_mode = "" | ) |
Render the image map.
Definition at line 542 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 160 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 855 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 605 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetFrameOfArea | ( | int | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 888 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetOfArea | ( | int | $a_nr | ) |
Get Target of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 877 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getToolbar | ( | ) |
Definition at line 131 of file class.ilImageMapEditorGUI.php.
References $ctrl, $lng, ILIAS\UI\Implementation\Component\Input\Field\$options, 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 866 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::handleMapParameters | ( | ) |
Definition at line 166 of file class.ilImageMapEditorGUI.php.
Referenced by addArea(), and editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::initAreaEditingForm | ( | string | $a_edit_property | ) |
Definition at line 429 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::linkWholePicture | ( | ) |
Definition at line 235 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 516 of file class.ilImageMapEditorGUI.php.
References ilMediaItem\makeMapWorkCopy().
Referenced by editMapAreas(), and showImageMap().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::outputPostProcessing | ( | string | $a_output | ) |
Definition at line 588 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 703 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 1077 of file class.ilImageMapEditorGUI.php.
References $lng.
| ilImageMapEditorGUI::setInternalLink | ( | ) |
Definition at line 790 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setLink | ( | bool | $a_handle = true | ) |
Definition at line 809 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setShape | ( | bool | $a_handle = true | ) |
edit shape of existing map area
Definition at line 991 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::showImageMap | ( | ) |
Definition at line 185 of file class.ilImageMapEditorGUI.php.
References makeMapWorkCopy().
Here is the call graph for this function:| ilImageMapEditorGUI::updateAreas | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 199 of file class.ilImageMapEditorGUI.php.
References $ctrl, $lng, ilMapArea\_getMaxNr(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCImageMapEditorGUI\deleteAreas(), editMapAreas(), executeCommand(), getToolbar(), ilPCImageMapEditorGUI\saveArea(), ilPCImageMapEditorGUI\updateAreas(), and updateAreas().
|
protected |
Definition at line 36 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCImageMapEditorGUI\deleteAreas(), getEditorTitle(), getToolbar(), ilPCImageMapEditorGUI\saveArea(), ilPCImageMapEditorGUI\updateAreas(), and updateAreas().
|
protected |
Definition at line 34 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 32 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 30 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 31 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCImageMapEditorGUI\__construct().
|
protected |
Definition at line 37 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 33 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 29 of file class.ilImageMapEditorGUI.php.