| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilPCMediaObject. More...
 Inheritance diagram for ilPCMediaObject:
 Inheritance diagram for ilPCMediaObject: Collaboration diagram for ilPCMediaObject:
 Collaboration diagram for ilPCMediaObject:| Public Member Functions | |
| init () | |
| Init page content component. | |
| readMediaObject ($a_mob_id=0) | |
| Read/get Media Object. | |
| setNode (&$a_node) | |
| Set xml node of page content. | |
| setDom (&$a_dom) | |
| set dom object | |
| setHierId ($a_hier_id) | |
| set hierarchical edit id | |
| setMediaObject ($a_mediaobject) | |
| Set Media Object. | |
| getMediaObject () | |
| Get Media Object. | |
| createMediaObject () | |
| create (&$a_pg_obj, $a_hier_id) | |
| Create pc media object. | |
| createAlias (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
| Create an media alias in page. | |
| updateObjectReference () | |
| Updates the media object referenced by the media alias. | |
| dumpXML () | |
| Dump node xml. | |
| setClass ($a_class) | |
| Set Style Class of table. | |
| getClass () | |
| Get characteristic of section. | |
|  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. | |
| & | getNode () | 
| Get xml node of page content. | |
| getJavascriptFiles () | |
| Get Javascript files. | |
| getCssFiles () | |
| Get css files. | |
| 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. | |
| Static Public Member Functions | |
| static | getLangVars () | 
| Get lang vars needed for editing. | |
| 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. | |
| static | saveMobUsage ($a_page, $a_domdoc, $a_old_nr=0) | 
| Save all usages of media objects (media aliases, media objects, internal links) | |
|  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 | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) | 
| Handle copied content. | |
| Data Fields | |
| $mob_node | |
|  Data Fields inherited from ilPageContent | |
| $hier_id | |
| $node | |
| $dom | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from ilPageContent | |
| setType ($a_type) | |
| Set Type. | |
Class ilPCMediaObject.
Media content object (see ILIAS DTD)
Definition at line 16 of file class.ilPCMediaObject.php.
| 
 | static | 
After page history entry has been created.
| object | $a_page | page object | 
| DOMDocument | $a_old_domdoc | old dom document | 
| string | $a_old_xml | old xml | 
| integer | $a_old_nr | history number | 
Reimplemented from ilPageContent.
Definition at line 349 of file class.ilPCMediaObject.php.
References saveMobUsage().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
After page has been updated (or created)
| object | $a_page | page object | 
| DOMDocument | $a_domdoc | dom document | 
| string | $a_xml | xml | 
| bool | $a_creation | true on creation, otherwise false | 
Reimplemented from ilPageContent.
Definition at line 293 of file class.ilPCMediaObject.php.
References ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), and saveMobUsage().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Before page is being deleted.
| object | $a_page | page object | 
Reimplemented from ilPageContent.
Definition at line 318 of file class.ilPCMediaObject.php.
References ilObjMediaObject\_deleteAllUsages(), ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), and ilObject\_lookupType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::create | ( | & | $a_pg_obj, | 
| $a_hier_id | |||
| ) | 
Create pc media object.
Definition at line 92 of file class.ilPCMediaObject.php.
References ilPageContent\createPageContentNode().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::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 w | 
Definition at line 103 of file class.ilPCMediaObject.php.
References getMediaObject(), and IL_INSERT_AFTER.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::createMediaObject | ( | ) | 
Definition at line 84 of file class.ilPCMediaObject.php.
References setMediaObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::dumpXML | ( | ) | 
Dump node xml.
Definition at line 225 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getClass | ( | ) | 
Get characteristic of section.
Definition at line 263 of file class.ilPCMediaObject.php.
| 
 | static | 
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 280 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getMediaObject | ( | ) | 
Get Media Object.
Definition at line 79 of file class.ilPCMediaObject.php.
Referenced by createAlias(), and updateObjectReference().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObject::init | ( | ) | 
Init page content component.
Reimplemented from ilPageContent.
Definition at line 23 of file class.ilPCMediaObject.php.
References ilPageContent\setType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::readMediaObject | ( | $a_mob_id = 0 | ) | 
Read/get Media Object.
| int | media object ID | 
Definition at line 33 of file class.ilPCMediaObject.php.
References setMediaObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Save all usages of media objects (media aliases, media objects, internal links)
| string | $a_xml | xml data of page | 
Definition at line 359 of file class.ilPCMediaObject.php.
References ilPageContent\$node, ilObjMediaObject\_deleteAllUsages(), and ilObjMediaObject\_saveUsage().
Referenced by afterPageHistoryEntry(), and afterPageUpdate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObject::setClass | ( | $a_class | ) | 
Set Style Class of table.
| string | $a_class | class | 
Definition at line 236 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setDom | ( | & | $a_dom | ) | 
| ilPCMediaObject::setHierId | ( | $a_hier_id | ) | 
set hierarchical edit id
Reimplemented from ilPageContent.
Definition at line 59 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setMediaObject | ( | $a_mediaobject | ) | 
Set Media Object.
| object | $a_mediaobject | Media Object | 
Definition at line 69 of file class.ilPCMediaObject.php.
Referenced by createMediaObject(), and readMediaObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObject::setNode | ( | & | $a_node | ) | 
Set xml node of page content.
| object | $a_node | node object | 
Reimplemented from ilPageContent.
Definition at line 42 of file class.ilPCMediaObject.php.
| ilPCMediaObject::updateObjectReference | ( | ) | 
Updates the media object referenced by the media alias.
This makes only sense, after the media object has changed. (-> change object reference function)
Definition at line 210 of file class.ilPCMediaObject.php.
References getMediaObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::$mob_node | 
Definition at line 18 of file class.ilPCMediaObject.php.