|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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 () | |
| editTitle (int $area_nr) | |
| saveTitle () | |
| editHighlightMode (int $area_nr) | |
| saveHighlightMode () | |
| editHighlightClass (int $area_nr) | |
| saveHighlightClass () | |
| 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 (int $area_nr=0) | |
| Delete map areas. More... | |
| editLink (int $area_nr=0) | |
| Edit existing link. More... | |
| editShapeWholePicture (int $area_nr=0) | |
| Edit an existing shape (make it a whole picture link) More... | |
| editShapeRectangle (int $area_nr=0) | |
| Edit an existing shape (make it a rectangle) More... | |
| editShapeCircle (int $area_nr=0) | |
| Edit an existing shape (make it a circle) More... | |
| editShapePolygon (int $area_nr=0) | |
| 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 Member Functions | |
| getImageMapTable () | |
| getMapArea (int $area_nr) | |
| getAreaTitleForm (int $area_nr, string $cmd="saveTitle") | |
| getAreaHighlightForm (int $area_nr, string $field, string $label, string $cmd, array $options, string $value) | |
Protected Attributes | |
| ILIAS COPage Xsl XslManager | $xsl |
| ilObjectDefinition | $obj_definition |
| ilObjMediaObject | $media_object |
| ImageMapGUIRequest | $request |
| ImageMapManager | $map |
| ilTemplate | $tpl |
| ilGlobalTemplateInterface | $main_tpl |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilToolbarGUI | $toolbar |
| ILIAS MediaObjects InternalGUIService | $media_gui |
User interface class for map editor.
Definition at line 29 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::__construct | ( | ilObjMediaObject | $a_media_object | ) |
Definition at line 43 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 868 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 426 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::addCircle | ( | ) |
Definition at line 407 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::addNewArea | ( | ) |
Definition at line 381 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::addPolygon | ( | ) |
Definition at line 414 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::addRectangle | ( | ) |
Definition at line 400 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::clearSessionVars | ( | ) |
Definition at line 421 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::deleteAreas | ( | int | $area_nr = 0 | ) |
Delete map areas.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 1090 of file class.ilImageMapEditorGUI.php.
References $lng.
| ilImageMapEditorGUI::editHighlightClass | ( | int | $area_nr | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 283 of file class.ilImageMapEditorGUI.php.
References ilMapArea\getAllHighlightClasses(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::editHighlightMode | ( | int | $area_nr | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 246 of file class.ilImageMapEditorGUI.php.
References ilMapArea\getAllHighlightModes(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::editImagemapForward | ( | ) |
Get image map coordinates.
Definition at line 849 of file class.ilImageMapEditorGUI.php.
References _recoverParameters(), and ilUtil\redirect().
Here is the call graph for this function:| ilImageMapEditorGUI::editLink | ( | int | $area_nr = 0 | ) |
Edit existing link.
Definition at line 1115 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 493 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editMapAreas | ( | ) |
Definition at line 106 of file class.ilImageMapEditorGUI.php.
References $ctrl, getImageMapOutput(), getImageMapTableHTML(), getToolbar(), handleMapParameters(), and makeMapWorkCopy().
Here is the call graph for this function:| ilImageMapEditorGUI::editShapeCircle | ( | int | $area_nr = 0 | ) |
Edit an existing shape (make it a circle)
Definition at line 1156 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapePolygon | ( | int | $area_nr = 0 | ) |
Edit an existing shape (make it a polygon)
Definition at line 1170 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeRectangle | ( | int | $area_nr = 0 | ) |
Edit an existing shape (make it a rectangle)
Definition at line 1142 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editShapeWholePicture | ( | int | $area_nr = 0 | ) |
Edit an existing shape (make it a whole picture link)
Definition at line 1128 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::editTitle | ( | int | $area_nr | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 209 of file class.ilImageMapEditorGUI.php.
References getAreaTitleForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::executeCommand | ( | ) |
| ilCtrlException |
Definition at line 73 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 740 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getAliasXML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 751 of file class.ilImageMapEditorGUI.php.
References IL_MODE_ALIAS.
|
protected |
Definition at line 232 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 195 of file class.ilImageMapEditorGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by editTitle(), and saveTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::getEditorTitle | ( | ) |
Definition at line 164 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 1079 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getImageMapOutput | ( | string | $a_map_edit_mode = "" | ) |
Render the image map.
Definition at line 699 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:
|
protected |
Definition at line 171 of file class.ilImageMapEditorGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\getTable().
Referenced by getImageMapTableHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::getImageMapTableHTML | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 180 of file class.ilImageMapEditorGUI.php.
References getImageMapTable().
Referenced by editMapAreas().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::getLinkTypeOfArea | ( | int | $a_nr | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 1035 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 189 of file class.ilImageMapEditorGUI.php.
Referenced by saveTitle().
Here is the caller graph for this function:| 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 762 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetFrameOfArea | ( | int | $a_nr | ) |
Get TargetFrame of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 1068 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getTargetOfArea | ( | int | $a_nr | ) |
Get Target of Area (only internal link)
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 1057 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::getToolbar | ( | ) |
Definition at line 142 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 1046 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::handleMapParameters | ( | ) |
Definition at line 320 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas().
Here is the caller graph for this function:| ilImageMapEditorGUI::initAreaEditingForm | ( | string | $a_edit_property | ) |
Definition at line 586 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::linkWholePicture | ( | ) |
Definition at line 392 of file class.ilImageMapEditorGUI.php.
| 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 673 of file class.ilImageMapEditorGUI.php.
References ilMediaItem\makeMapWorkCopy().
Referenced by editMapAreas().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImageMapEditorGUI::outputPostProcessing | ( | string | $a_output | ) |
Definition at line 745 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::saveArea | ( | ) |
Save new or updated map area.
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 883 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::saveHighlightClass | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 300 of file class.ilImageMapEditorGUI.php.
References ILIAS\Repository\ctrl(), ilMapArea\getAllHighlightClasses(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::saveHighlightMode | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 263 of file class.ilImageMapEditorGUI.php.
References ILIAS\Repository\ctrl(), ilMapArea\getAllHighlightModes(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::saveTitle | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 218 of file class.ilImageMapEditorGUI.php.
References ILIAS\Repository\ctrl(), getAreaTitleForm(), getMapArea(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImageMapEditorGUI::setHighlight | ( | ) |
Set highlight settings.
Definition at line 1270 of file class.ilImageMapEditorGUI.php.
References $lng.
| ilImageMapEditorGUI::setInternalLink | ( | ) |
Definition at line 970 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setLink | ( | bool | $a_handle = true | ) |
Definition at line 989 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::setShape | ( | bool | $a_handle = true | ) |
edit shape of existing map area
Definition at line 1184 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::showImageMap | ( | ) |
Definition at line 339 of file class.ilImageMapEditorGUI.php.
| ilImageMapEditorGUI::updateAreas | ( | ) |
Reimplemented in ilPCImageMapEditorGUI.
Definition at line 353 of file class.ilImageMapEditorGUI.php.
References $lng, and ilMapArea\_getMaxNr().
Here is the call graph for this function:
|
protected |
Definition at line 38 of file class.ilImageMapEditorGUI.php.
Referenced by editMapAreas(), executeCommand(), and getToolbar().
|
protected |
Definition at line 39 of file class.ilImageMapEditorGUI.php.
Referenced by getEditorTitle(), and getToolbar().
|
protected |
Definition at line 37 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 35 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 41 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 33 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 32 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 34 of file class.ilImageMapEditorGUI.php.
Referenced by ilPCImageMapEditorGUI\__construct().
|
protected |
Definition at line 40 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 36 of file class.ilImageMapEditorGUI.php.
|
protected |
Definition at line 31 of file class.ilImageMapEditorGUI.php.