ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilPCMediaObject. More...
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) | |
createAlias (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create an media alias in page. | |
dumpXML () | |
Dump node xml. | |
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. | |
readHierId () | |
Read PC Id. | |
setPcId ($a_pcid) | |
Set PC Id. | |
getPCId () | |
Get PC Id. | |
readPCId () | |
Read PC Id. | |
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. | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPCMediaObject.
Media content object (see ILIAS DTD)
Definition at line 36 of file class.ilPCMediaObject.php.
ilPCMediaObject::create | ( | & | $a_pg_obj, |
$a_hier_id | |||
) |
Definition at line 110 of file class.ilPCMediaObject.php.
References ilPageContent\createPageContentNode().
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 |
Definition at line 126 of file class.ilPCMediaObject.php.
References getMediaObject(), and IL_INSERT_AFTER.
ilPCMediaObject::createMediaObject | ( | ) |
Definition at line 105 of file class.ilPCMediaObject.php.
References setMediaObject().
ilPCMediaObject::dumpXML | ( | ) |
Dump node xml.
Definition at line 215 of file class.ilPCMediaObject.php.
ilPCMediaObject::getMediaObject | ( | ) |
Get Media Object.
Definition at line 100 of file class.ilPCMediaObject.php.
Referenced by createAlias().
ilPCMediaObject::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 44 of file class.ilPCMediaObject.php.
References ilPageContent\setType().
ilPCMediaObject::readMediaObject | ( | $a_mob_id = 0 | ) |
Read/get Media Object.
int | media object ID |
Definition at line 54 of file class.ilPCMediaObject.php.
References setMediaObject().
Referenced by ilPageEditorGUI\insertFromClipboard().
ilPCMediaObject::setDom | ( | & | $a_dom | ) |
ilPCMediaObject::setHierId | ( | $a_hier_id | ) |
set hierarchical edit id
Reimplemented from ilPageContent.
Definition at line 80 of file class.ilPCMediaObject.php.
ilPCMediaObject::setMediaObject | ( | $a_mediaobject | ) |
Set Media Object.
object | $a_mediaobject | Media Object |
Definition at line 90 of file class.ilPCMediaObject.php.
Referenced by createMediaObject(), and readMediaObject().
ilPCMediaObject::setNode | ( | & | $a_node | ) |
Set xml node of page content.
object | $a_node | node object |
Reimplemented from ilPageContent.
Definition at line 63 of file class.ilPCMediaObject.php.
ilPCMediaObject::$dom |
Definition at line 38 of file class.ilPCMediaObject.php.
ilPCMediaObject::$mob_node |
Definition at line 39 of file class.ilPCMediaObject.php.