|
ILIAS
release_8 Revision v8.24
|
Class ilPCMediaObject Media content object (see ILIAS DTD) More...
Inheritance diagram for ilPCMediaObject:
Collaboration diagram for ilPCMediaObject:Public Member Functions | |
| init () | |
| Init object. More... | |
| readMediaObject (int $a_mob_id=0) | |
| setNode (php4DOMElement $a_node) | |
| Set xml node of page content. More... | |
| setDom (php4DOMDocument $a_dom) | |
| setHierId (string $a_hier_id) | |
| setMediaObject (ilObjMediaObject $a_mediaobject) | |
| getMediaObject () | |
| createMediaObject () | |
| create () | |
| createAlias (ilPageObject $a_pg_obj, string $a_hier_id, string $a_pc_id="") | |
| updateObjectReference () | |
| Updates the media object referenced by the media alias. More... | |
| dumpXML () | |
| setClass (string $a_class) | |
| getClass () | |
| Get characteristic of section. More... | |
| setCaptionClass (string $a_class) | |
| Set caption style class of media object. More... | |
| getCaptionClass () | |
| modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
| Modify page content after xsl. More... | |
| getOnloadCode (string $a_mode) | |
| getJavascriptFiles (string $a_mode) | |
| getCssFiles (string $a_mode) | |
| getStandardMediaAliasItem () | |
| getFullscreenMediaAliasItem () | |
Public Member Functions inherited from ilPageContent | |
| __construct (ilPageObject $a_pg_obj) | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| init () | |
| Init object. More... | |
| getType () | |
| setNode (php4DOMElement $a_node) | |
| Set xml node of page content. More... | |
| getNode () | |
| getJavascriptFiles (string $a_mode) | |
| getCssFiles (string $a_mode) | |
| getOnloadCode (string $a_mode) | |
| setHierId (string $a_hier_id) | |
| getHierId () | |
| lookupHierId () | |
| readHierId () | |
| setPcId (string $a_pcid) | |
| getPCId () | |
| setFileDownloadLink (string $a_download_link) | |
| getFileDownloadLink () | |
| setProfileBackUrl (string $url) | |
| getProfileBackUrl () | |
| setFullscreenLink (string $a_fullscreen_link) | |
| getFullscreenLink () | |
| setSourcecodeDownloadScript (string $script_name) | |
| getSourcecodeDownloadScript () | |
| readPCId () | |
| writePCId (string $a_pc_id) | |
| setEnabled (string $value) | |
| Set Enabled value for page content component. More... | |
| enable () | |
| disable () | |
| isEnabled () | |
| createPageContentNode (bool $a_set_this_node=true) | |
| Create page content node (always use this method first when adding a new element) More... | |
| modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
| Modify page content after xsl. More... | |
| getModel () | |
| Get model as needed for the front-end editor. More... | |
Static Public Member Functions | |
| static | getLangVars () |
| Get lang vars needed for editing. More... | |
| static | afterPageUpdate (ilPageObject $a_page, DOMDocument $a_domdoc, string $a_xml, bool $a_creation) |
| After page has been updated (or created) More... | |
| static | beforePageDelete (ilPageObject $a_page) |
| Before page is being deleted. More... | |
| static | afterPageHistoryEntry (ilPageObject $a_page, DOMDocument $a_old_domdoc, string $a_old_xml, int $a_old_nr) |
| After page history entry has been created. More... | |
| static | saveMobUsage (ilPageObject $a_page, DOMDocument $a_domdoc, int $a_old_nr=0) |
| static | deleteHistoryLowerEqualThan (string $parent_type, int $page_id, string $lang, int $delete_lower_than_nr) |
| Overwrite in derived classes, if old history entries are being deleted. More... | |
Static Public Member Functions inherited from ilPageContent | |
| static | incEdId (string $ed_id) |
| Increases an hierarchical editing id at lowest level (last number) More... | |
| static | decEdId (string $ed_id) |
| Decreases an hierarchical editing id at lowest level (last number) More... | |
| static | sortHierIds (array $a_array) |
| Sort an array of Hier IDS in ascending order. More... | |
| static | isGreaterHierId (string $a, string $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, bool $a_self_ass=true, bool $a_clone_mobs=false, int $new_parent_id=0, int $obj_copy_id=0) |
| Handle copied content. More... | |
| static | afterPageUpdate (ilPageObject $a_page, DOMDocument $a_domdoc, string $a_xml, bool $a_creation) |
| After page has been updated (or created) More... | |
| static | beforePageDelete (ilPageObject $a_page) |
| Before page is being deleted. More... | |
| static | afterRepositoryCopy (ilPageObject $page, array $mapping, int $source_ref_id) |
| After repository (container) copy action. More... | |
| static | afterPageHistoryEntry (ilPageObject $a_page, DOMDocument $a_old_domdoc, string $a_old_xml, int $a_old_nr) |
| After page history entry has been created. More... | |
| static | deleteHistoryLowerEqualThan (string $parent_type, int $page_id, string $lang, int $delete_lower_than_nr) |
| Overwrite in derived classes, if old history entries are being deleted. More... | |
Protected Attributes | |
| ilCtrlInterface | $ctrl |
| UsageDBRepository | $mob_usage_repo |
| php4DOMElement | $mal_node |
| ilObjUser | $user |
| php4DOMElement | $mob_node |
| ILIAS DI UIServices | $ui |
| ilObjMediaObject | $mediaobject = null |
| ilLanguage | $lng |
| ilGlobalPageTemplate | $global_tpl |
Protected Attributes inherited from ilPageContent | |
| string | $pcid |
| string | $type = "" |
| ilPageObject | $pg_obj |
| string | $file_download_link |
| string | $fullscreen_link |
| string | $sourcecode_download_script |
| ilLogger | $log |
| string | $profile_back_url = "" |
Static Protected Attributes | |
| static string | $modal_show_signal = "" |
| static string | $modal_suffix = "" |
Additional Inherited Members | |
Data Fields inherited from ilPageContent | |
| string | $hier_id = "" |
| php4DOMElement | $node = null |
| php4DOMDocument | $dom = null |
| string | $page_lang = "" |
Protected Member Functions inherited from ilPageContent | |
| setType (string $a_type) | |
| Set Type. More... | |
Class ilPCMediaObject Media content object (see ILIAS DTD)
Definition at line 26 of file class.ilPCMediaObject.php.
|
static |
After page history entry has been created.
| ilPageObject | $a_page | page object |
| DOMDocument | $a_old_domdoc | old dom document |
| string | $a_old_xml | old xml |
| int | $a_old_nr | history number |
Reimplemented from ilPageContent.
Definition at line 353 of file class.ilPCMediaObject.php.
|
static |
After page has been updated (or created)
| ilPageObject | $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 292 of file class.ilPCMediaObject.php.
References ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), ilPageObject\getId(), ilPageObject\getLanguage(), and ilPageObject\getParentType().
Here is the call graph for this function:
|
static |
Before page is being deleted.
| ilPageObject | $a_page | page object |
Reimplemented from ilPageContent.
Definition at line 318 of file class.ilPCMediaObject.php.
| ilPCMediaObject::create | ( | ) |
Definition at line 95 of file class.ilPCMediaObject.php.
References ilPageContent\createPageContentNode().
Here is the call graph for this function:| ilPCMediaObject::createAlias | ( | ilPageObject | $a_pg_obj, |
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 100 of file class.ilPCMediaObject.php.
| ilPCMediaObject::createMediaObject | ( | ) |
Definition at line 90 of file class.ilPCMediaObject.php.
References setMediaObject().
Here is the call graph for this function:
|
static |
Overwrite in derived classes, if old history entries are being deleted.
Reimplemented from ilPageContent.
Definition at line 595 of file class.ilPCMediaObject.php.
| ilPCMediaObject::dumpXML | ( | ) |
Definition at line 212 of file class.ilPCMediaObject.php.
References $xml.
| ilPCMediaObject::getCaptionClass | ( | ) |
Definition at line 268 of file class.ilPCMediaObject.php.
References php4DOMNode\first_child(), and php4DOMElement\get_attribute().
Here is the call graph for this function:| ilPCMediaObject::getClass | ( | ) |
Get characteristic of section.
Definition at line 237 of file class.ilPCMediaObject.php.
References php4DOMNode\first_child(), and php4DOMElement\get_attribute().
Here is the call graph for this function:| ilPCMediaObject::getCssFiles | ( | string | $a_mode | ) |
Reimplemented from ilPageContent.
Definition at line 530 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getFullscreenMediaAliasItem | ( | ) |
Definition at line 549 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getJavascriptFiles | ( | string | $a_mode | ) |
Reimplemented from ilPageContent.
Definition at line 522 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 | ( | ) |
Definition at line 85 of file class.ilPCMediaObject.php.
References $mediaobject.
Referenced by ilPCMediaObjectQuickEdit\__construct(), and ilPCImageMapTableGUI\__construct().
Here is the caller graph for this function:| ilPCMediaObject::getOnloadCode | ( | string | $a_mode | ) |
Reimplemented from ilPageContent.
Definition at line 511 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getStandardMediaAliasItem | ( | ) |
Definition at line 538 of file class.ilPCMediaObject.php.
| ilPCMediaObject::init | ( | ) |
Init object.
This function must be overwritten and at least set the content type.
Reimplemented from ilPageContent.
Definition at line 40 of file class.ilPCMediaObject.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageContent\setType(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPCMediaObject::modifyPageContentPostXsl | ( | string | $a_output, |
| string | $a_mode, | ||
| bool | $a_abstract_only = false |
||
| ) |
Modify page content after xsl.
Reimplemented from ilPageContent.
Definition at line 432 of file class.ilPCMediaObject.php.
References $ilUser, ilObjMediaObject\_getDirectory(), and ilObjMediaObject\_getMobsOfObject().
Here is the call graph for this function:| ilPCMediaObject::readMediaObject | ( | int | $a_mob_id = 0 | ) |
Definition at line 56 of file class.ilPCMediaObject.php.
References setMediaObject().
Here is the call graph for this function:
|
static |
Definition at line 362 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setCaptionClass | ( | string | $a_class | ) |
Set caption style class of media object.
Definition at line 252 of file class.ilPCMediaObject.php.
References php4DOMNode\first_child(), php4DOMElement\has_attribute(), php4DOMElement\remove_attribute(), and php4DOMElement\set_attribute().
Here is the call graph for this function:| ilPCMediaObject::setClass | ( | string | $a_class | ) |
Definition at line 218 of file class.ilPCMediaObject.php.
References php4DOMNode\first_child(), php4DOMElement\has_attribute(), php4DOMElement\remove_attribute(), and php4DOMElement\set_attribute().
Here is the call graph for this function:| ilPCMediaObject::setDom | ( | php4DOMDocument | $a_dom | ) |
Definition at line 70 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setHierId | ( | string | $a_hier_id | ) |
Reimplemented from ilPageContent.
Definition at line 75 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setMediaObject | ( | ilObjMediaObject | $a_mediaobject | ) |
Definition at line 80 of file class.ilPCMediaObject.php.
Referenced by createMediaObject(), and readMediaObject().
Here is the caller graph for this function:| ilPCMediaObject::setNode | ( | php4DOMElement | $a_node | ) |
Set xml node of page content.
| php4DOMElement | $a_node | node object |
Reimplemented from ilPageContent.
Definition at line 64 of file class.ilPCMediaObject.php.
References php4DOMNode\first_child().
Here is the call graph for this function:| 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 202 of file class.ilPCMediaObject.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 36 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 35 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 30 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 34 of file class.ilPCMediaObject.php.
Referenced by getMediaObject().
|
protected |
Definition at line 32 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 29 of file class.ilPCMediaObject.php.
|
staticprotected |
Definition at line 37 of file class.ilPCMediaObject.php.
|
staticprotected |
Definition at line 38 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 33 of file class.ilPCMediaObject.php.
|
protected |
Definition at line 31 of file class.ilPCMediaObject.php.