|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| Init object. More... | |
| 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) | |
| Modify page content after xsl. More... | |
| 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) |
| Handle copied content. More... | |
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 | |
| ILIAS MediaObjects Thumbs ThumbsManager | $thumbs |
| ILIAS COPage Xsl XslManager | $xsl |
| 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 173 of file class.ilPCInteractiveImage.php.
References $lng.
| 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 311 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::addTriggerMarker | ( | string | $title = "", |
| string | $coords = "" |
||
| ) |
Add a new trigger marker.
Definition at line 359 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::create | ( | ) |
Definition at line 100 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 120 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::createFromMobId | ( | \ilPageObject | $page, |
| int | $mob_id, | ||
| string | $hier_id, | ||
| string | $pc_id | ||
| ) |
Definition at line 649 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::createMediaObject | ( | ) |
Definition at line 95 of file class.ilPCInteractiveImage.php.
References setMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::deleteOverlay | ( | string | $file | ) |
Definition at line 480 of file class.ilPCInteractiveImage.php.
References 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 235 of file class.ilPCInteractiveImage.php.
References $c.
| ilPCInteractiveImage::deletePopupByNr | ( | string | $nr | ) |
Definition at line 260 of file class.ilPCInteractiveImage.php.
References $c.
| ilPCInteractiveImage::deleteTrigger | ( | ilMediaAliasItem | $a_alias_item, |
| int | $a_nr | ||
| ) |
Delete Trigger.
Definition at line 448 of file class.ilPCInteractiveImage.php.
References $c.
| ilPCInteractiveImage::dumpXML | ( | ) |
Definition at line 159 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::getBackgroundImage | ( | ) |
Definition at line 829 of file class.ilPCInteractiveImage.php.
References $params, ilUtil\getImagePath(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, and IL_MODE_OUTPUT.
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 115 of file class.ilPCInteractiveImage.php.
References ILIAS\Survey\Mode\getId(), and getMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::getIIMModel | ( | ) |
Definition at line 659 of file class.ilPCInteractiveImage.php.
Referenced by ILIAS\COPage\PC\InteractiveImage\InteractiveImageCommandActionHandler\getStandardResponse().
Here is the caller graph for this function:| ilPCInteractiveImage::getMediaObject | ( | ) |
Definition at line 90 of file class.ilPCInteractiveImage.php.
References $mediaobject.
Referenced by getBaseThumbnailTarget(), and getStandardMediaItem().
Here is the caller graph for this function:| ilPCInteractiveImage::getPopupDummy | ( | ) |
Definition at line 817 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::getPopups | ( | ) |
Get popup captions.
Definition at line 195 of file class.ilPCInteractiveImage.php.
References $c.
| ilPCInteractiveImage::getStandardAliasItem | ( | ) |
Definition at line 110 of file class.ilPCInteractiveImage.php.
References $std_alias_item.
| ilPCInteractiveImage::getStandardMediaItem | ( | ) |
Definition at line 105 of file class.ilPCInteractiveImage.php.
References getMediaObject().
Here is the call graph for this function:
|
protected |
Definition at line 670 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::getTriggerNodes | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Definition at line 404 of file class.ilPCInteractiveImage.php.
References $path.
| ilPCInteractiveImage::getTriggers | ( | ) |
Definition at line 417 of file class.ilPCInteractiveImage.php.
|
static |
Handle copied content.
This function must, e.g. create copies of objects referenced within the content (e.g. question objects)
| DOMDocument | $a_domdoc | |
| bool | $a_self_ass | |
| bool | $a_clone_mobs | |
| int | $new_parent_id | |
| int | $obj_copy_id |
Reimplemented from ilPageContent.
Definition at line 623 of file class.ilPCInteractiveImage.php.
References ilInternalLink\_extractInstOfTarget(), and ilInternalLink\_extractObjIdOfTarget().
Here is the call graph for this function:| ilPCInteractiveImage::init | ( | ) |
Init object.
This function must be overwritten and at least set the content type.
Reimplemented from ilPageContent.
Definition at line 41 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 |
||
| ) |
Modify page content after xsl.
Reimplemented from ilPageContent.
Definition at line 766 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::readMediaObject | ( | int | $a_mob_id = 0 | ) |
Definition at line 54 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 220 of file class.ilPCInteractiveImage.php.
References $c.
| ilPCInteractiveImage::setDomNode | ( | DOMNode | $dom_node | ) |
Reimplemented from ilPageContent.
Definition at line 62 of file class.ilPCInteractiveImage.php.
References ilPageContent\$dom_node, $id, ilInternalLink\_extractObjIdOfTarget(), ilPageContent\getDomDoc(), ILIAS\Repository\object(), ilPageContent\readHierId(), ilPageContent\readPCId(), and setMediaObject().
Here is the call graph for this function:| ilPCInteractiveImage::setExtLinkTitle | ( | int | $a_nr, |
| string | $a_title | ||
| ) |
Definition at line 603 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 282 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setMediaObject | ( | ilObjMediaObject | $a_mediaobject | ) |
Definition at line 85 of file class.ilPCInteractiveImage.php.
Referenced by 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 516 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setTriggerOverlay | ( | string | $nr, |
| string | $overlay, | ||
| string | $coords | ||
| ) |
Definition at line 743 of file class.ilPCInteractiveImage.php.
References $c, 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 498 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setTriggerOverlays | ( | array | $a_ovs | ) |
Set trigger overlays.
| array | $a_ovs | array of strings (representing the overlays for the trigger) |
Definition at line 466 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setTriggerPopup | ( | string | $nr, |
| string | $popup, | ||
| string | $position, | ||
| string | $size | ||
| ) |
Definition at line 756 of file class.ilPCInteractiveImage.php.
| 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 535 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setTriggerPopups | ( | array | $a_pops | ) |
Set trigger popups.
| array | $a_pops | array of strings (representing the popups for the trigger) |
Definition at line 569 of file class.ilPCInteractiveImage.php.
| 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 552 of file class.ilPCInteractiveImage.php.
| ilPCInteractiveImage::setTriggerProperties | ( | string | $nr, |
| string | $title, | ||
| string | $shape_type, | ||
| string | $coords, | ||
| string | $hl_mode = "", |
||
| string | $hl_class = "" |
||
| ) |
Definition at line 682 of file class.ilPCInteractiveImage.php.
References $path, $res, 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 585 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 33 of file class.ilPCInteractiveImage.php.
| DOMNode ilPCInteractiveImage::$iim_node |
Definition at line 39 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 38 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 30 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 34 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 31 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 37 of file class.ilPCInteractiveImage.php.
Referenced by getMediaObject().
|
protected |
Definition at line 36 of file class.ilPCInteractiveImage.php.
Referenced by getStandardAliasItem().
|
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.
| 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.