ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interactive image. More...
Public Member Functions | |
init () | |
Init page content component. More... | |
readMediaObject ($a_mob_id=0) | |
Read/get Media Object. More... | |
setNode ($a_node) | |
Set node (and media object node) More... | |
setDom (&$a_dom) | |
Set dom object. More... | |
setMediaObject ($a_mediaobject) | |
Set Media Object. More... | |
getMediaObject () | |
Get Media Object. More... | |
createMediaObject () | |
Create new media object. More... | |
create ($a_pg_obj, $a_hier_id) | |
Create pc media object. More... | |
getStandardMediaItem () | |
Get standard media item. More... | |
getStandardAliasItem () | |
Get standard alias item. More... | |
getBaseThumbnailTarget () | |
Get base thumbnail target. More... | |
createAlias (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create an media alias in page. More... | |
dumpXML () | |
Dump node xml. More... | |
setStyleClass ($a_class) | |
Set style class. More... | |
getStyleClass () | |
Get style class. More... | |
addContentPopup () | |
Add a tab. More... | |
getPopups () | |
Get popup captions. More... | |
savePopups ($a_popups) | |
Save popups. More... | |
deletePopup ($a_hier_id, $a_pc_id) | |
Delete popup. More... | |
addTriggerArea ( $a_alias_item, $a_shape_type, $a_coords, $a_title, $a_link) | |
Get caption. More... | |
addTriggerMarker () | |
Add a new trigger marker. More... | |
getTriggerNodes ($a_hier_id, $a_pc_id="") | |
Get trigger nodes. More... | |
getTriggers () | |
Get triggers. More... | |
deleteTrigger ($a_alias_item, $a_nr) | |
Delete Trigger. More... | |
setTriggerOverlays ($a_ovs) | |
Set trigger overlays. More... | |
setTriggerOverlayPositions ($a_pos) | |
Set trigger overlay position. More... | |
setTriggerMarkerPositions ($a_pos) | |
Set trigger marker position. More... | |
setTriggerPopupPositions ($a_pos) | |
Set trigger popup position. More... | |
setTriggerPopupSize ($a_size) | |
Set trigger popup size. More... | |
setTriggerPopups ($a_pops) | |
Set trigger popups. More... | |
setTriggerTitles ($a_titles) | |
Set trigger titles. More... | |
setExtLinkTitle ($a_nr, $a_title) | |
Set ExtLink Title. More... | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_pg_obj) | |
Constructor. More... | |
setPage ($a_val) | |
Set page. More... | |
getPage () | |
Get page. More... | |
init () | |
Init object. More... | |
getType () | |
Get type of page content. More... | |
setNode ($a_node) | |
Set xml node of page content. More... | |
& | getNode () |
Get xml node of page content. More... | |
getJavascriptFiles ($a_mode) | |
Get Javascript files. More... | |
getCssFiles ($a_mode) | |
Get css files. More... | |
getOnloadCode ($a_mode) | |
Get on load code. More... | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. More... | |
getHierId () | |
Get hierarchical id. More... | |
lookupHierId () | |
Get hierarchical id from dom. More... | |
readHierId () | |
Read PC Id. More... | |
setPcId ($a_pcid) | |
Set PC Id. More... | |
getPCId () | |
Get PC Id. More... | |
setFileDownloadLink ($a_download_link) | |
Set file download link. More... | |
getFileDownloadLink () | |
Get file download link. More... | |
setFullscreenLink ($a_fullscreen_link) | |
Set fullscreen link. More... | |
getFullscreenLink () | |
Get fullscreen link. More... | |
setSourcecodeDownloadScript ($script_name) | |
Set sourcecode download script. More... | |
getSourcecodeDownloadScript () | |
Get sourcecode download script. More... | |
readPCId () | |
Read PC Id. More... | |
writePCId ($a_pc_id) | |
Write pc id. More... | |
setEnabled ($value) | |
Set Enabled value for page content component. More... | |
enable () | |
Enable page content. More... | |
disable () | |
Disable page content. More... | |
isEnabled () | |
Check whether page content is enabled. More... | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) More... | |
modifyPageContentPostXsl ($a_output, $a_mode) | |
Modify page content after xsl. More... | |
Data Fields | |
$dom | |
$iim_node | |
const | AREA = "Area" |
const | MARKER = "Marker" |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom | |
$page_lang | |
Protected Attributes | |
$lng | |
Protected Attributes inherited from ilPageContent | |
$file_download_link | |
$fullscreen_link | |
$sourcecode_download_script | |
$log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) More... | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) More... | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. More... | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. More... | |
static | isGreaterHierId ($a, $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, $a_self_ass=true, $a_clone_mobs=false) |
Handle copied content. More... | |
static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) |
After page has been updated (or created) More... | |
static | beforePageDelete ($a_page) |
Before page is being deleted. More... | |
static | afterPageHistoryEntry ($a_page, DOMDocument $a_old_domdoc, $a_old_xml, $a_old_nr) |
After page history entry has been created. More... | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. More... | |
ilPCInteractiveImage::addContentPopup | ( | ) |
Add a tab.
Definition at line 257 of file class.ilPCInteractiveImage.php.
References $lng, and getPopups().
ilPCInteractiveImage::addTriggerArea | ( | $a_alias_item, | |
$a_shape_type, | |||
$a_coords, | |||
$a_title, | |||
$a_link | |||
) |
Get caption.
Save positions of tabs Save positions of tabs Add a new trigger
Definition at line 424 of file class.ilPCInteractiveImage.php.
References $attributes, $t, ilDOMUtil\addElementToList(), getTriggers(), IL_EXT_LINK, and ilUtil\stripSlashes().
ilPCInteractiveImage::addTriggerMarker | ( | ) |
Add a new trigger marker.
Definition at line 467 of file class.ilPCInteractiveImage.php.
References $attributes, $lng, $t, ilDOMUtil\addElementToList(), and getTriggers().
ilPCInteractiveImage::create | ( | $a_pg_obj, | |
$a_hier_id | |||
) |
Create pc media object.
Definition at line 117 of file class.ilPCInteractiveImage.php.
References ilPageContent\createPageContentNode().
ilPCInteractiveImage::createAlias | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Create an media alias in page.
object | $a_pg_obj | page object |
string | $a_hier_id | hierarchical ID |
Definition at line 158 of file class.ilPCInteractiveImage.php.
References getMediaObject(), and IL_INSERT_AFTER.
ilPCInteractiveImage::createMediaObject | ( | ) |
Create new media object.
Definition at line 109 of file class.ilPCInteractiveImage.php.
References setMediaObject().
ilPCInteractiveImage::deletePopup | ( | $a_hier_id, | |
$a_pc_id | |||
) |
ilPCInteractiveImage::deleteTrigger | ( | $a_alias_item, | |
$a_nr | |||
) |
ilPCInteractiveImage::dumpXML | ( | ) |
ilPCInteractiveImage::getBaseThumbnailTarget | ( | ) |
Get base thumbnail target.
Definition at line 146 of file class.ilPCInteractiveImage.php.
References getMediaObject().
ilPCInteractiveImage::getMediaObject | ( | ) |
Get Media Object.
Definition at line 101 of file class.ilPCInteractiveImage.php.
Referenced by createAlias(), getBaseThumbnailTarget(), and getStandardMediaItem().
ilPCInteractiveImage::getPopups | ( | ) |
Get popup captions.
Definition at line 276 of file class.ilPCInteractiveImage.php.
References ilPageContent\$hier_id, $i, and $title.
Referenced by addContentPopup().
ilPCInteractiveImage::getStandardAliasItem | ( | ) |
Get standard alias item.
Definition at line 135 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::getStandardMediaItem | ( | ) |
Get standard media item.
Definition at line 127 of file class.ilPCInteractiveImage.php.
References getMediaObject().
ilPCInteractiveImage::getStyleClass | ( | ) |
Get style class.
Definition at line 237 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::getTriggerNodes | ( | $a_hier_id, | |
$a_pc_id = "" |
|||
) |
Get trigger nodes.
Definition at line 495 of file class.ilPCInteractiveImage.php.
References $path, $res, xpath_eval(), and xpath_new_context().
Referenced by getTriggers(), setTriggerMarkerPositions(), setTriggerOverlayPositions(), setTriggerOverlays(), setTriggerPopupPositions(), setTriggerPopups(), setTriggerPopupSize(), and setTriggerTitles().
ilPCInteractiveImage::getTriggers | ( | ) |
Get triggers.
Definition at line 519 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
Referenced by addTriggerArea(), and addTriggerMarker().
ilPCInteractiveImage::init | ( | ) |
Init page content component.
Definition at line 32 of file class.ilPCInteractiveImage.php.
References $DIC, and ilPageContent\setType().
ilPCInteractiveImage::readMediaObject | ( | $a_mob_id = 0 | ) |
Read/get Media Object.
int | media object ID |
Definition at line 45 of file class.ilPCInteractiveImage.php.
References setMediaObject().
ilPCInteractiveImage::savePopups | ( | $a_popups | ) |
Save popups.
Definition at line 299 of file class.ilPCInteractiveImage.php.
References ilPageContent\$hier_id, and $i.
ilPCInteractiveImage::setDom | ( | & | $a_dom | ) |
Set dom object.
Definition at line 81 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::setExtLinkTitle | ( | $a_nr, | |
$a_title | |||
) |
Set ExtLink Title.
Definition at line 704 of file class.ilPCInteractiveImage.php.
References $path, $res, xpath_eval(), and xpath_new_context().
Referenced by setTriggerTitles().
ilPCInteractiveImage::setMediaObject | ( | $a_mediaobject | ) |
Set Media Object.
object | $a_mediaobject | Media Object |
Definition at line 91 of file class.ilPCInteractiveImage.php.
Referenced by createMediaObject(), readMediaObject(), and setNode().
ilPCInteractiveImage::setNode | ( | $a_node | ) |
Set node (and media object node)
Definition at line 56 of file class.ilPCInteractiveImage.php.
References $id, ilInternalLink\_extractObjIdOfTarget(), ilObject\_lookupType(), ilPageContent\readHierId(), ilPageContent\readPCId(), and setMediaObject().
ilPCInteractiveImage::setStyleClass | ( | $a_class | ) |
Set style class.
string | $a_class | style class |
Definition at line 214 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::setTriggerMarkerPositions | ( | $a_pos | ) |
Set trigger marker position.
array | array of strings (representing the marker positions for the trigger) |
Definition at line 607 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
ilPCInteractiveImage::setTriggerOverlayPositions | ( | $a_pos | ) |
Set trigger overlay position.
array | array of strings (representing the overlays for the trigger) |
Definition at line 589 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
ilPCInteractiveImage::setTriggerOverlays | ( | $a_ovs | ) |
Set trigger overlays.
array | array of strings (representing the overlays for the trigger) |
Definition at line 570 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
ilPCInteractiveImage::setTriggerPopupPositions | ( | $a_pos | ) |
Set trigger popup position.
array | array of strings (representing the popup positions for the trigger) |
Definition at line 627 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
ilPCInteractiveImage::setTriggerPopups | ( | $a_pops | ) |
Set trigger popups.
array | array of strings (representing the popups for the trigger) |
Definition at line 663 of file class.ilPCInteractiveImage.php.
References $i, and getTriggerNodes().
ilPCInteractiveImage::setTriggerPopupSize | ( | $a_size | ) |
Set trigger popup size.
array | array of strings (representing the popup sizes for the trigger) |
Definition at line 645 of file class.ilPCInteractiveImage.php.
References $i, $size, and getTriggerNodes().
ilPCInteractiveImage::setTriggerTitles | ( | $a_titles | ) |
Set trigger titles.
array | array of strings (representing the titles for the trigger) |
Definition at line 680 of file class.ilPCInteractiveImage.php.
References $i, getTriggerNodes(), and setExtLinkTitle().
ilPCInteractiveImage::$dom |
Definition at line 23 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::$iim_node |
Definition at line 24 of file class.ilPCInteractiveImage.php.
|
protected |
Definition at line 20 of file class.ilPCInteractiveImage.php.
Referenced by addContentPopup(), and addTriggerMarker().
const ilPCInteractiveImage::AREA = "Area" |
Definition at line 26 of file class.ilPCInteractiveImage.php.
Referenced by ilPCIIMTriggerTableGUI\fillRow().
const ilPCInteractiveImage::MARKER = "Marker" |
Definition at line 27 of file class.ilPCInteractiveImage.php.