ILIAS
Release_4_4_x_branch Revision 61816
|
Interactive image. More...
Public Member Functions | |
init () | |
Init page content component. | |
readMediaObject ($a_mob_id=0) | |
Read/get Media Object. | |
setNode ($a_node) | |
Set node (and media object node) | |
setDom (&$a_dom) | |
Set dom object. | |
setMediaObject ($a_mediaobject) | |
Set Media Object. | |
getMediaObject () | |
Get Media Object. | |
createMediaObject () | |
Create new media object. | |
create ($a_pg_obj, $a_hier_id) | |
Create pc media object. | |
getStandardMediaItem () | |
Get standard media item. | |
getStandardAliasItem () | |
Get standard alias item. | |
getBaseThumbnailTarget () | |
Get base thumbnail target. | |
createAlias (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create an media alias in page. | |
dumpXML () | |
Dump node xml. | |
setStyleClass ($a_class) | |
Set style class. | |
getStyleClass () | |
Get style class. | |
addContentPopup () | |
Add a tab. | |
getPopups () | |
Get popup captions. | |
savePopups ($a_popups) | |
Save popups. | |
deletePopup ($a_hier_id, $a_pc_id) | |
Delete popup. | |
addTriggerArea ($a_alias_item, $a_shape_type, $a_coords, $a_title, $a_link) | |
Get caption. | |
addTriggerMarker () | |
Add a new trigger marker. | |
getTriggerNodes ($a_hier_id, $a_pc_id="") | |
Get trigger nodes. | |
getTriggers () | |
Get triggers. | |
deleteTrigger ($a_alias_item, $a_nr) | |
Delete Trigger. | |
setTriggerOverlays ($a_ovs) | |
Set trigger overlays. | |
setTriggerOverlayPositions ($a_pos) | |
Set trigger overlay position. | |
setTriggerMarkerPositions ($a_pos) | |
Set trigger marker position. | |
setTriggerPopupPositions ($a_pos) | |
Set trigger popup position. | |
setTriggerPopupSize ($a_size) | |
Set trigger popup size. | |
setTriggerPopups ($a_pops) | |
Set trigger popups. | |
setTriggerTitles ($a_titles) | |
Set trigger titles. | |
setExtLinkTitle ($a_nr, $a_title) | |
Set ExtLink Title. | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_pg_obj) | |
Constructor. | |
setPage ($a_val) | |
Set page. | |
getPage () | |
Get page. | |
getType () | |
Get type of page content. | |
setNode (&$a_node) | |
Set xml node of page content. | |
& | getNode () |
Get xml node of page content. | |
getJavascriptFiles () | |
Get Javascript files. | |
getCssFiles () | |
Get css files. | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. | |
getHierId () | |
Get hierarchical id. | |
lookupHierId () | |
Get hierarchical id from dom. | |
readHierId () | |
Read PC Id. | |
setPcId ($a_pcid) | |
Set PC Id. | |
getPCId () | |
Get PC Id. | |
readPCId () | |
Read PC Id. | |
writePCId ($a_pc_id) | |
Write pc id. | |
isGreaterHierId ($a, $b) | |
Check whether Hier ID $a is greater than Hier ID $b. | |
setEnabled ($value) | |
Set Enabled value for page content component. | |
enable () | |
Enable page content. | |
disable () | |
Disable page content. | |
isEnabled () | |
Check whether page content is enabled. | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) | |
modifyPageContentPostXsl ($a_output, $a_mode) | |
Modify page content after xsl. |
Data Fields | |
$dom | |
$iim_node | |
const | AREA = "Area" |
const | MARKER = "Marker" |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. | |
static | getLangVars () |
Get lang vars needed for editing. | |
static | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) |
Handle copied content. | |
static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) |
After page has been updated (or created) | |
static | beforePageDelete ($a_page) |
Before page is being deleted. | |
static | afterPageHistoryEntry ($a_page, DOMDocument $a_old_domdoc, $a_old_xml, $a_old_nr) |
After page history entry has been created. | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
ilPCInteractiveImage::addContentPopup | ( | ) |
Add a tab.
Definition at line 259 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 434 of file class.ilPCInteractiveImage.php.
References $t, ilDOMUtil\addElementToList(), getTriggers(), IL_EXT_LINK, and ilUtil\stripSlashes().
ilPCInteractiveImage::addTriggerMarker | ( | ) |
Add a new trigger marker.
Definition at line 464 of file class.ilPCInteractiveImage.php.
References $lng, $t, ilDOMUtil\addElementToList(), and getTriggers().
ilPCInteractiveImage::create | ( | $a_pg_obj, | |
$a_hier_id | |||
) |
Create pc media object.
Definition at line 107 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 148 of file class.ilPCInteractiveImage.php.
References getMediaObject(), and IL_INSERT_AFTER.
ilPCInteractiveImage::createMediaObject | ( | ) |
Create new media object.
Definition at line 99 of file class.ilPCInteractiveImage.php.
References setMediaObject().
ilPCInteractiveImage::deletePopup | ( | $a_hier_id, | |
$a_pc_id | |||
) |
Delete popup.
Definition at line 322 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::deleteTrigger | ( | $a_alias_item, | |
$a_nr | |||
) |
Delete Trigger.
Definition at line 545 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::dumpXML | ( | ) |
Dump node xml.
Definition at line 197 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::getBaseThumbnailTarget | ( | ) |
Get base thumbnail target.
Definition at line 136 of file class.ilPCInteractiveImage.php.
References getMediaObject().
ilPCInteractiveImage::getMediaObject | ( | ) |
Get Media Object.
Definition at line 91 of file class.ilPCInteractiveImage.php.
Referenced by createAlias(), getBaseThumbnailTarget(), and getStandardMediaItem().
ilPCInteractiveImage::getPopups | ( | ) |
Get popup captions.
Definition at line 279 of file class.ilPCInteractiveImage.php.
References ilPageContent\$hier_id.
Referenced by addContentPopup().
ilPCInteractiveImage::getStandardAliasItem | ( | ) |
Get standard alias item.
Definition at line 125 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::getStandardMediaItem | ( | ) |
Get standard media item.
Definition at line 117 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 487 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 514 of file class.ilPCInteractiveImage.php.
References getTriggerNodes().
Referenced by addTriggerArea(), and addTriggerMarker().
ilPCInteractiveImage::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 26 of file class.ilPCInteractiveImage.php.
References ilPageContent\setType().
ilPCInteractiveImage::readMediaObject | ( | $a_mob_id = 0 | ) |
Read/get Media Object.
int | media object ID |
Definition at line 36 of file class.ilPCInteractiveImage.php.
References setMediaObject().
ilPCInteractiveImage::savePopups | ( | $a_popups | ) |
Save popups.
Definition at line 304 of file class.ilPCInteractiveImage.php.
References ilPageContent\$hier_id.
ilPCInteractiveImage::setDom | ( | & | $a_dom | ) |
Set dom object.
Definition at line 71 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::setExtLinkTitle | ( | $a_nr, | |
$a_title | |||
) |
Set ExtLink Title.
@return |
Definition at line 712 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 81 of file class.ilPCInteractiveImage.php.
Referenced by createMediaObject(), readMediaObject(), and setNode().
ilPCInteractiveImage::setNode | ( | $a_node | ) |
Set node (and media object node)
Definition at line 48 of file class.ilPCInteractiveImage.php.
References 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 208 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 608 of file class.ilPCInteractiveImage.php.
References getTriggerNodes(), and MARKER.
ilPCInteractiveImage::setTriggerOverlayPositions | ( | $a_pos | ) |
Set trigger overlay position.
array | array of strings (representing the overlays for the trigger) |
Definition at line 588 of file class.ilPCInteractiveImage.php.
References getTriggerNodes().
ilPCInteractiveImage::setTriggerOverlays | ( | $a_ovs | ) |
Set trigger overlays.
array | array of strings (representing the overlays for the trigger) |
Definition at line 569 of file class.ilPCInteractiveImage.php.
References getTriggerNodes().
ilPCInteractiveImage::setTriggerPopupPositions | ( | $a_pos | ) |
Set trigger popup position.
array | array of strings (representing the popup positions for the trigger) |
Definition at line 631 of file class.ilPCInteractiveImage.php.
References getTriggerNodes().
ilPCInteractiveImage::setTriggerPopups | ( | $a_pops | ) |
Set trigger popups.
array | array of strings (representing the popups for the trigger) |
Definition at line 671 of file class.ilPCInteractiveImage.php.
References getTriggerNodes().
ilPCInteractiveImage::setTriggerPopupSize | ( | $a_size | ) |
Set trigger popup size.
array | array of strings (representing the popup sizes for the trigger) |
Definition at line 651 of file class.ilPCInteractiveImage.php.
References $size, and getTriggerNodes().
ilPCInteractiveImage::setTriggerTitles | ( | $a_titles | ) |
Set trigger titles.
array | array of strings (representing the titles for the trigger) |
Definition at line 690 of file class.ilPCInteractiveImage.php.
References getTriggerNodes(), and setExtLinkTitle().
ilPCInteractiveImage::$dom |
Definition at line 17 of file class.ilPCInteractiveImage.php.
ilPCInteractiveImage::$iim_node |
Definition at line 18 of file class.ilPCInteractiveImage.php.
const ilPCInteractiveImage::AREA = "Area" |
Definition at line 20 of file class.ilPCInteractiveImage.php.
Referenced by ilPCIIMTriggerTableGUI\fillRow().
const ilPCInteractiveImage::MARKER = "Marker" |
Definition at line 21 of file class.ilPCInteractiveImage.php.
Referenced by setTriggerMarkerPositions().