|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPCInteractiveImage:
Collaboration diagram for ilPCInteractiveImage:Public Member Functions | |
| init () | |
| readMediaObject (int $a_mob_id=0) | |
| setDomNode (DOMNode $dom_node) | |
| setMediaObject (ilObjMediaObject $a_mediaobject) | |
| getMediaObject () | |
| createMediaObject () | |
| create () | |
| getStandardMediaItem () | |
| getStandardAliasItem () | |
| getBaseThumbnailTarget () | |
| createAlias (ilPageObject $a_pg_obj, string $a_hier_id, string $a_pc_id="") | |
| dumpXML () | |
| addContentPopup (?string $title=null) | |
| Add a tab. More... | |
| getPopups () | |
| Get popup captions. More... | |
| savePopups (array $a_popups) | |
| Save popups. More... | |
| deletePopup (string $a_hier_id, string $a_pc_id) | |
| Delete popup. More... | |
| saveContentPopupTitle (string $nr, string $title) | |
| deletePopupByNr (string $nr) | |
| addTriggerArea (ilMediaAliasItem $a_alias_item, string $a_shape_type, string $a_coords, string $a_title, string $hl_mode="", string $hl_class="") | |
| Add a new trigger. More... | |
| addTriggerMarker (string $title="", string $coords="") | |
| Add a new trigger marker. More... | |
| getTriggerNodes (string $a_hier_id, string $a_pc_id="") | |
| getTriggers () | |
| deleteTrigger (ilMediaAliasItem $a_alias_item, int $a_nr) | |
| Delete Trigger. More... | |
| setTriggerOverlays (array $a_ovs) | |
| Set trigger overlays. More... | |
| deleteOverlay (string $file) | |
| setTriggerOverlayPositions (array $a_pos) | |
| Set trigger overlay position. More... | |
| setTriggerMarkerPositions (array $a_pos) | |
| Set trigger marker position. More... | |
| setTriggerPopupPositions (array $a_pos) | |
| Set trigger popup position. More... | |
| setTriggerPopupSize (array $a_size) | |
| Set trigger popup size. More... | |
| setTriggerPopups (array $a_pops) | |
| Set trigger popups. More... | |
| setTriggerTitles (array $a_titles) | |
| Set trigger titles. More... | |
| setExtLinkTitle (int $a_nr, string $a_title) | |
| createFromMobId (\ilPageObject $page, int $mob_id, string $hier_id, string $pc_id) | |
| getIIMModel () | |
| setTriggerProperties (string $nr, string $title, string $shape_type, string $coords, string $hl_mode="", string $hl_class="") | |
| setTriggerOverlay (string $nr, string $overlay, string $coords) | |
| setTriggerPopup (string $nr, string $popup, string $position, string $size) | |
| modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
| getPopupDummy () | |
| getBackgroundImage () | |
Public Member Functions inherited from ilPageContent | |
| __construct (ilPageObject $a_pg_obj, ?PageManagerInterface $page_manager=null, ?ObjectAdapterInterface $object_adapter=null) | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| init () | |
| Init object. More... | |
| getType () | |
| getDomNode () | |
| getDomDoc () | |
| setDomNode (DOMNode $node) | |
| getChildNode () | |
| getJavascriptFiles (string $a_mode) | |
| getCssFiles (string $a_mode) | |
| getOnloadCode (string $a_mode) | |
| setHierId (string $a_hier_id) | |
| getHierId () | |
| lookupHierId () | |
| readHierId () | |
| setPcId (string $a_pcid) | |
| getPCId () | |
| setFileDownloadLink (string $a_download_link) | |
| getFileDownloadLink () | |
| setProfileBackUrl (string $url) | |
| getProfileBackUrl () | |
| setFullscreenLink (string $a_fullscreen_link) | |
| getFullscreenLink () | |
| setSourcecodeDownloadScript (string $script_name) | |
| getSourcecodeDownloadScript () | |
| readPCId () | |
| writePCId (string $a_pc_id) | |
| setEnabled (string $value) | |
| Set Enabled value for page content component. More... | |
| enable () | |
| disable () | |
| isEnabled () | |
| createPageContentNode (bool $a_set_this_node=true) | |
| Create page content node (always use this method first when adding a new element) More... | |
| getNewPageContentNode () | |
| modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
| Modify page content after xsl. More... | |
| getModel () | |
| Get model as needed for the front-end editor. More... | |
Static Public Member Functions | |
| static | handleCopiedContent (DOMDocument $a_domdoc, bool $a_self_ass=true, bool $a_clone_mobs=false, int $new_parent_id=0, int $obj_copy_id=0) |
Static Public Member Functions inherited from ilPageContent | |
| static | sortHierIds (array $a_array) |
| Sort an array of Hier IDS in ascending order. More... | |
| static | isGreaterHierId (string $a, string $b) |
| Check whether Hier ID $a is greater than Hier ID $b. More... | |
| static | getLangVars () |
| Get lang vars needed for editing. More... | |
| static | handleCopiedContent (DOMDocument $a_domdoc, bool $a_self_ass=true, bool $a_clone_mobs=false, int $new_parent_id=0, int $obj_copy_id=0) |
| Handle copied content. More... | |
| static | afterPageUpdate (ilPageObject $a_page, DOMDocument $a_domdoc, string $a_xml, bool $a_creation) |
| After page has been updated (or created) More... | |
| static | beforePageDelete (ilPageObject $a_page) |
| Before page is being deleted. More... | |
| static | afterRepositoryCopy (ilPageObject $page, array $mapping, int $source_ref_id) |
| After repository (container) copy action. More... | |
| static | afterPageHistoryEntry (ilPageObject $a_page, DOMDocument $a_old_domdoc, string $a_old_xml, int $a_old_nr) |
| After page history entry has been created. More... | |
| static | deleteHistoryLowerEqualThan (string $parent_type, int $page_id, string $lang, int $delete_lower_than_nr) |
| Overwrite in derived classes, if old history entries are being deleted. More... | |
Data Fields | |
| const | AREA = "Area" |
| const | MARKER = "Marker" |
| DOMNode | $iim_node |
Data Fields inherited from ilPageContent | |
| string | $hier_id = "" |
| DOMNode | $dom_node = null |
| string | $page_lang = "" |
Protected Member Functions | |
| setMapAreaProperties (ilMediaAliasItem $a_alias_item, string $a_shape_type, string $a_coords, string $a_title, string $a_id, string $hl_mode="", string $hl_class="") | |
| getTriggerNode (string $nr) | |
Protected Member Functions inherited from ilPageContent | |
| getPageManager () | |
| setType (string $a_type) | |
| Set Type. More... | |
| hasNode () | |
| createInitialChildNode (string $hier_id, string $pc_id, string $child, array $child_attributes=[]) | |
Protected Attributes | |
| DOMNode | $mal_node |
| DOMNode | $med_alias_node |
| ILIAS DI UIServices | $ui |
| ILIAS COPage Html TransformUtil | $htmlTransform |
| ILIAS COPage PC InteractiveImage IIMManager | $manager |
| ilMediaAliasItem | $std_alias_item |
| ilObjMediaObject | $mediaobject |
| ilLanguage | $lng |
Protected Attributes inherited from ilPageContent | |
| DOMDocument | $dom_doc |
| ILIAS COPage InternalDomainService | $domain |
| string | $pcid |
| string | $type = "" |
| ilPageObject | $pg_obj |
| string | $file_download_link = '' |
| string | $fullscreen_link = '' |
| string | $sourcecode_download_script = '' |
| ilLogger | $log |
| string | $profile_back_url = "" |
| ILIAS COPage Dom DomUtil | $dom_util |
| PageManagerInterface | $page_manager = null |
| ObjectAdapterInterface | $object = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Interactive image.
Definition at line 24 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::addContentPopup | ( | ?string | $title = null | ) |
Add a tab.
Definition at line 169 of file class.ilPCInteractiveImage.php.
References $lng, getPopups(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCInteractiveImage::addTriggerArea | ( | ilMediaAliasItem | $a_alias_item, |
| string | $a_shape_type, | ||
| string | $a_coords, | ||
| string | $a_title, | ||
| string | $hl_mode = "", |
||
| string | $hl_class = "" |
||
| ) |
Add a new trigger.
Definition at line 307 of file class.ilPCInteractiveImage.php.
References getTriggers(), setMapAreaProperties(), and ilUtil\stripSlashes().
Referenced by setTriggerProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::addTriggerMarker | ( | string | $title = "", |
| string | $coords = "" |
||
| ) |
Add a new trigger marker.
Definition at line 355 of file class.ilPCInteractiveImage.php.
References $lng, getTriggers(), and ilLanguage\txt().
Referenced by setTriggerProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::create | ( | ) |
Definition at line 96 of file class.ilPCInteractiveImage.php.
References ilPageContent\createPageContentNode().
Here is the call graph for this function:| ilPCInteractiveImage::createAlias | ( | ilPageObject | $a_pg_obj, |
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 116 of file class.ilPCInteractiveImage.php.
References ilPageContent\getDomNode(), ILIAS\Survey\Mode\getId(), getMediaObject(), IL_INSERT_AFTER, ilPageObject\insertContent(), and setDomNode().
Referenced by createFromMobId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::createFromMobId | ( | \ilPageObject | $page, |
| int | $mob_id, | ||
| string | $hier_id, | ||
| string | $pc_id | ||
| ) |
Definition at line 643 of file class.ilPCInteractiveImage.php.
References createAlias(), and setMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::createMediaObject | ( | ) |
Definition at line 91 of file class.ilPCInteractiveImage.php.
References setMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::deleteOverlay | ( | string | $file | ) |
Definition at line 476 of file class.ilPCInteractiveImage.php.
References getMediaObject(), ilPageContent\getPCId(), getTriggerNodes(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCInteractiveImage::deletePopup | ( | string | $a_hier_id, |
| string | $a_pc_id | ||
| ) |
Delete popup.
Definition at line 231 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c.
| ilPCInteractiveImage::deletePopupByNr | ( | string | $nr | ) |
Definition at line 256 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c, ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::deleteTrigger | ( | ilMediaAliasItem | $a_alias_item, |
| int | $a_nr | ||
| ) |
Delete Trigger.
Definition at line 444 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c, and ilMediaAliasItem\deleteMapAreaById().
Here is the call graph for this function:| ilPCInteractiveImage::dumpXML | ( | ) |
Definition at line 155 of file class.ilPCInteractiveImage.php.
References ilPageContent\getDomNode().
Here is the call graph for this function:| ilPCInteractiveImage::getBackgroundImage | ( | ) |
Definition at line 822 of file class.ilPCInteractiveImage.php.
References $params, ilUtil\getImagePath(), getMediaObject(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, xslt_create(), xslt_error(), and xslt_free().
Referenced by ILIAS\COPage\PC\InteractiveImage\InteractiveImageCommandActionHandler\getStandardResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::getBaseThumbnailTarget | ( | ) |
Definition at line 111 of file class.ilPCInteractiveImage.php.
References getMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::getIIMModel | ( | ) |
Definition at line 653 of file class.ilPCInteractiveImage.php.
References getMediaObject(), getPopups(), getStandardAliasItem(), and getTriggers().
Referenced by ILIAS\COPage\PC\InteractiveImage\InteractiveImageCommandActionHandler\getStandardResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::getMediaObject | ( | ) |
Definition at line 86 of file class.ilPCInteractiveImage.php.
References $mediaobject.
Referenced by createAlias(), deleteOverlay(), getBackgroundImage(), getBaseThumbnailTarget(), getIIMModel(), and getStandardMediaItem().
Here is the caller graph for this function:| ilPCInteractiveImage::getPopupDummy | ( | ) |
Definition at line 810 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::getPopups | ( | ) |
Get popup captions.
Definition at line 191 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c, and ilPageContent\$hier_id.
Referenced by addContentPopup(), and getIIMModel().
Here is the caller graph for this function:| ilPCInteractiveImage::getStandardAliasItem | ( | ) |
Definition at line 106 of file class.ilPCInteractiveImage.php.
References $std_alias_item.
Referenced by getIIMModel(), and setTriggerProperties().
Here is the caller graph for this function:| ilPCInteractiveImage::getStandardMediaItem | ( | ) |
Definition at line 101 of file class.ilPCInteractiveImage.php.
References getMediaObject().
Here is the call graph for this function:
|
protected |
Definition at line 664 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Referenced by setTriggerOverlay(), setTriggerPopup(), and setTriggerProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::getTriggerNodes | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Definition at line 400 of file class.ilPCInteractiveImage.php.
References $path.
Referenced by deleteOverlay(), deletePopupByNr(), getTriggerNode(), getTriggers(), setTriggerMarkerPositions(), setTriggerOverlayPositions(), setTriggerOverlays(), setTriggerPopupPositions(), setTriggerPopups(), setTriggerPopupSize(), and setTriggerTitles().
Here is the caller graph for this function:| ilPCInteractiveImage::getTriggers | ( | ) |
Definition at line 413 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Referenced by addTriggerArea(), addTriggerMarker(), and getIIMModel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 617 of file class.ilPCInteractiveImage.php.
References $DIC, ilPageContent\$dom_util, $path, ilInternalLink\_extractInstOfTarget(), and ilInternalLink\_extractObjIdOfTarget().
Here is the call graph for this function:| ilPCInteractiveImage::init | ( | ) |
Definition at line 39 of file class.ilPCInteractiveImage.php.
References $DIC, ILIAS\Repository\lng(), ilPageContent\setType(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ilPCInteractiveImage::modifyPageContentPostXsl | ( | string | $a_output, |
| string | $a_mode, | ||
| bool | $a_abstract_only = false |
||
| ) |
Definition at line 759 of file class.ilPCInteractiveImage.php.
References $htmlTransform, $params, ilPageObjectGUI\EDIT, and ILIAS\Repository\ui().
Here is the call graph for this function:| ilPCInteractiveImage::readMediaObject | ( | int | $a_mob_id = 0 | ) |
Definition at line 50 of file class.ilPCInteractiveImage.php.
References setMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::saveContentPopupTitle | ( | string | $nr, |
| string | $title | ||
| ) |
| ilPCInteractiveImage::savePopups | ( | array | $a_popups | ) |
Save popups.
Definition at line 216 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c, and ilPageContent\$hier_id.
| ilPCInteractiveImage::setDomNode | ( | DOMNode | $dom_node | ) |
Definition at line 58 of file class.ilPCInteractiveImage.php.
References $id, ilInternalLink\_extractObjIdOfTarget(), ilPageContent\getDomDoc(), ILIAS\Repository\object(), ilPageContent\readHierId(), ilPageContent\readPCId(), and setMediaObject().
Referenced by createAlias().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::setExtLinkTitle | ( | int | $a_nr, |
| string | $a_title | ||
| ) |
Definition at line 597 of file class.ilPCInteractiveImage.php.
References $path, $res, and ilPageContent\getPCId().
Referenced by setTriggerTitles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 278 of file class.ilPCInteractiveImage.php.
References ilMediaAliasItem\addMapArea(), ilMediaAliasItem\deleteMapAreaById(), IL_EXT_LINK, and ilUtil\stripSlashes().
Referenced by addTriggerArea(), and setTriggerProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImage::setMediaObject | ( | ilObjMediaObject | $a_mediaobject | ) |
Definition at line 81 of file class.ilPCInteractiveImage.php.
Referenced by createFromMobId(), createMediaObject(), readMediaObject(), and setDomNode().
Here is the caller graph for this function:| ilPCInteractiveImage::setTriggerMarkerPositions | ( | array | $a_pos | ) |
Set trigger marker position.
| array | $a_pos | array of strings (representing the marker positions for the trigger) |
Definition at line 510 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerOverlay | ( | string | $nr, |
| string | $overlay, | ||
| string | $coords | ||
| ) |
Definition at line 736 of file class.ilPCInteractiveImage.php.
References Vendor\Package\$c, getTriggerNode(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerOverlayPositions | ( | array | $a_pos | ) |
Set trigger overlay position.
| array | $a_pos | array of strings (representing the overlays for the trigger) |
Definition at line 493 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerOverlays | ( | array | $a_ovs | ) |
Set trigger overlays.
| array | $a_ovs | array of strings (representing the overlays for the trigger) |
Definition at line 462 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerPopup | ( | string | $nr, |
| string | $popup, | ||
| string | $position, | ||
| string | $size | ||
| ) |
Definition at line 749 of file class.ilPCInteractiveImage.php.
References getTriggerNode().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerPopupPositions | ( | array | $a_pos | ) |
Set trigger popup position.
| array | $a_pos | array of strings (representing the popup positions for the trigger) |
Definition at line 529 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerPopups | ( | array | $a_pops | ) |
Set trigger popups.
| array | $a_pops | array of strings (representing the popups for the trigger) |
Definition at line 563 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerPopupSize | ( | array | $a_size | ) |
Set trigger popup size.
| array | $a_size | array of strings (representing the popup sizes for the trigger) |
Definition at line 546 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), and getTriggerNodes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerProperties | ( | string | $nr, |
| string | $title, | ||
| string | $shape_type, | ||
| string | $coords, | ||
| string | $hl_mode = "", |
||
| string | $hl_class = "" |
||
| ) |
Definition at line 675 of file class.ilPCInteractiveImage.php.
References $path, $res, addTriggerArea(), addTriggerMarker(), getStandardAliasItem(), getTriggerNode(), setMapAreaProperties(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCInteractiveImage::setTriggerTitles | ( | array | $a_titles | ) |
Set trigger titles.
| array | $a_titles | array of strings (representing the titles for the trigger) |
Definition at line 579 of file class.ilPCInteractiveImage.php.
References ilPageContent\getPCId(), getTriggerNodes(), and setExtLinkTitle().
Here is the call graph for this function:
|
protected |
Definition at line 31 of file class.ilPCInteractiveImage.php.
Referenced by modifyPageContentPostXsl().
| DOMNode ilPCInteractiveImage::$iim_node |
Definition at line 37 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 36 of file class.ilPCInteractiveImage.php.
Referenced by addContentPopup(), and addTriggerMarker().
|
protected |
Definition at line 28 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 32 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 29 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 35 of file class.ilPCInteractiveImage.php.
Referenced by getMediaObject().
|
protected |
Definition at line 34 of file class.ilPCInteractiveImage.php.
Referenced by getStandardAliasItem().
|
protected |
Definition at line 30 of file class.ilPCInteractiveImage.php.
| const ilPCInteractiveImage::AREA = "Area" |
Definition at line 26 of file class.ilPCInteractiveImage.php.
| const ilPCInteractiveImage::MARKER = "Marker" |
Definition at line 27 of file class.ilPCInteractiveImage.php.