| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilPCMediaObject Media content object (see ILIAS DTD) More...
 Inheritance diagram for ilPCMediaObject:
 Collaboration diagram for ilPCMediaObject:Public Member Functions | |
| init () | |
| readMediaObject (int $a_mob_id=0) | |
| 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) | |
| 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, ?PageManagerInterface $page_manager=null, ?ObjectAdapterInterface $object_adapter=null) | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| init () | |
| Init object.  More... | |
| getType () | |
| getDomNode () | |
| getDomDoc () | |
| setDomNode (DOMNode $node) | |
| getChildNode () | |
| 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... | |
| getNewPageContentNode () | |
| 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 () | 
| 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) | 
| 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) | 
| 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) | 
  Static Public Member Functions inherited from ilPageContent | |
| 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 Member Functions | |
| getMediaAliasNode () | |
  Protected Member Functions inherited from ilPageContent | |
| getPageManager () | |
| setType (string $a_type) | |
| Set Type.  More... | |
| hasNode () | |
| createInitialChildNode (string $hier_id, string $pc_id, string $child, array $child_attributes=[]) | |
Protected Attributes | |
| ilCtrlInterface | $ctrl | 
| UsageDBRepository | $mob_usage_repo | 
| DOMNode | $mal_node | 
| ilObjUser | $user | 
| DOMNode | $mob_node | 
| ILIAS DI UIServices | $ui | 
| ilObjMediaObject | $mediaobject = null | 
| ilLanguage | $lng | 
| ilGlobalPageTemplate | $global_tpl | 
  Protected Attributes inherited from ilPageContent | |
| DOMDocument | $dom_doc | 
| ILIAS COPage InternalDomainService | $domain | 
| string | $pcid | 
| string | $type = "" | 
| ilPageObject | $pg_obj | 
| string | $file_download_link = '' | 
| string | $fullscreen_link = '' | 
| string | $sourcecode_download_script = '' | 
| ilLogger | $log | 
| string | $profile_back_url = "" | 
| ILIAS COPage Dom DomUtil | $dom_util | 
| PageManagerInterface | $page_manager = null | 
| ObjectAdapterInterface | $object = null | 
Static Protected Attributes | |
| static string | $modal_show_signal = "" | 
| static string | $modal_suffix = "" | 
Additional Inherited Members | |
  Data Fields inherited from ilPageContent | |
| string | $hier_id = "" | 
| DOMNode | $dom_node = null | 
| string | $page_lang = "" | 
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 | 
Definition at line 310 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 | 
Definition at line 249 of file class.ilPCMediaObject.php.
References ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), ilPageObject\getId(), ilPageObject\getImportMode(), ilPageObject\getLanguage(), and ilPageObject\getParentType().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 275 of file class.ilPCMediaObject.php.
References ilObjMediaObject\_deleteAllUsages(), ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), ilPageObject\getId(), ilPageObject\getLanguage(), and ilPageObject\getParentType().
 Here is the call graph for this function:| ilPCMediaObject::create | ( | ) | 
Definition at line 83 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 88 of file class.ilPCMediaObject.php.
References ilPageContent\getDomNode(), ILIAS\Survey\Mode\getId(), getMediaObject(), IL_INSERT_AFTER, ilPageObject\insertContent(), and ilPageContent\setDomNode().
 Here is the call graph for this function:| ilPCMediaObject::createMediaObject | ( | ) | 
Definition at line 78 of file class.ilPCMediaObject.php.
References setMediaObject().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 564 of file class.ilPCMediaObject.php.
References $DIC, ilPageContent\$log, ilObject\_lookupType(), ilLogger\debug(), ILIAS\Skill\Usage\UsageDBRepository\deleteHistoryUsagesLowerEqualThan(), ILIAS\Skill\Usage\UsageDBRepository\getHistoryUsagesLowerEqualThan(), ilLoggerFactory\getLogger(), and ilObjMediaObject\lookupUsages().
 Here is the call graph for this function:| ilPCMediaObject::dumpXML | ( | ) | 
Definition at line 206 of file class.ilPCMediaObject.php.
References ilPageContent\getDomNode().
 Here is the call graph for this function:| ilPCMediaObject::getCaptionClass | ( | ) | 
Definition at line 232 of file class.ilPCMediaObject.php.
References getMediaAliasNode().
 Here is the call graph for this function:| ilPCMediaObject::getClass | ( | ) | 
Get characteristic of section.
Definition at line 219 of file class.ilPCMediaObject.php.
References getMediaAliasNode().
 Here is the call graph for this function:| ilPCMediaObject::getCssFiles | ( | string | $a_mode | ) | 
Definition at line 501 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getFullscreenMediaAliasItem | ( | ) | 
Definition at line 518 of file class.ilPCMediaObject.php.
References ilPageContent\getDomDoc(), ilPageContent\getHierId(), getMediaObject(), ilPageContent\getPage(), ilPageContent\getPCId(), and getStandardMediaAliasItem().
 Here is the call graph for this function:| ilPCMediaObject::getJavascriptFiles | ( | string | $a_mode | ) | 
Definition at line 493 of file class.ilPCMediaObject.php.
References iljQueryUtil\getLocalMaphilightPath().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 237 of file class.ilPCMediaObject.php.
      
  | 
  protected | 
Definition at line 185 of file class.ilPCMediaObject.php.
References $mal_node, and ilPageContent\getChildNode().
Referenced by getCaptionClass(), getClass(), setCaptionClass(), setClass(), and updateObjectReference().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCMediaObject::getMediaObject | ( | ) | 
Definition at line 73 of file class.ilPCMediaObject.php.
References $mediaobject.
Referenced by ilPCImageMapTableGUI\__construct(), ilPCMediaObjectQuickEdit\__construct(), createAlias(), getFullscreenMediaAliasItem(), and updateObjectReference().
 Here is the caller graph for this function:| ilPCMediaObject::getOnloadCode | ( | string | $a_mode | ) | 
Definition at line 482 of file class.ilPCMediaObject.php.
| ilPCMediaObject::getStandardMediaAliasItem | ( | ) | 
Definition at line 507 of file class.ilPCMediaObject.php.
References ilPageContent\getDomDoc(), ilPageContent\getHierId(), and ilPageContent\getPCId().
Referenced by getFullscreenMediaAliasItem().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 606 of file class.ilPCMediaObject.php.
References $DIC, ilPageContent\$dom_util, $path, ilInternalLink\_extractInstOfTarget(), and ilInternalLink\_extractObjIdOfTarget().
 Here is the call graph for this function:| ilPCMediaObject::init | ( | ) | 
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  | 
        ||
| ) | 
Definition at line 386 of file class.ilPCMediaObject.php.
References $DIC, $user, ilObjMediaObject\_getDirectory(), ilObjMediaObject\_getMobsOfObject(), ILIAS\Repository\ctrl(), ilPageContent\getPage(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
 Here is the call graph for this function:| ilPCMediaObject::readMediaObject | ( | int | $a_mob_id = 0 | ) | 
Definition at line 55 of file class.ilPCMediaObject.php.
References setMediaObject().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 319 of file class.ilPCMediaObject.php.
References ilObjMediaObject\_deleteAllUsages(), ilObject\_lookupType(), ilObjMediaObject\_saveUsage(), ilPageObject\getId(), ilPageObject\getLanguage(), and ilPageObject\getParentType().
 Here is the call graph for this function:| ilPCMediaObject::setCaptionClass | ( | string | $a_class | ) | 
Set caption style class of media object.
Definition at line 227 of file class.ilPCMediaObject.php.
References getMediaAliasNode().
 Here is the call graph for this function:| ilPCMediaObject::setClass | ( | string | $a_class | ) | 
Definition at line 211 of file class.ilPCMediaObject.php.
References getMediaAliasNode().
 Here is the call graph for this function:| ilPCMediaObject::setHierId | ( | string | $a_hier_id | ) | 
Definition at line 63 of file class.ilPCMediaObject.php.
| ilPCMediaObject::setMediaObject | ( | ilObjMediaObject | $a_mediaobject | ) | 
Definition at line 68 of file class.ilPCMediaObject.php.
Referenced by createMediaObject(), and readMediaObject().
 Here is the caller 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 201 of file class.ilPCMediaObject.php.
References ILIAS\Survey\Mode\getId(), getMediaAliasNode(), and getMediaObject().
 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.
Referenced by getMediaAliasNode().
      
  | 
  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.
Referenced by modifyPageContentPostXsl().