| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
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_dom) | |
| Constructor. | |
| getType () | |
| Get type of page content. | |
| & | getNode () | 
| Get xml node of page content. | |
| 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. | |
| 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) | |
| Data Fields | |
| $dom | |
| $mob_node | |
|  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. | |
|  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.
| ilPCMediaObject::create | ( | & | $a_pg_obj, | 
| $a_hier_id | |||
| ) | 
Create pc media object.
Definition at line 93 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 104 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 85 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 226 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getClass | ( | ) | 
Get characteristic of section.
Definition at line 264 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getMediaObject | ( | ) | 
Get Media Object.
Definition at line 80 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 24 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 34 of file class.ilPCMediaObject.php.
References setMediaObject().
Referenced by ilPageEditorGUI\insertFromClipboard().
 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 237 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setDom | ( | & | $a_dom | ) | 
| ilPCMediaObject::setHierId | ( | $a_hier_id | ) | 
set hierarchical edit id
Reimplemented from ilPageContent.
Definition at line 60 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setMediaObject | ( | $a_mediaobject | ) | 
Set Media Object.
| object | $a_mediaobject | Media Object | 
Definition at line 70 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 43 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 211 of file class.ilPCMediaObject.php.
References getMediaObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObject::$dom | 
Definition at line 18 of file class.ilPCMediaObject.php.
| ilPCMediaObject::$mob_node | 
Definition at line 19 of file class.ilPCMediaObject.php.