| ILIAS
    release_6 Revision v6.24-5-g0c8bfefb3b8
    | 
Class ilPageObject. More...
 Inheritance diagram for ilPageObject:
 Inheritance diagram for ilPageObject: Collaboration diagram for ilPageObject:
 Collaboration diagram for ilPageObject:| Public Member Functions | |
| __construct ($a_id=0, $a_old_nr=0, $a_lang="-") | |
| Constructor @access public.  More... | |
| afterConstructor () | |
| After constructor.  More... | |
| getParentType () | |
| Get parent type.  More... | |
| initPageConfig () | |
| Init page config.  More... | |
| setLanguage ($a_val) | |
| Set language.  More... | |
| getLanguage () | |
| Get language.  More... | |
| setPageConfig ($a_val) | |
| Set page config object.  More... | |
| getPageConfig () | |
| Get page config object.  More... | |
| setRenderMd5 ($a_rendermd5) | |
| Set Render MD5.  More... | |
| getRenderMd5 () | |
| Get Render MD5.  More... | |
| setRenderedContent ($a_renderedcontent) | |
| Set Rendered Content.  More... | |
| getRenderedContent () | |
| Get Rendered Content.  More... | |
| setRenderedTime ($a_renderedtime) | |
| Set Rendered Time.  More... | |
| getRenderedTime () | |
| Get Rendered Time.  More... | |
| setLastChange ($a_lastchange) | |
| Set Last Change.  More... | |
| getLastChange () | |
| Get Last Change.  More... | |
| setLastChangeUser ($a_val) | |
| Set last change user.  More... | |
| getLastChangeUser () | |
| Get last change user.  More... | |
| setShowActivationInfo ($a_val) | |
| Set show page activation info.  More... | |
| getShowActivationInfo () | |
| Get show page activation info.  More... | |
| read () | |
| Read page data.  More... | |
| buildDom ($a_force=false) | |
| freeDom () | |
| getDom () | |
| Deprecated php4DomDocument.  More... | |
| getDomDoc () | |
| Get dom doc (php5 dom document)  More... | |
| setId ($a_id) | |
| set id  More... | |
| getId () | |
| setParentId ($a_id) | |
| getParentId () | |
| addUpdateListener (&$a_object, $a_method, $a_parameters="") | |
| callUpdateListeners () | |
| setActive ($a_active) | |
| set activation  More... | |
| getActive ($a_check_scheduled_activation=false) | |
| get activation  More... | |
| setActivationStart ($a_activationstart) | |
| Set Activation Start.  More... | |
| getActivationStart () | |
| Get Activation Start.  More... | |
| setActivationEnd ($a_activationend) | |
| Set Activation End.  More... | |
| getActivationEnd () | |
| Get Activation End.  More... | |
| getContentObject ($a_hier_id, $a_pc_id="") | |
| Get a content object of the page.  More... | |
| & | getContentNode ($a_hier_id, $a_pc_id="") | 
| Get content node from dom.  More... | |
| checkForTag ($a_content_tag, $a_hier_id, $a_pc_id="") | |
| Get content node from dom.  More... | |
| lookforhier ($a_hier_id) | |
| & | getNode () | 
| setXMLContent ($a_xml, $a_encoding="UTF-8") | |
| set xml content of page, start with <PageObject...>, end with </PageObject>, comply with ILIAS DTD, omit MetaData, use utf-8!  More... | |
| appendXMLContent ($a_xml) | |
| append xml content to page setXMLContent must be called before and the same encoding must be used  More... | |
| getXMLContent ($a_incl_head=false) | |
| get xml content of page  More... | |
| copyXmlContent ($a_clone_mobs=false) | |
| Copy content of page; replace page components with copies where necessary (e.g.  More... | |
| handleCopiedContent ($a_dom, $a_self_ass=true, $a_clone_mobs=false) | |
| Handle copied content.  More... | |
| newIIMCopies ($temp_dom) | |
| Replaces media objects in interactive images with copies of the interactive images.  More... | |
| newMobCopies ($temp_dom) | |
| Replaces media objects with copies.  More... | |
| newQuestionCopies (&$temp_dom) | |
| Replaces existing question content elements with new copies.  More... | |
| removeQuestions (&$temp_dom) | |
| Remove questions from document.  More... | |
| countPageContents () | |
| Remove questions from document.  More... | |
| getXMLFromDom ( $a_incl_head=false, $a_append_mobs=false, $a_append_bib=false, $a_append_str="", $a_omit_pageobject_tag=false) | |
| get xml content of page from dom (use this, if any changes are made to the document)  More... | |
| getLanguageVariablesXML () | |
| Get language variables as XML.  More... | |
| appendLangVarXML (&$xml, $var) | |
| getFirstParagraphText () | |
| setParagraphContent ($a_hier_id, $a_content) | |
| Set content of paragraph.  More... | |
| setContainsIntLink ($a_contains_link) | |
| lm parser set this flag to true, if the page contains intern links (this method should only be called by the import parser)  More... | |
| containsIntLink () | |
| returns true, if page was marked as containing an intern link (via setContainsIntLink) (this method should only be called by the import parser)  More... | |
| setImportMode ($a_val) | |
| Set import mode.  More... | |
| getImportMode () | |
| Get import mode.  More... | |
| needsImportParsing ($a_parse="") | |
| setContainsQuestion ($a_val) | |
| Set contains question.  More... | |
| getContainsQuestion () | |
| Get contains question.  More... | |
| collectMediaObjects ($a_inline_only=true) | |
| get all media objects, that are referenced and used within the page  More... | |
| getInternalLinks ($a_cnt_multiple=false) | |
| get all internal links that are used within the page  More... | |
| getMultimediaXML () | |
| get a xml string that contains all media object elements, that are referenced by any media alias in the page  More... | |
| getMediaAliasElement ($a_mob_id, $a_nr=1) | |
| get complete media object (alias) element  More... | |
| validateDom () | |
| Validate the page content agains page DTD.  More... | |
| addHierIDs () | |
| Add hierarchical ID (e.g.  More... | |
| getHierIds () | |
| get all hierarchical ids  More... | |
| getFirstRowIds () | |
| get ids of all first table rows  More... | |
| getFirstColumnIds () | |
| get ids of all first table columns  More... | |
| getListItemIds () | |
| get ids of all list items  More... | |
| getFileItemIds () | |
| get ids of all file items  More... | |
| stripHierIDs () | |
| strip all hierarchical id attributes out of the dom tree  More... | |
| getHierIdsForPCIds ($a_pc_ids) | |
| Get hier ids for a set of pc ids.  More... | |
| addFileSizes () | |
| add file sizes  More... | |
| resolveIntLinks ($a_link_map=null) | |
| Resolves all internal link targets of the page, if targets are available (after import)  More... | |
| resolveMediaAliases ($a_mapping, $a_reuse_existing_by_import=false) | |
| Resolve media aliases (after import)  More... | |
| resolveIIMMediaAliases ($a_mapping) | |
| Resolve iim media aliases (in ilContObjParse)  More... | |
| resolveFileItems ($a_mapping) | |
| Resolve file items (after import)  More... | |
| resolveQuestionReferences ($a_mapping) | |
| Resolve all quesion references (after import)  More... | |
| moveIntLinks ($a_from_to) | |
| Move internal links from one destination to another.  More... | |
| handleImportRepositoryLink ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) | |
| handleRepositoryLinksOnCopy ($a_mapping, $a_source_ref_id) | |
| Handle repository links on copy process.  More... | |
| createFromXML () | |
| Create new page object with current xml content.  More... | |
| updateFromXML () | |
| Updates page object with current xml content.  More... | |
| afterUpdate () | |
| After update.  More... | |
| update ($a_validate=true, $a_no_history=false) | |
| update complete page content in db (dom xml content is used)  More... | |
| delete () | |
| delete page object  More... | |
| saveStyleUsage ($a_domdoc, $a_old_nr=0) | |
| Save all style class/template usages.  More... | |
| deleteStyleUsages ($a_old_nr=0) | |
| Delete style usages.  More... | |
| getLastUpdateOfIncludedElements () | |
| Get last update of included elements (media objects and files).  More... | |
| deleteInternalLinks () | |
| Delete internal links.  More... | |
| saveInternalLinks ($a_domdoc) | |
| save internal links of page  More... | |
| create () | |
| create new page (with current xml data)  More... | |
| deleteContent ($a_hid, $a_update=true, $a_pcid="") | |
| delete content object with hierarchical id $a_hid  More... | |
| deleteContents ($a_hids, $a_update=true, $a_self_ass=false) | |
| Delete multiple content objects.  More... | |
| cutContents ($a_hids) | |
| Copy contents to clipboard and cut them from the page.  More... | |
| copyContents ($a_hids) | |
| Copy contents to clipboard.  More... | |
| pasteContents ($a_hier_id, $a_self_ass=false) | |
| Paste contents from pc clipboard.  More... | |
| switchEnableMultiple ($a_hids, $a_update=true, $a_self_ass=false) | |
| (De-)activate elements  More... | |
| deleteContentFromHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id >= $a_hid  More... | |
| deleteContentBeforeHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id < $a_hid  More... | |
| insertContent (&$a_cont_obj, $a_pos, $a_mode=IL_INSERT_AFTER, $a_pcid="") | |
| insert a content node before/after a sibling or as first child of a parent  More... | |
| insertContentNode (&$a_cont_node, $a_pos, $a_mode=IL_INSERT_AFTER, $a_pcid="") | |
| insert a content node before/after a sibling or as first child of a parent  More... | |
| moveContentBefore ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids)  More... | |
| moveContentAfter ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids)  More... | |
| bbCode2XML (&$a_content) | |
| transforms bbCode to corresponding xml  More... | |
| insertInstIntoIDs ($a_inst, $a_res_ref_to_obj_id=true) | |
| inserts installation id into ids (e.g.  More... | |
| checkPCIds () | |
| Check, whether (all) page content hashes are set.  More... | |
| getAllPCIds () | |
| Get all pc ids.  More... | |
| existsPCId ($a_pc_id) | |
| existsPCId  More... | |
| generatePcId ($a_pc_ids=false) | |
| Generate new pc id.  More... | |
| insertPCIds () | |
| Insert Page Content IDs.  More... | |
| getPageContentsHashes () | |
| Get page contents hashes.  More... | |
| getQuestionIds () | |
| Get question ids.  More... | |
| send_paragraph ($par_id, $filename) | |
| getFO () | |
| get fo page content  More... | |
| registerOfflineHandler ($handler) | |
| getOfflineHandler () | |
| Get offline handler.  More... | |
| containsDeactivatedElements ($a_content) | |
| Check whether content contains deactivated elements.  More... | |
| getHistoryEntries () | |
| Get History Entries.  More... | |
| getHistoryEntry ($a_old_nr) | |
| Get History Entry.  More... | |
| getHistoryInfo ($a_nr) | |
| Get information about a history entry, its predecessor and its successor.  More... | |
| addChangeDivClasses ($a_hashes) | |
| compareVersion ($a_left, $a_right) | |
| Compares to revisions of the page.  More... | |
| increaseViewCnt () | |
| Increase view cnt.  More... | |
| writeRenderedContent ($a_content, $a_md5) | |
| Write rendered content.  More... | |
| containsIntLinks ($a_content) | |
| Check whether content contains internal links.  More... | |
| performAutomaticModifications () | |
| Perform automatic modifications (may be overwritten by sub classes)  More... | |
| saveInitialOpenedContent ($a_type, $a_id, $a_target) | |
| Save initial opened content.  More... | |
| getInitialOpenedContent () | |
| Get initial opened content.  More... | |
| beforePageContentUpdate ($a_page_content) | |
| Before page content update.  More... | |
| copy ($a_id, $a_parent_type="", $a_parent_id=0, $a_clone_mobs=false) | |
| Copy page.  More... | |
| copyPageToTranslation ($a_target_lang) | |
| Copy page to translation.  More... | |
| getEditLock () | |
| Get page lock.  More... | |
| releasePageLock () | |
| Release page lock.  More... | |
| getEditLockInfo () | |
| Get edit lock info.  More... | |
| getContentTemplates () | |
| Get content templates.  More... | |
| getEffectiveEditLockTime () | |
| getAllFileObjIds () | |
| Get all file object ids.  More... | |
| resolveResources ($ref_mapping) | |
| Resolve resources.  More... | |
| getRepoObjId () | |
| Get object id of repository object that contains this page, return 0 if page does not belong to a repo object.  More... | |
| Static Public Member Functions | |
| static | _exists ($a_parent_type, $a_id, $a_lang="", $a_no_cache=false) | 
| Checks whether page exists.  More... | |
| static | _existsAndNotEmpty ($a_parent_type, $a_id, $a_lang="-") | 
| Checks whether page exists and is not empty (may return true on some empty pages)  More... | |
| static | preloadActivationDataByParentId ($a_parent_id) | 
| Preload activation data by Parent Id.  More... | |
| static | _lookupActive ($a_id, $a_parent_type, $a_check_scheduled_activation=false, $a_lang="-") | 
| lookup activation status  More... | |
| static | _isScheduledActivation ($a_id, $a_parent_type, $a_lang="-") | 
| Check whether page is activated by time schedule.  More... | |
| static | _writeActive ($a_id, $a_parent_type, $a_active, $a_reset_scheduled_activation=true, $a_lang="-") | 
| write activation status  More... | |
| static | _lookupActivationData ($a_id, $a_parent_type, $a_lang="-") | 
| Lookup activation data.  More... | |
| static | lookupParentId ($a_id, $a_type) | 
| Lookup parent id.  More... | |
| static | _writeParentId ($a_parent_type, $a_pg_id, $a_par_id) | 
| Write parent id.  More... | |
| static | _handleImportRepositoryLinks ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) | 
| Change targest of repository links.  More... | |
| static | _moveContentAfterHierId (&$a_source_page, &$a_target_page, $a_hid) | 
| move content of hierarchical id >= $a_hid to other page  More... | |
| static | _lookupContainsDeactivatedElements ($a_id, $a_parent_type, $a_lang="-") | 
| lookup whether page contains deactivated elements  More... | |
| static | getRecentChanges ($a_parent_type, $a_parent_id, $a_period=30, $a_lang="") | 
| Get recent pages changes for parent object.  More... | |
| static | getAllPages ($a_parent_type, $a_parent_id, $a_lang="-") | 
| Get all pages for parent object.  More... | |
| static | getNewPages ($a_parent_type, $a_parent_id, $a_lang="-") | 
| Get new pages.  More... | |
| static | getParentObjectContributors ($a_parent_type, $a_parent_id, $a_lang="-") | 
| Get all contributors for parent object.  More... | |
| static | getPageContributors ($a_parent_type, $a_page_id, $a_lang="-") | 
| Get all contributors for parent object.  More... | |
| static | getPagesWithLinks ($a_parent_type, $a_parent_id, $a_lang="-") | 
| Get all pages for parent object that contain internal links.  More... | |
| static | lookupTranslations ($a_parent_type, $a_id) | 
| Lookup translations.  More... | |
| static | truncateHTML ($a_text, $a_length=100, $a_ending='...', $a_exact=false, $a_consider_html=true) | 
| Truncate (html) string.  More... | |
| static | getLastChangeByParent ($a_parent_type, $a_parent_id, $a_lang="") | 
| Get all pages for parent object.  More... | |
| Data Fields | |
| $dom | |
| $xml | |
| $encoding | |
| $node | |
| $cur_dtd = "ilias_pg_5_4.dtd" | |
| $contains_int_link | |
| $needs_parsing | |
| $parent_type | |
| $parent_id | |
| $update_listeners | |
| $update_listener_cnt | |
| $offline_handler | |
| $dom_builded | |
| $history_saved | |
| Static Public Attributes | |
| static | $exists = array() | 
| Protected Member Functions | |
| __afterUpdate ($a_domdoc, $a_xml, $a_creation=false, $a_empty=false) | |
| After update event handler (internal).  More... | |
| __beforeDelete () | |
| Before deletion handler (internal).  More... | |
| __afterHistoryEntry ($a_old_domdoc, $a_old_content, $a_old_nr) | |
| Before deletion handler (internal).  More... | |
| Protected Attributes | |
| $obj_definition | |
| $db | |
| $user | |
| $lng | |
| $tree | |
| $id | |
| $language = "-" | |
| $import_mode = false | |
| $log | |
| $page_record = array() | |
| $active = false | |
| $page_config | |
| Static Protected Attributes | |
| static | $activation_data = array() | 
Class ilPageObject.
Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition at line 45 of file class.ilPageObject.php.
| 
 | final | 
Constructor @access public.
Definition at line 132 of file class.ilPageObject.php.
References $DIC, afterConstructor(), ilLoggerFactory\getLogger(), getParentType(), initPageConfig(), read(), setActive(), setLanguage(), and user().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | finalprotected | 
Before deletion handler (internal).
Definition at line 2828 of file class.ilPageObject.php.
References ilCOPagePCDef\getPCDefinitions(), ilCOPagePCDef\requirePCClassByName(), and saveStyleUsage().
Referenced by update().
 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:| 
 | finalprotected | 
After update event handler (internal).
The hooks are e.g. for storing any dependent relations/references in the database.
Definition at line 2543 of file class.ilPageObject.php.
References afterUpdate(), callUpdateListeners(), ilCOPagePCDef\getPCDefinitions(), ilCOPagePCDef\requirePCClassByName(), saveInternalLinks(), and saveStyleUsage().
Referenced by createFromXML(), update(), and updateFromXML().
 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:| 
 | finalprotected | 
Before deletion handler (internal).
Definition at line 2811 of file class.ilPageObject.php.
References ilCOPagePCDef\getPCDefinitions(), and ilCOPagePCDef\requirePCClassByName().
Referenced by delete().
 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:| 
 | static | 
Checks whether page exists.
| string | $a_parent_type | parent type | 
| int | $a_id | page id | 
| string | $a_lang | language code, if empty language independent existence is checked | 
Definition at line 404 of file class.ilPageObject.php.
References $db, $DIC, and $query.
Referenced by ilImprintGUI\__construct(), ilInternalLink\_exists(), ilObjContentObject\checkStructure(), copy(), ilObjMediaPool\deleteChild(), ilObjContentPage\doDelete(), ilAssQuestionFeedback\ensurePageObjectDeleted(), ilAssQuestionFeedbackPageObjectCommandForwarder\ensurePageObjectExists(), ilAssQuestionHintPageObjectCommandForwarder\ensurePageObjectExists(), ilAssQuestionFeedback\ensurePageObjectExists(), ilContentPagePageCommandForwarder\ensurePageObjectExists(), ilLOEditorGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilContainerStartObjectsGUI\executeCommand(), ILIAS\Blog\Export\BlogHtmlExport\exportHTMLPages(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ILIAS\Portfolio\Export\PortfolioHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPages(), ilObjContentObject\exportXMLPageObjects(), ilLearningModuleImporter\finalProcessing(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilObjContentObject\fixTree(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilObjUser\getClipboardObjects(), ilObjectTranslation\getEffectiveContentLang(), ilPageMultiLang\getEffectiveLang(), ilLMPresentationGUI\getLMPage(), ilLMContentRendererGUI\getLMPageGUI(), ilLMPresentationGUI\getLMPageGUI(), ilWikiExporter\getXmlExportTailDependencies(), ilContainerExporter\getXmlExportTailDependencies(), ilCOPageImporter\importXmlRepresentation(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), ilPCContentInclude\modifyPageContentPostXsl(), newQuestionCopies(), ilContObjParser\processPagesToParse(), ilWikiPage\rename(), ilPageObjectGUI\switchToLanguage(), ilObjContentObject\validatePages(), and ilContainerXmlWriter\writeSubitems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Checks whether page exists and is not empty (may return true on some empty pages)
| string | $a_parent_type | parent type | 
| int | $a_id | page id | 
| string | $a_lang | language code ("-" for unknown / not set) | 
Definition at line 438 of file class.ilPageObject.php.
References ilPageUtil\_existsAndNotEmpty().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Change targest of repository links.
Use full targets in "from" and "to"!!!
| array | keys are the old targets, values are the new targets | 
Definition at line 2258 of file class.ilPageObject.php.
References $source, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), and ilInternalLink\_getSourcesOfTarget().
Referenced by ilObjContentObject\importFromDirectory().
 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:| 
 | static | 
Check whether page is activated by time schedule.
Definition at line 639 of file class.ilPageObject.php.
Referenced by ilLMPagesTableGUI\fillRow(), ilChapterHierarchyFormGUI\getChildIcon(), ilLMEditorExplorerGUI\getNodeIcon(), ilPublicSectionExplorerGUI\getNodeIcon(), and ilLMTOCExplorerGUI\getNodeIcon().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup activation data.
Definition at line 706 of file class.ilPageObject.php.
Referenced by ilLMPageObject\_getPresentationTitle(), ilLMTracker\_isNodeVisible(), ilLMContentRendererGUI\getSuccessorPage(), ilLMPresentationGUI\getSuccessorPage(), ilLMNavigationRendererGUI\render(), and ilLMContentRendererGUI\renderDeactivatedPageMessage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup activation status
Definition at line 600 of file class.ilPageObject.php.
References $db, $DIC, and ilUtil\now().
Referenced by ilLMPageObject\_getPresentationTitle(), ilLMTracker\_isNodeVisible(), ilObjContentObjectGUI\activatePages(), ilStructureObjectGUI\activatePages(), ilObjBlog\deliverRSS(), ilLMNavigationStatus\determineStatus(), ilLMPagesTableGUI\fillRow(), ilObjBlogGUI\filterInactivePostings(), ilChapterHierarchyFormGUI\getChildIcon(), ilChapterHierarchyFormGUI\getChildIconAlt(), ilLMPresentationGUI\getCurrentPageId(), ilObjBlogGUI\getKeywords(), ilObjBlogGUI\getListItems(), ilLPStatusVisitedPages\getLMPages(), ilLMTOCExplorerGUI\getNodeHref(), ilLMEditorExplorerGUI\getNodeIcon(), ilPublicSectionExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilLMEditorExplorerGUI\getNodeIconAlt(), ilLMContentRendererGUI\getSuccessorPage(), ilLMPresentationGUI\getSuccessorPage(), ilBlogDraftsDerivedTaskProvider\getTasks(), ilImprint\isActive(), ilLMTOCExplorerGUI\isNodeClickable(), ilLMNavigationRendererGUI\render(), ilObjBlogGUI\renderList(), ilObjBlogGUI\renderNavigationByAuthors(), ilObjBlogGUI\renderNavigationByDate(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
 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:| 
 | static | 
lookup whether page contains deactivated elements
Definition at line 4030 of file class.ilPageObject.php.
References $db, $DIC, $query, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilLMPagesTableGUI\fillRow(), ilChapterHierarchyFormGUI\getChildIcon(), ilChapterHierarchyFormGUI\getChildIconAlt(), ilLMEditorExplorerGUI\getNodeIcon(), ilPublicSectionExplorerGUI\getNodeIcon(), and ilLMEditorExplorerGUI\getNodeIconAlt().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
move content of hierarchical id >= $a_hid to other page
| string | $a_hid | hierarchical id of content object | 
| boolean | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) | 
Definition at line 3359 of file class.ilPageObject.php.
Referenced by ilLMPageObject\_splitPageNext().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
write activation status
Definition at line 674 of file class.ilPageObject.php.
Referenced by ilObjContentObjectGUI\activatePages(), and ilStructureObjectGUI\activatePages().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Write parent id.
Definition at line 751 of file class.ilPageObject.php.
Referenced by ilBlogImporter\finalProcessing(), ilContentPageImporter\finalProcessing(), ilLearningModuleImporter\finalProcessing(), ilMediaPoolImporter\finalProcessing(), ilPortfolioImporter\finalProcessing(), ilWikiImporter\finalProcessing(), and ilContainerImporter\finalProcessing().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::addChangeDivClasses | ( | $a_hashes | ) | 
Definition at line 4184 of file class.ilPageObject.php.
References $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::addFileSizes | ( | ) | 
add file sizes
Definition at line 1872 of file class.ilPageObject.php.
References $i, $id, $res, $size, ilObjFile\_lookupFileSize(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::addHierIDs | ( | ) | 
Add hierarchical ID (e.g.
for editing) attributes "HierId" to current dom tree. This attribute will be added to the following elements: PageObject, Paragraph, Table, TableRow, TableData. Only elements of these types are counted as "childs" here.
Hierarchical IDs have the format "x_y_z_...", e.g. "1_4_2" means: second child of fourth child of first child of page.
The PageObject element gets the special id "pg". The first child of the page starts with id 1. The next child gets the 2 and so on.
Another example: The first child of the page is a Paragraph -> id 1. The second child is a table -> id 2. The first row gets the id 2_1, the
Definition at line 1682 of file class.ilPageObject.php.
References $i, $res, ilPageContent\incEdId(), xpath_eval(), and xpath_new_context().
Referenced by moveIntLinks().
 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:| ilPageObject::addUpdateListener | ( | & | $a_object, | 
| $a_method, | |||
| $a_parameters = "" | |||
| ) | 
Definition at line 529 of file class.ilPageObject.php.
References $update_listener_cnt.
Referenced by ilBlogPosting\read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::afterConstructor | ( | ) | 
After constructor.
Reimplemented in ilLMPage, ilSCORM2004Page, and ilWikiPage.
Definition at line 172 of file class.ilPageObject.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::afterUpdate | ( | ) | 
After update.
return
Reimplemented in ilLMPage.
Definition at line 2578 of file class.ilPageObject.php.
Referenced by __afterUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::appendLangVarXML | ( | & | $xml, | 
| $var | |||
| ) | 
Definition at line 1371 of file class.ilPageObject.php.
References $xml.
Referenced by getLanguageVariablesXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::appendXMLContent | ( | $a_xml | ) | 
append xml content to page setXMLContent must be called before and the same encoding must be used
| string | $a_xml | xml content | 
Definition at line 1002 of file class.ilPageObject.php.
| ilPageObject::bbCode2XML | ( | & | $a_content | ) | 
transforms bbCode to corresponding xml
Definition at line 3625 of file class.ilPageObject.php.
References $a_content.
| ilPageObject::beforePageContentUpdate | ( | $a_page_content | ) | 
Before page content update.
Note: This one is "work in progress", currently only text paragraphs call this hook It is called before the page content object invokes the update procedure of ilPageObject
return
Reimplemented in ilGlossaryDefPage, and ilLMPage.
Definition at line 4742 of file class.ilPageObject.php.
| ilPageObject::buildDom | ( | $a_force = false | ) | 
Definition at line 444 of file class.ilPageObject.php.
References $res, domxml_open_mem(), getXMLContent(), xpath_eval(), and xpath_new_context().
Referenced by countPageContents(), createFromXML(), delete(), ilSCORM2004Page\exportXMLPageContent(), getInitialOpenedContent(), ilPortfolioTemplatePage\getPageDiskSize(), handleImportRepositoryLink(), handleRepositoryLinksOnCopy(), ilPCVerification\isInPortfolioPage(), moveIntLinks(), ilSCORM2004Page\performAutomaticModifications(), ilSCORM2004Page\removeInvalidLinks(), ilPortfolioPage\renameLinksOnTitleChange(), saveInitialOpenedContent(), and updateFromXML().
 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:| ilPageObject::callUpdateListeners | ( | ) | 
Definition at line 538 of file class.ilPageObject.php.
References $i, and $update_listener_cnt.
Referenced by __afterUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::checkForTag | ( | $a_content_tag, | |
| $a_hier_id, | |||
| $a_pc_id = "" | |||
| ) | 
Get content node from dom.
| string | $a_hier_id | hierarchical ID | 
| string | $a_pc_id | page content ID | 
Definition at line 941 of file class.ilPageObject.php.
References $res, xpath_eval(), and xpath_new_context().
Referenced by deleteContents(), and switchEnableMultiple().
 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:| ilPageObject::checkPCIds | ( | ) | 
Check, whether (all) page content hashes are set.
Definition at line 3738 of file class.ilPageObject.php.
References $dom, $res, xpath_eval(), and xpath_new_context().
Referenced by update().
 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:| ilPageObject::collectMediaObjects | ( | $a_inline_only = true | ) | 
get all media objects, that are referenced and used within the page
Definition at line 1498 of file class.ilPageObject.php.
References $i, $res, ilObject\_exists(), xpath_eval(), and xpath_new_context().
Referenced by delete(), ilSCORM2004Page\exportXMLPageContent(), and getMultimediaXML().
 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:| ilPageObject::compareVersion | ( | $a_left, | |
| $a_right | |||
| ) | 
Compares to revisions of the page.
| int | $a_left | Nr of first revision | 
| int | $a_right | Nr of second revision | 
Definition at line 4210 of file class.ilPageObject.php.
References getId(), ilPageObjectFactory\getInstance(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::containsDeactivatedElements | ( | $a_content | ) | 
Check whether content contains deactivated elements.
return
Definition at line 4060 of file class.ilPageObject.php.
References $a_content.
Referenced by createFromXML(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::containsIntLink | ( | ) | 
returns true, if page was marked as containing an intern link (via setContainsIntLink) (this method should only be called by the import parser)
Definition at line 1435 of file class.ilPageObject.php.
References $contains_int_link.
| ilPageObject::containsIntLinks | ( | $a_content | ) | 
Check whether content contains internal links.
return
Definition at line 4600 of file class.ilPageObject.php.
References $a_content.
Referenced by createFromXML(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::copy | ( | $a_id, | |
| $a_parent_type = "", | |||
| $a_parent_id = 0, | |||
| $a_clone_mobs = false | |||
| ) | 
Copy page.
| int | $a_id | target page id | 
| string | $a_parent_type | target parent type | 
| int | $a_parent_id | target parent id | 
Definition at line 4753 of file class.ilPageObject.php.
References _exists(), getId(), ilPageObjectFactory\getInstance(), getParentId(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::copyContents | ( | $a_hids | ) | 
Copy contents to clipboard.
| string | $a_hids | array of hierarchical ids of content objects | 
Definition at line 3163 of file class.ilPageObject.php.
References $user, getContentNode(), ilEditClipboard\setAction(), and ilPageContent\sortHierIds().
Referenced by cutContents().
 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:| ilPageObject::copyPageToTranslation | ( | $a_target_lang | ) | 
Copy page to translation.
| string | $a_target_lang | target language | 
Definition at line 4818 of file class.ilPageObject.php.
References getActivationEnd(), getActivationStart(), getActive(), getId(), ilPageObjectFactory\getInstance(), getParentId(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::copyXmlContent | ( | $a_clone_mobs = false | ) | 
Copy content of page; replace page components with copies where necessary (e.g.
questions)
Definition at line 1032 of file class.ilPageObject.php.
References $xml, DOMXML_LOAD_PARSING, domxml_open_mem(), and handleCopiedContent().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::countPageContents | ( | ) | 
Remove questions from document.
return
Definition at line 1268 of file class.ilPageObject.php.
References $res, buildDom(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::create | ( | ) | 
create new page (with current xml data)
Reimplemented in ilSCORM2004Page.
Definition at line 3090 of file class.ilPageObject.php.
References createFromXML().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::createFromXML | ( | ) | 
Create new page object with current xml content.
Reimplemented in ilWikiPage.
Definition at line 2451 of file class.ilPageObject.php.
References __afterUpdate(), buildDom(), containsDeactivatedElements(), containsIntLinks(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getId(), getLanguage(), getParentId(), getParentType(), getShowActivationInfo(), getXMLContent(), ilUtil\now(), setXMLContent(), and user().
Referenced by create().
 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:| ilPageObject::cutContents | ( | $a_hids | ) | 
Copy contents to clipboard and cut them from the page.
| string | $a_hids | array of hierarchical ids of content objects | 
Definition at line 3152 of file class.ilPageObject.php.
References copyContents(), deleteContents(), and getPageConfig().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::delete | ( | ) | 
delete page object
Reimplemented in ilBlogPosting, ilMediaPoolPage, ilPortfolioPage, ilSCORM2004Page, and ilWikiPage.
Definition at line 2731 of file class.ilPageObject.php.
References $mobs, __beforeDelete(), ilObjMediaObject\_deleteAllUsages(), ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), buildDom(), collectMediaObjects(), deleteInternalLinks(), ilNewsItem\deleteNewsOfContext(), deleteStyleUsages(), getId(), getLanguage(), ilLoggerFactory\getLogger(), getParentId(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::deleteContent | ( | $a_hid, | |
| $a_update = true, | |||
| $a_pcid = "" | |||
| ) | 
delete content object with hierarchical id $a_hid
| string | $a_hid | hierarchical id of content object | 
| boolean | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) | 
Definition at line 3102 of file class.ilPageObject.php.
References getContentNode(), and update().
Referenced by moveContentAfter(), and moveContentBefore().
 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:| ilPageObject::deleteContentBeforeHierId | ( | $a_hid, | |
| $a_update = true | |||
| ) | 
delete content object with hierarchical id < $a_hid
| string | $a_hid | hierarchical id of content object | 
| boolean | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) | 
Definition at line 3331 of file class.ilPageObject.php.
References getContentNode(), getHierIds(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::deleteContentFromHierId | ( | $a_hid, | |
| $a_update = true | |||
| ) | 
delete content object with hierarchical id >= $a_hid
| string | $a_hid | hierarchical id of content object | 
| boolean | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) | 
Definition at line 3304 of file class.ilPageObject.php.
References getContentNode(), getHierIds(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::deleteContents | ( | $a_hids, | |
| $a_update = true, | |||
| $a_self_ass = false | |||
| ) | 
Delete multiple content objects.
| string | $a_hids | array of hierarchical ids of content objects | 
| boolean | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) | 
Definition at line 3120 of file class.ilPageObject.php.
References checkForTag(), getContentNode(), and update().
Referenced by cutContents().
 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:| ilPageObject::deleteInternalLinks | ( | ) | 
Delete internal links.
return
Definition at line 2998 of file class.ilPageObject.php.
References ilInternalLink\_deleteAllLinksOfSource(), getId(), getLanguage(), and getParentType().
Referenced by delete(), and saveInternalLinks().
 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:| ilPageObject::deleteStyleUsages | ( | $a_old_nr = 0 | ) | 
Delete style usages.
return
Definition at line 2955 of file class.ilPageObject.php.
Referenced by delete(), and saveStyleUsage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::existsPCId | ( | $a_pc_id | ) | 
existsPCId
return
Definition at line 3795 of file class.ilPageObject.php.
References $dom, $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::freeDom | ( | ) | 
Definition at line 476 of file class.ilPageObject.php.
Referenced by ilSCORM2004Page\exportXMLPageContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::generatePcId | ( | $a_pc_ids = false | ) | 
Generate new pc id.
| array | $a_pc_ids | existing pc ids | 
Definition at line 3820 of file class.ilPageObject.php.
References $id, and getAllPCIds().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getActivationEnd | ( | ) | 
Get Activation End.
Definition at line 805 of file class.ilPageObject.php.
Referenced by copyPageToTranslation(), createFromXML(), getActive(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getActivationStart | ( | ) | 
Get Activation Start.
Definition at line 782 of file class.ilPageObject.php.
Referenced by copyPageToTranslation(), createFromXML(), getActive(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getActive | ( | $a_check_scheduled_activation = false | ) | 
get activation
Definition at line 563 of file class.ilPageObject.php.
References $active, ilDateTime\_after(), ilDateTime\_before(), getActivationEnd(), getActivationStart(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by ilBlogPosting\checkApproval(), copyPageToTranslation(), createFromXML(), ilBlogPosting\handleNews(), update(), ilBlogPosting\update(), and updateFromXML().
 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:| ilPageObject::getAllFileObjIds | ( | ) | 
Get all file object ids.
Definition at line 5113 of file class.ilPageObject.php.
References $i, $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get all pages for parent object.
| string | $a_parent_type | |
| int | $a_parent_id | |
| string | $a_lang | 
Definition at line 4343 of file class.ilPageObject.php.
Referenced by ilObjContentObject\autoLinkGlossaryTerms(), ilContentPagePageCollector\getAllPageIds(), ilLearningModulePageCollector\getAllPageIds(), and ilCourseExporter\getXmlExportTailDependencies().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getAllPCIds | ( | ) | 
Get all pc ids.
return
Definition at line 3765 of file class.ilPageObject.php.
References $dom, $i, $node, $res, xpath_eval(), and xpath_new_context().
Referenced by generatePcId(), and insertPCIds().
 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:| ilPageObject::getContainsQuestion | ( | ) | 
Get contains question.
Definition at line 1487 of file class.ilPageObject.php.
| & ilPageObject::getContentNode | ( | $a_hier_id, | |
| $a_pc_id = "" | |||
| ) | 
Get content node from dom.
| string | $a_hier_id | hierarchical ID | 
| string | $a_pc_id | page content ID | 
Definition at line 909 of file class.ilPageObject.php.
References $node, $res, xpath_eval(), and xpath_new_context().
Referenced by copyContents(), deleteContent(), deleteContentBeforeHierId(), deleteContentFromHierId(), deleteContents(), getContentObject(), insertContent(), insertContentNode(), setParagraphContent(), and switchEnableMultiple().
 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:| ilPageObject::getContentObject | ( | $a_hier_id, | |
| $a_pc_id = "" | |||
| ) | 
Get a content object of the page.
| string | hier ID | 
| string | PC ID | 
Definition at line 818 of file class.ilPageObject.php.
References $_GET, $_POST, $tab, ilObject\_exists(), exit, getContentNode(), and ilCOPagePCDef\getPCDefinitionByName().
Referenced by ilSCORM2004Page\exportXMLPageContent(), moveContentAfter(), moveContentBefore(), and switchEnableMultiple().
 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:| ilPageObject::getContentTemplates | ( | ) | 
Get content templates.
Reimplemented in ilWikiPage.
Definition at line 5061 of file class.ilPageObject.php.
| ilPageObject::getDom | ( | ) | 
Deprecated php4DomDocument.
Definition at line 485 of file class.ilPageObject.php.
References $dom.
Referenced by ilPortfolioTemplatePage\getPageDiskSize(), and ilPCVerification\isInPortfolioPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getDomDoc | ( | ) | 
Get dom doc (php5 dom document)
return
Definition at line 496 of file class.ilPageObject.php.
References $dom.
Referenced by ilWikiPage\create(), createFromXML(), ilSCORM2004Page\exportXMLPageContent(), ilSCORM2004Page\removeInvalidLinks(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getEditLock | ( | ) | 
Get page lock.
Definition at line 4842 of file class.ilPageObject.php.
References $db, $user, and getEffectiveEditLockTime().
Referenced by update().
 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:| ilPageObject::getEditLockInfo | ( | ) | 
Get edit lock info.
Definition at line 4916 of file class.ilPageObject.php.
References $db, and getParentType().
Referenced by update().
 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:| ilPageObject::getEffectiveEditLockTime | ( | ) | 
Definition at line 5096 of file class.ilPageObject.php.
References getPageConfig().
Referenced by getEditLock().
 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:| ilPageObject::getFileItemIds | ( | ) | 
get ids of all file items
Reimplemented in ilSCORM2004Page.
Definition at line 1819 of file class.ilPageObject.php.
| ilPageObject::getFirstColumnIds | ( | ) | 
get ids of all first table columns
Definition at line 1801 of file class.ilPageObject.php.
| ilPageObject::getFirstParagraphText | ( | ) | 
Definition at line 1380 of file class.ilPageObject.php.
References $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getFirstRowIds | ( | ) | 
get ids of all first table rows
Definition at line 1792 of file class.ilPageObject.php.
| ilPageObject::getFO | ( | ) | 
get fo page content
Definition at line 3985 of file class.ilPageObject.php.
References $xml, getXMLFromDom(), xslt_create(), and xslt_free().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getHierIds | ( | ) | 
get all hierarchical ids
Definition at line 1783 of file class.ilPageObject.php.
Referenced by deleteContentBeforeHierId(), and deleteContentFromHierId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getHierIdsForPCIds | ( | $a_pc_ids | ) | 
Get hier ids for a set of pc ids.
Definition at line 1845 of file class.ilPageObject.php.
References $i, $res, $ret, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getHistoryEntries | ( | ) | 
Get History Entries.
Definition at line 4071 of file class.ilPageObject.php.
References $db, getId(), getLanguage(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getHistoryEntry | ( | $a_old_nr | ) | 
Get History Entry.
Definition at line 4096 of file class.ilPageObject.php.
References $db, $res, getId(), getLanguage(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getHistoryInfo | ( | $a_nr | ) | 
Get information about a history entry, its predecessor and its successor.
| int | $a_nr | Nr of history entry | 
Definition at line 4123 of file class.ilPageObject.php.
References $db, $res, $ret, getLanguage(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getId | ( | ) | 
Definition at line 514 of file class.ilPageObject.php.
References $id.
Referenced by ilLMPage\afterUpdate(), compareVersion(), copy(), copyPageToTranslation(), ilBlogPosting\create(), ilWikiPage\create(), createFromXML(), ilBlogPosting\delete(), ilPortfolioPage\delete(), ilWikiPage\delete(), delete(), deleteInternalLinks(), ilSCORM2004Page\exportXML(), ilSCORM2004Page\exportXMLMetaData(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), getHistoryEntries(), getHistoryEntry(), getLastUpdateOfIncludedElements(), ilBlogPosting\getMDSection(), ilBlogPosting\getNotificationAbstract(), ilMediaPoolPage\getUsages(), ilBlogPosting\handleNews(), ilWikiStat\handlePageDeletion(), ilWikiStat\handlePageRating(), ilWikiStat\handlePageRead(), ilWikiStat\handlePageUpdated(), ilWikiPage\read(), ilBlogPosting\read(), ilPortfolioPage\read(), ilWikiPage\rename(), resolveMediaAliases(), ilWikiPage\saveInternalLinks(), saveInternalLinks(), ilBlogPosting\unpublish(), ilPortfolioPage\update(), ilWikiPage\update(), update(), ilBlogPosting\update(), updateFromXML(), ilWikiPage\updateNews(), and writeRenderedContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getImportMode | ( | ) | 
Get import mode.
Definition at line 1455 of file class.ilPageObject.php.
References $import_mode.
| ilPageObject::getInitialOpenedContent | ( | ) | 
Get initial opened content.
Definition at line 4688 of file class.ilPageObject.php.
References $i, $id, $res, $type, ilInternalLink\_extractObjIdOfTarget(), buildDom(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getInternalLinks | ( | $a_cnt_multiple = false | ) | 
get all internal links that are used within the page
Definition at line 1550 of file class.ilPageObject.php.
References $i, $id, $res, $type, ilMediaItem\_getMapAreasIntLinks(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getLanguage | ( | ) | 
Get language.
Definition at line 210 of file class.ilPageObject.php.
References $language.
Referenced by createFromXML(), delete(), deleteInternalLinks(), getHistoryEntries(), getHistoryEntry(), getHistoryInfo(), read(), saveInternalLinks(), update(), updateFromXML(), and writeRenderedContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getLanguageVariablesXML | ( | ) | 
Get language variables as XML.
Definition at line 1335 of file class.ilPageObject.php.
References $xml, appendLangVarXML(), ilCOPagePCDef\getPCDefinitions(), and ilCOPagePCDef\requirePCClassByName().
Referenced by getXMLFromDom().
 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:| ilPageObject::getLastChange | ( | ) | 
Get Last Change.
Definition at line 310 of file class.ilPageObject.php.
| 
 | static | 
Get all pages for parent object.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
| string | $a_lang | language | 
Definition at line 5073 of file class.ilPageObject.php.
Referenced by ilWikiUserHTMLExport\getProcess().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getLastChangeUser | ( | ) | 
Get last change user.
Definition at line 330 of file class.ilPageObject.php.
| ilPageObject::getLastUpdateOfIncludedElements | ( | ) | 
Get last update of included elements (media objects and files).
This is needed for cache logic, cache must be reloaded if anything has changed.
Definition at line 2976 of file class.ilPageObject.php.
References $mobs, ilObjFile\_getFilesOfObject(), ilObject\_getLastUpdateOfObjects(), ilObjMediaObject\_getMobsOfObject(), getId(), and getParentType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getListItemIds | ( | ) | 
get ids of all list items
Definition at line 1810 of file class.ilPageObject.php.
| ilPageObject::getMediaAliasElement | ( | $a_mob_id, | |
| $a_nr = 1 | |||
| ) | 
get complete media object (alias) element
Definition at line 1638 of file class.ilPageObject.php.
References $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getMultimediaXML | ( | ) | 
get a xml string that contains all media object elements, that are referenced by any media alias in the page
Definition at line 1617 of file class.ilPageObject.php.
References ilObject\_lookupType(), collectMediaObjects(), and IL_MODE_OUTPUT.
Referenced by getXMLFromDom().
 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:| 
 | static | 
Get new pages.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
Definition at line 4379 of file class.ilPageObject.php.
| & ilPageObject::getNode | ( | ) | 
Definition at line 976 of file class.ilPageObject.php.
References $node.
Referenced by insertContent(), and insertContentNode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getOfflineHandler | ( | ) | 
Get offline handler.
return
Definition at line 4021 of file class.ilPageObject.php.
References $offline_handler.
| ilPageObject::getPageConfig | ( | ) | 
Get page config object.
Definition at line 230 of file class.ilPageObject.php.
References $page_config.
Referenced by ilLMPage\afterConstructor(), ilSCORM2004Page\afterConstructor(), ilWikiPage\afterConstructor(), cutContents(), getEffectiveEditLockTime(), and insertContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getPageContentsHashes | ( | ) | 
Get page contents hashes.
Definition at line 3863 of file class.ilPageObject.php.
References $dom, $i, $res, ilPCParagraph\xml2output(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get all contributors for parent object.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
Definition at line 4480 of file class.ilPageObject.php.
References Vendor\Package\$c, $db, $DIC, $name, and ilObjUser\_lookupName().
Referenced by ilBlogPostingGUI\postOutputProcessing().
 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:| 
 | static | 
Get all pages for parent object that contain internal links.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
| int | $a_period | Time Period | 
Definition at line 4563 of file class.ilPageObject.php.
Referenced by ilLMPageObject\getPagesWithLinksList().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getParentId | ( | ) | 
Definition at line 524 of file class.ilPageObject.php.
References $parent_id.
Referenced by ilLMPage\afterConstructor(), ilSCORM2004Page\afterConstructor(), ilWikiPage\afterConstructor(), ilLMPage\afterUpdate(), ilGlossaryDefPage\beforePageContentUpdate(), ilLMPage\beforePageContentUpdate(), copy(), copyPageToTranslation(), createFromXML(), delete(), ilSCORM2004Page\exportXMLMetaData(), ilBlogPosting\getBlogId(), ilGlossaryDefPage\getRepoObjId(), getRepoObjId(), ilWikiPage\getWikiId(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get all contributors for parent object.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
Definition at line 4417 of file class.ilPageObject.php.
References Vendor\Package\$c, $db, $DIC, $name, ilObjUser\_lookupName(), and ilObject\_lookupType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | abstract | 
Get parent type.
Reimplemented in ilBlogPosting, ilContentPagePage, ilLOPage, ilDclDetailedViewDefinition, ilGlossaryDefPage, ilLMPage, ilMediaPoolPage, ilPortfolioPage, ilPortfolioTemplatePage, ilSCORM2004Page, ilAssHintPage, ilAssQuestionPage, ilAssGenFeedbackPage, ilAssSpecFeedbackPage, ilWikiPage, ilLoginPage, ilContainerPage, ilContainerStartObjectsPage, ilPageLayoutPage, and ilImprint.
Referenced by __construct(), compareVersion(), copy(), copyPageToTranslation(), createFromXML(), delete(), deleteInternalLinks(), getEditLockInfo(), getHistoryEntries(), getHistoryEntry(), getHistoryInfo(), getLastUpdateOfIncludedElements(), initPageConfig(), read(), resolveMediaAliases(), saveInternalLinks(), update(), updateFromXML(), and writeRenderedContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getQuestionIds | ( | ) | 
Get question ids.
Definition at line 3911 of file class.ilPageObject.php.
References $dom, $i, $res, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get recent pages changes for parent object.
| string | $a_parent_type | Parent Type | 
| int | $a_parent_id | Parent ID | 
| int | $a_period | Time Period | 
Definition at line 4281 of file class.ilPageObject.php.
References $db, $DIC, and ilUtil\sortArray().
Referenced by ilWikiRecentChangesTableGUI\getRecentChanges().
 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:| ilPageObject::getRenderedContent | ( | ) | 
Get Rendered Content.
Definition at line 270 of file class.ilPageObject.php.
| ilPageObject::getRenderedTime | ( | ) | 
Get Rendered Time.
Definition at line 290 of file class.ilPageObject.php.
| ilPageObject::getRenderMd5 | ( | ) | 
Get Render MD5.
Definition at line 250 of file class.ilPageObject.php.
| ilPageObject::getRepoObjId | ( | ) | 
Get object id of repository object that contains this page, return 0 if page does not belong to a repo object.
Reimplemented in ilGlossaryDefPage.
Definition at line 5142 of file class.ilPageObject.php.
References getParentId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::getShowActivationInfo | ( | ) | 
Get show page activation info.
Definition at line 350 of file class.ilPageObject.php.
Referenced by createFromXML(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getXMLContent | ( | $a_incl_head = false | ) | 
get xml content of page
Definition at line 1011 of file class.ilPageObject.php.
References $xml.
Referenced by buildDom(), createFromXML(), update(), and updateFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::getXMLFromDom | ( | $a_incl_head = false, | |
| $a_append_mobs = false, | |||
| $a_append_bib = false, | |||
| $a_append_str = "", | |||
| $a_omit_pageobject_tag = false | |||
| ) | 
get xml content of page from dom (use this, if any changes are made to the document)
Definition at line 1282 of file class.ilPageObject.php.
References $i, $mobs, $xml, getLanguageVariablesXML(), and getMultimediaXML().
Referenced by ilSCORM2004Page\exportXMLPageContent(), getFO(), and update().
 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:| ilPageObject::handleCopiedContent | ( | $a_dom, | |
| $a_self_ass = true, | |||
| $a_clone_mobs = false | |||
| ) | 
Handle copied content.
This function copies items, that must be copied, if page content is duplicated.
Currently called by
| $a_dom | ||
| bool | $a_self_ass | |
| bool | $a_clone_mobs | 
Definition at line 1067 of file class.ilPageObject.php.
References ilCOPagePCDef\getPCDefinitions(), newIIMCopies(), newMobCopies(), newQuestionCopies(), removeQuestions(), and ilCOPagePCDef\requirePCClassByName().
Referenced by copyXmlContent(), and pasteContents().
 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:| ilPageObject::handleImportRepositoryLink | ( | $a_rep_import_id, | |
| $a_rep_type, | |||
| $a_rep_ref_id | |||
| ) | 
Definition at line 2291 of file class.ilPageObject.php.
References $i, $res, $type, buildDom(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::handleRepositoryLinksOnCopy | ( | $a_mapping, | |
| $a_source_ref_id | |||
| ) | 
Handle repository links on copy process.
| array | $a_mapping | |
| int | $a_source_ref_id | 
Definition at line 2320 of file class.ilPageObject.php.
References $i, $obj_definition, $res, $tree, $type, $url, buildDom(), ILIAS_HTTP_PATH, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::increaseViewCnt | ( | ) | 
Increase view cnt.
Definition at line 4263 of file class.ilPageObject.php.
References $db.
| 
 | final | 
Init page config.
Definition at line 188 of file class.ilPageObject.php.
References ilPageObjectFactory\getConfigInstance(), getParentType(), and setPageConfig().
Referenced by __construct().
 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:| ilPageObject::insertContent | ( | & | $a_cont_obj, | 
| $a_pos, | |||
| $a_mode = IL_INSERT_AFTER, | |||
| $a_pcid = "" | |||
| ) | 
insert a content node before/after a sibling or as first child of a parent
Definition at line 3408 of file class.ilPageObject.php.
References getContentNode(), getNode(), getPageConfig(), IL_INSERT_AFTER, IL_INSERT_BEFORE, and IL_INSERT_CHILD.
Referenced by ilPCLearningHistory\create(), moveContentAfter(), and moveContentBefore().
 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:| ilPageObject::insertContentNode | ( | & | $a_cont_node, | 
| $a_pos, | |||
| $a_mode = IL_INSERT_AFTER, | |||
| $a_pcid = "" | |||
| ) | 
insert a content node before/after a sibling or as first child of a parent
Definition at line 3501 of file class.ilPageObject.php.
References getContentNode(), getNode(), IL_INSERT_AFTER, IL_INSERT_BEFORE, and IL_INSERT_CHILD.
Referenced by pasteContents().
 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:| ilPageObject::insertInstIntoIDs | ( | $a_inst, | |
| $a_res_ref_to_obj_id = true | |||
| ) | 
inserts installation id into ids (e.g.
il__pg_4 -> il_23_pg_4) this is needed for xml export of page
Definition at line 3639 of file class.ilPageObject.php.
References $i, $id, $res, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), xpath_eval(), and xpath_new_context().
Referenced by ilSCORM2004Page\exportXMLPageContent().
 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:| ilPageObject::insertPCIds | ( | ) | 
Insert Page Content IDs.
Definition at line 3833 of file class.ilPageObject.php.
References $dom, $i, $id, $node, $res, getAllPCIds(), xpath_eval(), and xpath_new_context().
Referenced by update().
 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:| ilPageObject::lookforhier | ( | $a_hier_id | ) | 
Definition at line 963 of file class.ilPageObject.php.
References $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Lookup parent id.
Definition at line 736 of file class.ilPageObject.php.
References $a_type, $db, $DIC, and $res.
Referenced by ilLMContentRendererGUI\determineStatus(), ilObjMediaObject\getParentObjectIdForUsage(), and ilLMPageGUI\processAnswer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup translations.
| string | $a_parent_type | parent type | 
| int | $a_id | page id | 
Definition at line 4794 of file class.ilPageObject.php.
Referenced by ilLearningModuleExporter\getXmlRepresentation(), ilCOPageExporter\getXmlRepresentation(), and ilLMObject\updateInternalLinks().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::moveContentAfter | ( | $a_source, | |
| $a_target, | |||
| $a_spcid = "", | |||
| $a_tpcid = "" | |||
| ) | 
move content object from position $a_source before position $a_target (both hierarchical content ids)
Definition at line 3601 of file class.ilPageObject.php.
References deleteContent(), getContentObject(), IL_INSERT_AFTER, insertContent(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::moveContentBefore | ( | $a_source, | |
| $a_target, | |||
| $a_spcid = "", | |||
| $a_tpcid = "" | |||
| ) | 
move content object from position $a_source before position $a_target (both hierarchical content ids)
Definition at line 3577 of file class.ilPageObject.php.
References deleteContent(), getContentObject(), IL_INSERT_BEFORE, insertContent(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::moveIntLinks | ( | $a_from_to | ) | 
Move internal links from one destination to another.
This is used for pages and structure links. Just use IDs in "from" and "to".
| array | keys are the old targets, values are the new targets | 
Definition at line 2103 of file class.ilPageObject.php.
References $changed, $i, $id, $res, $type, ilInternalLink\_extractObjIdOfTarget(), ilLMObject\_lookupType(), addHierIDs(), buildDom(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::needsImportParsing | ( | $a_parse = "" | ) | 
Definition at line 1460 of file class.ilPageObject.php.
References $needs_parsing.
| ilPageObject::newIIMCopies | ( | $temp_dom | ) | 
Replaces media objects in interactive images with copies of the interactive images.
Definition at line 1138 of file class.ilPageObject.php.
References $i, $res, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), xpath_eval(), and xpath_new_context().
Referenced by handleCopiedContent().
 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:| ilPageObject::newMobCopies | ( | $temp_dom | ) | 
Replaces media objects with copies.
Definition at line 1171 of file class.ilPageObject.php.
References $i, $res, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), xpath_eval(), and xpath_new_context().
Referenced by handleCopiedContent().
 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:| ilPageObject::newQuestionCopies | ( | & | $temp_dom | ) | 
Replaces existing question content elements with new copies.
Definition at line 1205 of file class.ilPageObject.php.
References $i, $res, _exists(), ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), assQuestion\_instantiateQuestion(), xpath_eval(), and xpath_new_context().
Referenced by handleCopiedContent().
 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:| ilPageObject::pasteContents | ( | $a_hier_id, | |
| $a_self_ass = false | |||
| ) | 
Paste contents from pc clipboard.
Definition at line 3223 of file class.ilPageObject.php.
References Vendor\Package\$c, Vendor\Package\$e, $i, $res, $user, DOMXML_LOAD_PARSING, domxml_open_mem(), handleCopiedContent(), IL_INSERT_AFTER, insertContentNode(), update(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::performAutomaticModifications | ( | ) | 
Perform automatic modifications (may be overwritten by sub classes)
Reimplemented in ilSCORM2004Page.
Definition at line 4611 of file class.ilPageObject.php.
Referenced by update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Preload activation data by Parent Id.
| integer | $a_parent_id | parent id | 
Definition at line 582 of file class.ilPageObject.php.
Referenced by ilLMExplorerGUI\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::read | ( | ) | 
Read page data.
Reimplemented in ilBlogPosting, ilMediaPoolPage, ilPortfolioPage, and ilSCORM2004Page.
Definition at line 358 of file class.ilPageObject.php.
References $query, getLanguage(), getParentType(), setActivationEnd(), setActivationStart(), setActive(), setLastChange(), setParentId(), setRenderedContent(), setRenderedTime(), setRenderMd5(), and setShowActivationInfo().
Referenced by __construct(), and ilWikiPage\createFromXML().
 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:| ilPageObject::registerOfflineHandler | ( | $handler | ) | 
Definition at line 4010 of file class.ilPageObject.php.
| ilPageObject::releasePageLock | ( | ) | 
Release page lock.
Definition at line 4878 of file class.ilPageObject.php.
| ilPageObject::removeQuestions | ( | & | $temp_dom | ) | 
Remove questions from document.
return
Definition at line 1248 of file class.ilPageObject.php.
References $i, $res, xpath_eval(), and xpath_new_context().
Referenced by handleCopiedContent().
 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:| ilPageObject::resolveFileItems | ( | $a_mapping | ) | 
Resolve file items (after import)
| array | mapping array | 
Definition at line 2049 of file class.ilPageObject.php.
References $changed, $i, $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::resolveIIMMediaAliases | ( | $a_mapping | ) | 
Resolve iim media aliases (in ilContObjParse)
| array | mapping array | 
Definition at line 2023 of file class.ilPageObject.php.
References $changed, $i, $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::resolveIntLinks | ( | $a_link_map = null | ) | 
Resolves all internal link targets of the page, if targets are available (after import)
Definition at line 1906 of file class.ilPageObject.php.
References $changed, $i, $res, $type, ilInternalLink\_exists(), ilInternalLink\_extractInstOfTarget(), ilInternalLink\_getIdForImportId(), ilInternalLink\_removeInstFromTarget(), ilMediaItem\_resolveMapAreaLinks(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::resolveMediaAliases | ( | $a_mapping, | |
| $a_reuse_existing_by_import = false | |||
| ) | 
Resolve media aliases (after import)
| array | mapping array | 
Definition at line 1970 of file class.ilPageObject.php.
References $changed, $i, $res, ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupImportId(), ilObject\_lookupType(), getId(), getParentType(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::resolveQuestionReferences | ( | $a_mapping | ) | 
Resolve all quesion references (after import)
Definition at line 2075 of file class.ilPageObject.php.
References $i, $res, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::resolveResources | ( | $ref_mapping | ) | 
Resolve resources.
Definition at line 5132 of file class.ilPageObject.php.
References ilPCResources\resolveResources().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::saveInitialOpenedContent | ( | $a_type, | |
| $a_id, | |||
| $a_target | |||
| ) | 
Save initial opened content.
Definition at line 4621 of file class.ilPageObject.php.
References $a_type, $i, $res, buildDom(), update(), xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::saveInternalLinks | ( | $a_domdoc | ) | 
save internal links of page
| string | xml page code | 
Reimplemented in ilWikiPage.
Definition at line 3015 of file class.ilPageObject.php.
References $node, $target_arr, ilInternalLink\_saveLink(), deleteInternalLinks(), getId(), getLanguage(), and getParentType().
Referenced by __afterUpdate().
 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:| ilPageObject::saveStyleUsage | ( | $a_domdoc, | |
| $a_old_nr = 0 | |||
| ) | 
Save all style class/template usages.
| string | $a_xml | xml data of page | 
Definition at line 2848 of file class.ilPageObject.php.
References $id, $node, and deleteStyleUsages().
Referenced by __afterHistoryEntry(), and __afterUpdate().
 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:| ilPageObject::send_paragraph | ( | $par_id, | |
| $filename | |||
| ) | 
Definition at line 3939 of file class.ilPageObject.php.
References $dom, $filename, $res, ilUtil\deliverData(), exit, xpath_eval(), and xpath_new_context().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::setActivationEnd | ( | $a_activationend | ) | 
Set Activation End.
| date | $a_activationend | Activation End | 
Definition at line 792 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setActivationStart | ( | $a_activationstart | ) | 
Set Activation Start.
| date | $a_activationstart | Activation Start | 
Definition at line 769 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setActive | ( | $a_active | ) | 
set activation
| boolean | $a_active | true/false for active or not | 
Definition at line 553 of file class.ilPageObject.php.
Referenced by __construct(), read(), and ilBlogPosting\unpublish().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setContainsIntLink | ( | $a_contains_link | ) | 
lm parser set this flag to true, if the page contains intern links (this method should only be called by the import parser)
todo: move to ilLMPageObject !?
| boolean | $a_contains_link | true, if page contains intern link tag(s) | 
Definition at line 1425 of file class.ilPageObject.php.
| ilPageObject::setContainsQuestion | ( | $a_val | ) | 
Set contains question.
| boolean | $a_val | contains question | 
Definition at line 1477 of file class.ilPageObject.php.
| ilPageObject::setId | ( | $a_id | ) | 
set id
Definition at line 509 of file class.ilPageObject.php.
Referenced by ilBlogPosting\create(), ilPortfolioPage\create(), and ilWikiPage\create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setImportMode | ( | $a_val | ) | 
Set import mode.
| bool | $a_val | import mode | 
Definition at line 1445 of file class.ilPageObject.php.
| ilPageObject::setLanguage | ( | $a_val | ) | 
Set language.
| string | $a_val | language code or "-" for unknown / not set | 
Definition at line 200 of file class.ilPageObject.php.
References language().
Referenced by __construct().
 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:| ilPageObject::setLastChange | ( | $a_lastchange | ) | 
Set Last Change.
| string | $a_lastchange | Last Change | 
Definition at line 300 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setLastChangeUser | ( | $a_val | ) | 
Set last change user.
| integer | $a_val | last change user | 
Definition at line 320 of file class.ilPageObject.php.
| ilPageObject::setPageConfig | ( | $a_val | ) | 
Set page config object.
| object | $a_val | page config object | 
Definition at line 220 of file class.ilPageObject.php.
Referenced by initPageConfig().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setParagraphContent | ( | $a_hier_id, | |
| $a_content | |||
| ) | 
Set content of paragraph.
| string | $a_hier_id | Hier ID | 
| string | $a_content | Content | 
Definition at line 1405 of file class.ilPageObject.php.
References $a_content, $node, and getContentNode().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::setParentId | ( | $a_id | ) | 
Definition at line 519 of file class.ilPageObject.php.
Referenced by read(), ilBlogPosting\setBlogId(), and ilWikiPage\setWikiId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setRenderedContent | ( | $a_renderedcontent | ) | 
Set Rendered Content.
| string | $a_renderedcontent | Rendered Content | 
Definition at line 260 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setRenderedTime | ( | $a_renderedtime | ) | 
Set Rendered Time.
| string | $a_renderedtime | Rendered Time | 
Definition at line 280 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setRenderMd5 | ( | $a_rendermd5 | ) | 
Set Render MD5.
| string | $a_rendermd5 | Render MD5 | 
Definition at line 240 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setShowActivationInfo | ( | $a_val | ) | 
Set show page activation info.
| bool | $a_val | show page actication info | 
Definition at line 340 of file class.ilPageObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::setXMLContent | ( | $a_xml, | |
| $a_encoding = "UTF-8" | |||
| ) | 
set xml content of page, start with <PageObject...>, end with </PageObject>, comply with ILIAS DTD, omit MetaData, use utf-8!
| string | $a_xml | xml content | 
| string | $a_encoding | encoding of the content (here is no conversion done! it must be already utf-8 encoded at the time) | 
Definition at line 990 of file class.ilPageObject.php.
Referenced by createFromXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageObject::stripHierIDs | ( | ) | 
strip all hierarchical id attributes out of the dom tree
Definition at line 1827 of file class.ilPageObject.php.
References $i, $res, xpath_eval(), and xpath_new_context().
Referenced by validateDom().
 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:| ilPageObject::switchEnableMultiple | ( | $a_hids, | |
| $a_update = true, | |||
| $a_self_ass = false | |||
| ) | 
(De-)activate elements
Definition at line 3266 of file class.ilPageObject.php.
References checkForTag(), getContentNode(), getContentObject(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Truncate (html) string.
| string | $a_text | |
| int | $a_length | |
| string | $a_ending | |
| bool | $a_exact | |
| bool | $a_consider_html | 
Definition at line 4946 of file class.ilPageObject.php.
References ilStr\shortenText().
Referenced by ilLearningModuleNotification\getPreviewText(), ilBlogPostingGUI\getSnippet(), and ilWikiUtil\sendNotification().
 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:| ilPageObject::update | ( | $a_validate = true, | |
| $a_no_history = false | |||
| ) | 
update complete page content in db (dom xml content is used)
Reimplemented in ilMediaPoolPage, ilPortfolioPage, ilSCORM2004Page, and ilWikiPage.
Definition at line 2587 of file class.ilPageObject.php.
References $errors, $lm_set, __afterHistoryEntry(), __afterUpdate(), checkPCIds(), containsDeactivatedElements(), containsIntLinks(), ilDatePresentation\formatDate(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getEditLock(), getEditLockInfo(), getId(), getLanguage(), ilUserUtil\getNamePresentation(), getParentId(), getParentType(), getShowActivationInfo(), getXMLContent(), getXMLFromDom(), IL_CAL_UNIX, ILIAS_VERSION_NUMERIC, insertPCIds(), ilUtil\now(), performAutomaticModifications(), user(), and validateDom().
Referenced by deleteContent(), deleteContentBeforeHierId(), deleteContentFromHierId(), deleteContents(), moveContentAfter(), moveContentBefore(), pasteContents(), saveInitialOpenedContent(), and switchEnableMultiple().
 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:| ilPageObject::updateFromXML | ( | ) | 
Updates page object with current xml content.
This function is currently (4.4.0 alpha) called by:
Definition at line 2499 of file class.ilPageObject.php.
References __afterUpdate(), buildDom(), containsDeactivatedElements(), containsIntLinks(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getId(), getLanguage(), getParentId(), getParentType(), getXMLContent(), ilUtil\now(), and user().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageObject::validateDom | ( | ) | 
Validate the page content agains page DTD.
Definition at line 1654 of file class.ilPageObject.php.
References stripHierIDs().
Referenced by update().
 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:| ilPageObject::writeRenderedContent | ( | $a_content, | |
| $a_md5 | |||
| ) | 
Write rendered content.
Definition at line 4539 of file class.ilPageObject.php.
References $a_content, $db, $DIC, getId(), getLanguage(), getParentType(), and ilUtil\now().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | staticprotected | 
Definition at line 101 of file class.ilPageObject.php.
| 
 | protected | 
Definition at line 121 of file class.ilPageObject.php.
Referenced by getActive().
| ilPageObject::$contains_int_link | 
Definition at line 83 of file class.ilPageObject.php.
Referenced by containsIntLink().
| ilPageObject::$cur_dtd = "ilias_pg_5_4.dtd" | 
Definition at line 82 of file class.ilPageObject.php.
| 
 | protected | 
Definition at line 57 of file class.ilPageObject.php.
Referenced by _exists(), _isScheduledActivation(), _lookupActivationData(), _lookupActive(), _lookupContainsDeactivatedElements(), _writeActive(), _writeParentId(), ilBlogPosting\create(), ilPortfolioPage\create(), ilWikiPage\create(), ilSCORM2004Page\create(), ilWikiPage\createFromXML(), ilBlogPosting\delete(), ilMediaPoolPage\delete(), ilPortfolioPage\delete(), ilSCORM2004Page\delete(), ilWikiPage\delete(), getAllPages(), getEditLock(), getEditLockInfo(), getHistoryEntries(), getHistoryEntry(), getHistoryInfo(), getLastChangeByParent(), getNewPages(), getPageContributors(), getPagesWithLinks(), getParentObjectContributors(), getRecentChanges(), increaseViewCnt(), ilBlogPosting\lookup(), lookupParentId(), lookupTranslations(), preloadActivationDataByParentId(), ilWikiPage\read(), ilBlogPosting\read(), ilMediaPoolPage\read(), ilPortfolioPage\read(), ilSCORM2004Page\read(), releasePageLock(), ilWikiPage\rename(), ilWikiPage\saveInternalLinks(), ilMediaPoolPage\update(), ilPortfolioPage\update(), ilSCORM2004Page\update(), ilWikiPage\update(), ilBlogPosting\update(), and writeRenderedContent().
| ilPageObject::$dom | 
Definition at line 78 of file class.ilPageObject.php.
Referenced by checkPCIds(), existsPCId(), getAllPCIds(), getDom(), getDomDoc(), getPageContentsHashes(), ilPortfolioTemplatePage\getPageDiskSize(), getQuestionIds(), insertPCIds(), and send_paragraph().
| ilPageObject::$dom_builded | 
Definition at line 90 of file class.ilPageObject.php.
| ilPageObject::$encoding | 
Definition at line 80 of file class.ilPageObject.php.
| 
 | static | 
Definition at line 52 of file class.ilPageObject.php.
| ilPageObject::$history_saved | 
Definition at line 91 of file class.ilPageObject.php.
| 
 | protected | 
Definition at line 77 of file class.ilPageObject.php.
Referenced by addFileSizes(), ilBlogPosting\create(), ilPortfolioPage\create(), ilWikiPage\create(), ilPortfolioPage\delete(), ilBlogPosting\deleteAllBlogPostings(), ilDclDetailedViewDefinition\exists(), generatePcId(), getId(), getInitialOpenedContent(), getInternalLinks(), insertInstIntoIDs(), insertPCIds(), ilDclDetailedViewDefinition\isActive(), moveIntLinks(), saveStyleUsage(), and ilPortfolioPage\update().
| 
 | protected | 
Definition at line 106 of file class.ilPageObject.php.
Referenced by getImportMode().
| 
 | protected | 
Definition at line 96 of file class.ilPageObject.php.
Referenced by getLanguage().
| 
 | protected | 
Definition at line 67 of file class.ilPageObject.php.
Referenced by ilPortfolioPage\getAllPortfolioPages(), ilPortfolioPage\getTitle(), and ilBlogPosting\handleNews().
| 
 | protected | 
Definition at line 111 of file class.ilPageObject.php.
| ilPageObject::$needs_parsing | 
Definition at line 84 of file class.ilPageObject.php.
Referenced by needsImportParsing().
| ilPageObject::$node | 
Definition at line 81 of file class.ilPageObject.php.
Referenced by getAllPCIds(), getContentNode(), getNode(), ilPortfolioTemplatePage\getPageDiskSize(), insertPCIds(), ilSCORM2004Page\removeInvalidLinks(), saveInternalLinks(), saveStyleUsage(), and setParagraphContent().
| 
 | protected | 
Definition at line 50 of file class.ilPageObject.php.
Referenced by handleRepositoryLinksOnCopy().
| ilPageObject::$offline_handler | 
Definition at line 89 of file class.ilPageObject.php.
Referenced by getOfflineHandler().
| 
 | protected | 
Definition at line 126 of file class.ilPageObject.php.
Referenced by getPageConfig().
| 
 | protected | 
Definition at line 116 of file class.ilPageObject.php.
| ilPageObject::$parent_id | 
Definition at line 86 of file class.ilPageObject.php.
Referenced by getParentId().
| ilPageObject::$parent_type | 
Definition at line 85 of file class.ilPageObject.php.
| 
 | protected | 
Definition at line 72 of file class.ilPageObject.php.
Referenced by handleRepositoryLinksOnCopy().
| ilPageObject::$update_listener_cnt | 
Definition at line 88 of file class.ilPageObject.php.
Referenced by addUpdateListener(), and callUpdateListeners().
| ilPageObject::$update_listeners | 
Definition at line 87 of file class.ilPageObject.php.
| 
 | protected | 
Definition at line 62 of file class.ilPageObject.php.
Referenced by copyContents(), getEditLock(), ilBlogPosting\handleNews(), pasteContents(), releasePageLock(), ilBlogPosting\updateKeywords(), and ilWikiPage\updateNews().
| ilPageObject::$xml | 
Definition at line 79 of file class.ilPageObject.php.
Referenced by ilWikiPage\afterUpdate(), appendLangVarXML(), copyXmlContent(), ilSCORM2004Page\exportXMLPageContent(), getFO(), getLanguageVariablesXML(), getXMLContent(), getXMLFromDom(), and ilWikiPage\saveInternalLinks().