|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD) More...
Inheritance diagram for ilPageObject:
Collaboration diagram for ilPageObject:Public Member Functions | |
| __construct (int $a_id=0, int $a_old_nr=0, string $a_lang="-") | |
| setContentIdManager (\ILIAS\COPage\ID\ContentIdManager $content_id_manager) | |
| afterConstructor () | |
| getParentType () | |
| initPageConfig () | |
| setLanguage (string $a_val) | |
| Set language. More... | |
| getLanguage () | |
| setPageConfig (ilPageConfig $a_val) | |
| setConcreteLang (string $a_val) | |
| getConcreteLang () | |
| getPageConfig () | |
| setRenderMd5 (string $a_rendermd5) | |
| getRenderMd5 () | |
| setRenderedContent (string $a_renderedcontent) | |
| getRenderedContent () | |
| setRenderedTime (string $a_renderedtime) | |
| getRenderedTime () | |
| setLastChange (string $a_lastchange) | |
| getLastChange () | |
| setLastChangeUser (int $a_val) | |
| getLastChangeUser () | |
| setShowActivationInfo (bool $a_val) | |
| getShowActivationInfo () | |
| getCreationUserId () | |
| read () | |
| Read page data. More... | |
| buildDom (bool $a_force=false) | |
| freeDom () | |
| getDomDoc () | |
| Get dom doc (DOMDocument) More... | |
| setId (int $a_id) | |
| getId () | |
| setParentId (int $a_id) | |
| getParentId () | |
| addUpdateListener (object $a_object, string $a_method, $a_parameters="") | |
| callUpdateListeners () | |
| setActive (bool $a_active) | |
| getActive (bool $a_check_scheduled_activation=false) | |
| setActivationStart (?string $a_activationstart) | |
| getActivationStart () | |
| setActivationEnd (?string $a_activationend) | |
| Set Activation End. More... | |
| getActivationEnd () | |
| getContentObject (string $a_hier_id, string $a_pc_id="") | |
| Get a content object of the page. More... | |
| getContentObjectForPcId (string $pcid) | |
| Get content object for pc id. More... | |
| getParentContentObjectForPcId (string $pcid) | |
| Get parent content object for pc id. More... | |
| getContentDomNode (string $a_hier_id, string $a_pc_id="") | |
| getDomNodeForPCId (string $pc_id) | |
| setXMLContent (string $a_xml, string $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 (string $a_xml) | |
append xml content to page setXMLContent must be called before and the same encoding must be used s More... | |
| getXMLContent (bool $a_incl_head=false) | |
| get xml content of page More... | |
| copyXmlContent (bool $a_clone_mobs=false, int $a_new_parent_id=0, int $obj_copy_id=0, bool $self_ass=true) | |
| Copy content of page; replace page components with copies where necessary (e.g. More... | |
| handleDeleteContent (?DOMNode $a_node=null, $move_operation=false) | |
| Handle content before deletion This currently treats only plugged content If no node is given, then the whole dom will be scanned. More... | |
| getXMLFromDom (bool $a_incl_head=false, bool $a_append_mobs=false, bool $a_append_bib=false, string $a_append_str="", bool $a_omit_pageobject_tag=false, int $style_id=0, bool $offline=false) | |
| get xml content of page from dom (use this, if any changes are made to the document) More... | |
| getLanguageVariablesXML (int $style_id=0) | |
| Get language variables as XML. More... | |
| getFirstParagraphText () | |
| getParagraphForPCID (string $pcid) | |
| setContainsIntLink (bool $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 !? 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 (bool $a_val) | |
| getImportMode () | |
| needsImportParsing (?bool $a_parse=null) | |
| setContainsQuestion (bool $a_val) | |
| getContainsQuestion () | |
| collectMediaObjects (bool $a_inline_only=true) | |
| get all media objects, that are referenced and used within the page More... | |
| getInternalLinks () | |
| get all internal links that are used within the page More... | |
| getMultimediaXML (bool $offline=false) | |
| get a xml string that contains all media object elements, that are referenced by any media alias in the page More... | |
| getMediaAliasElement (int $a_mob_id, int $a_nr=1) | |
| get complete media object (alias) element More... | |
| validateDom (bool $throw=false) | |
| Validate the page content agains page DTD. More... | |
| addHierIDs () | |
| Add hierarchical ID (e.g. More... | |
| getHierIds () | |
| stripHierIDs () | |
| stripPCIDs () | |
| getHierIdsForPCIds (array $a_pc_ids) | |
| Get hier ids for a set of pc ids. More... | |
| getHierIdForPcId (string $pcid) | |
| getPCIdsForHierIds (array $hier_ids) | |
| Get hier ids for a set of pc ids. More... | |
| getPCIdForHierId (string $hier_id) | |
| addFileSizes () | |
| add file sizes More... | |
| resolveIntLinks (array $a_link_map=null) | |
| Resolves all internal link targets of the page, if targets are available (after import) More... | |
| resolveMediaAliases (array $a_mapping, bool $a_reuse_existing_by_import=false) | |
| Resolve media aliases (after import) More... | |
| resolveIIMMediaAliases (array $a_mapping) | |
| Resolve iim media aliases (in ilContObjParse) More... | |
| resolveFileItems (array $a_mapping) | |
| Resolve file items (after import) More... | |
| resolveQuestionReferences (array $a_mapping) | |
| Resolve all quesiont references (after import) More... | |
| moveIntLinks (array $a_from_to) | |
| Move internal links from one destination to another. More... | |
| handleRepositoryLinksOnCopy (array $a_mapping, int $a_source_ref_id) | |
| Handle repository links on copy process. More... | |
| setEmptyPageXml () | |
| createFromXML () | |
| Create new page object with current xml content. More... | |
| updateFromXML () | |
| Updates page object with current xml content This function is currently (8 beta) called by: More... | |
| afterUpdate (DOMDocument $domdoc, string $xml) | |
| After update. More... | |
| update (bool $a_validate=true, bool $a_no_history=false) | |
| update complete page content in db (dom xml content is used) More... | |
| delete () | |
| saveStyleUsage (DOMDocument $a_domdoc, int $a_old_nr=0) | |
| Save all style class/template usages. More... | |
| deleteStyleUsages (int $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 (DOMDocument $a_domdoc) | |
| save internal links of page More... | |
| create (bool $a_import=false) | |
| create new page (with current xml data) More... | |
| deleteContent (string $a_hid, bool $a_update=true, string $a_pcid="", bool $move_operation=false) | |
| delete content object with hierarchical id $a_hid More... | |
| deleteContents (array $a_hids, bool $a_update=true, bool $a_self_ass=false, bool $move_operation=false) | |
| Delete multiple content objects. More... | |
| cutContents (array $a_hids) | |
| Copy contents to clipboard and cut them from the page. More... | |
| copyContents (array $a_hids) | |
| Copy contents to clipboard. More... | |
| pasteContents (string $a_hier_id, bool $a_self_ass=false) | |
| Paste contents from pc clipboard. More... | |
| switchEnableMultiple (array $a_hids, bool $a_update=true, bool $a_self_ass=false) | |
| (De-)activate elements More... | |
| insertContent (ilPageContent $a_cont_obj, string $a_pos, int $a_mode=IL_INSERT_AFTER, string $a_pcid="", bool $remove_placeholder=true) | |
| insert a content node before/after a sibling or as first child of a parent More... | |
| insertContentNode (DOMNode $a_cont_node, string $a_pos, int $a_mode=IL_INSERT_AFTER, string $a_pcid="") | |
| insert a content node before/after a sibling or as first child of a parent More... | |
| moveContentAfter (string $a_source, string $a_target, string $a_spcid="", string $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids) More... | |
| insertInstIntoIDs (string $a_inst, bool $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... | |
| hasDuplicatePCIds () | |
| getDuplicatePCIds () | |
| Get all duplicate PC Ids. More... | |
| generatePCId () | |
| insertPCIds () | |
| Insert Page Content IDs. More... | |
| sendParagraph (string $par_id, string $filename) | |
| registerOfflineHandler (object $handler) | |
| getOfflineHandler () | |
| containsDeactivatedElements (string $a_content) | |
| Check whether content contains deactivated elements. More... | |
| getHistoryEntries () | |
| Get History Entries. More... | |
| getHistoryEntry (int $a_old_nr) | |
| Get History Entry. More... | |
| getHistoryInfo (int $a_nr) | |
| Get information about a history entry, its predecessor and its successor. More... | |
| preparePageForCompare (ilPageObject $page) | |
| increaseViewCnt () | |
| Increase view cnt. More... | |
| writeRenderedContent (string $a_content, string $a_md5) | |
| Write rendered content. More... | |
| containsIntLinks (string $a_content) | |
| Check whether content contains internal links. More... | |
| performAutomaticModifications () | |
| Perform automatic modifications (may be overwritten by sub classes) More... | |
| saveInitialOpenedContent (string $a_type, int $a_id, string $a_target) | |
| Save initial opened content. More... | |
| getInitialOpenedContent () | |
| Get initial opened content. More... | |
| beforePageContentUpdate (ilPageContent $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. More... | |
| copy (int $a_id, string $a_parent_type="", int $a_new_parent_id=0, bool $a_clone_mobs=false, int $obj_copy_id=0, bool $overwrite_existing=true) | |
| Copy page. More... | |
| copyPageToTranslation (string $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 () | |
| resolveResources (array $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... | |
| getPCModel () | |
| Get page component model. More... | |
| assignCharacteristic (array $targets, string $char_par, string $char_sec, string $char_med) | |
| Assign characteristic. More... | |
Static Public Member Functions | |
| static | _exists (string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false) |
| Checks whether page exists. More... | |
| static | _existsAndNotEmpty (string $a_parent_type, int $a_id, string $a_lang="-") |
| Checks whether page exists and is not empty (may return true on some empty pages) More... | |
| static | preloadActivationDataByParentId (int $a_parent_id) |
| Preload activation data by Parent Id. More... | |
| static | _lookupActive (int $a_id, string $a_parent_type, bool $a_check_scheduled_activation=false, string $a_lang="-") |
| lookup activation status More... | |
| static | _isScheduledActivation (int $a_id, string $a_parent_type, string $a_lang="-") |
| Check whether page is activated by time schedule. More... | |
| static | _writeActive (int $a_id, string $a_parent_type, bool $a_active) |
| write activation status More... | |
| static | _lookupActivationData (int $a_id, string $a_parent_type, string $a_lang="-") |
| Lookup activation data. More... | |
| static | lookupParentId (int $a_id, string $a_type) |
| static | _writeParentId (string $a_parent_type, int $a_pg_id, int $a_par_id) |
| static | _lookupContainsDeactivatedElements (int $a_id, string $a_parent_type, string $a_lang="-") |
| lookup whether page contains deactivated elements More... | |
| static | getRecentChanges (string $a_parent_type, int $a_parent_id, int $a_period=30, string $a_lang="") |
| Get recent pages changes for parent object. More... | |
| static | getAllPages (string $a_parent_type, int $a_parent_id, string $a_lang="-") |
| Get all pages for parent object. More... | |
| static | getNewPages (string $a_parent_type, int $a_parent_id, string $a_lang="-") |
| Get new pages. More... | |
| static | getParentObjectContributors (string $a_parent_type, int $a_parent_id, string $a_lang="-") |
| Get all contributors for parent object. More... | |
| static | getPageContributors (string $a_parent_type, int $a_page_id, string $a_lang="-") |
| Get all contributors for parent object. More... | |
| static | getPagesWithLinks (string $a_parent_type, int $a_parent_id, string $a_lang="-") |
| Get all pages for parent object that contain internal links. More... | |
| static | lookupTranslations (string $a_parent_type, int $a_id) |
| Lookup translations. More... | |
| static | truncateHTML (string $a_text, int $a_length=100, string $a_ending='...', bool $a_exact=false, bool $a_consider_html=true) |
| Truncate (html) string. More... | |
| static | getLastChangeByParent (string $a_parent_type, int $a_parent_id, string $a_lang="") |
| Get all pages for parent object. More... | |
Data Fields | |
| int | $old_nr |
| DOMDocument | $dom = null |
| string | $xml = "" |
| string | $encoding = "" |
| DomNode | $node |
| string | $cur_dtd = "ilias_pg_9.dtd" |
| bool | $contains_int_link = false |
| bool | $needs_parsing = false |
| string | $parent_type = "" |
| int | $parent_id = 0 |
| array | $update_listeners = [] |
| int | $update_listener_cnt = 0 |
| object | $offline_handler = null |
| bool | $dom_builded = false |
| bool | $history_saved = false |
| int | $last_change_user = 0 |
Static Public Attributes | |
| static array | $exists = array() |
Protected Member Functions | |
| getIliasAbsolutePath () | |
| getLangVarXML (string $var) | |
| __afterUpdate (DOMDocument $a_domdoc, string $a_xml, bool $a_creation=false, bool $a_empty=false) | |
| After update event handler (internal). More... | |
| isTranslationPage () | |
| __beforeDelete () | |
| Before deletion handler (internal). More... | |
| __afterDelete () | |
| afterDelete () | |
| __afterHistoryEntry (DOMDocument $a_old_domdoc, string $a_old_content, int $a_old_nr) | |
| getContentManager () | |
| setCopyProperties (ilPageObject $new_page) | |
| setTranslationProperties (self $transl_page) | |
Protected Attributes | |
| ILIAS COPage Dom DomUtil | $dom_util |
| ILIAS COPage Link LinkManager | $link |
| ILIAS COPage PC PCDefinition | $pc_definition |
| int | $create_user = 0 |
| array | $id_elements |
| bool | $page_not_found = false |
| bool | $show_page_act_info = false |
| ilObjectDefinition | $obj_definition |
| ilDBInterface | $db |
| ilObjUser | $user |
| ilLanguage | $lng |
| ilTree | $tree |
| LOMServices | $lom_services |
| int | $id |
| string | $language = "-" |
| bool | $import_mode = false |
| ilLogger | $log |
| array | $page_record = array() |
| bool | $active = false |
| ilPageConfig | $page_config |
| string | $rendermd5 = "" |
| string | $renderedcontent = "" |
| string | $renderedtime = "" |
| string | $lastchange = "" |
| bool | $contains_question = false |
| array | $hier_ids = [] |
| string | $activationstart = null |
| string | $activationend = null |
| ILIAS COPage ReadingTime ReadingTimeManager | $reading_time_manager |
| $concrete_lang = "" | |
| ILIAS COPage ID ContentIdManager | $content_id_manager |
| ILIAS COPage Page PageManager | $page_manager |
| ILIAS COPage Style StyleManager | $style_manager |
| ILIAS COPage PC DomainService | $pc_service |
Static Protected Attributes | |
| static array | $activation_data = array() |
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition at line 52 of file class.ilPageObject.php.
|
final |
Definition at line 110 of file class.ilPageObject.php.
References $DIC, afterConstructor(), ilLoggerFactory\getLogger(), getParentType(), initPageConfig(), ILIAS\Repository\link(), ILIAS\Repository\lng(), read(), setActive(), setLanguage(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
finalprotected |
Definition at line 1681 of file class.ilPageObject.php.
References afterDelete().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
Definition at line 1690 of file class.ilPageObject.php.
References saveStyleUsage().
Referenced by update().
Here is the call 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 1370 of file class.ilPageObject.php.
References afterUpdate(), callUpdateListeners(), saveInternalLinks(), and saveStyleUsage().
Referenced by createFromXML(), update(), and updateFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
Before deletion handler (internal).
Definition at line 1671 of file class.ilPageObject.php.
Referenced by delete().
Here is the caller graph for this function:
|
static |
Checks whether page exists.
| string | $a_lang | language code, if empty language independent existence is checked |
Definition at line 335 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilDashboardPageGUI\__construct(), ilDclDetailedViewDefinitionGUI\__construct(), ilImprintGUI\__construct(), ilInternalLink\_exists(), ilContainer\_exportContainerSettings(), ilPageObjectGUI\checkLangPageAvailable(), ilObjContentObject\checkStructure(), ILIAS\Wiki\Export\BlogHtmlExport\collectAllPagesPageElements(), copy(), ilObjectCopyGUI\copyParentPage(), ilObjForum\delete(), ilObjMediaPool\deleteChild(), assQuestion\deletePageOfQuestion(), ilObjContentPage\doCloneObject(), ilObjContentPage\doDelete(), ILIAS\ContentPage\PageMetrics\PageMetricsService\doesPageExistsForLanguage(), ilForumPageCommandForwarder\doesPageExistsForLanguage(), ilContentPagePageCommandForwarder\doesPageExistsForLanguage(), assQuestion\ensureHintPageObjectExists(), ilAssQuestionFeedback\ensurePageObjectDeleted(), ilAssQuestionFeedbackPageObjectCommandForwarder\ensurePageObjectExists(), ilAssQuestionHintPageObjectCommandForwarder\ensurePageObjectExists(), ilAssQuestionFeedback\ensurePageObjectExists(), ilLMPageObjectGUI\executeCommand(), ilContainerStartObjectsGUI\executeCommand(), ilLOEditorGUI\executeCommand(), ilObjectCopyGUI\executeNextStepAfterSourceSelection(), ILIAS\Portfolio\Export\PortfolioHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPages(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ILIAS\Portfolio\Export\PortfolioHtmlExport\exportHTMLPagesPrint(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPagesPrint(), ilObjContentObject\exportXMLPageObjects(), ilLearningModuleImporter\finalProcessing(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilObjContentObject\fixTree(), ilContainerGUI\forwardToPageObject(), ilObjUser\getClipboardObjects(), ilContainer\getCompleteDescriptions(), ilObjectTranslation\getEffectiveContentLang(), ilPageMultiLang\getEffectiveLang(), ilPageLayout\getLayoutsAsArray(), ilLMPresentationGUI\getLMPage(), ilLMContentRendererGUI\getLMPageGUI(), ilLMPresentationGUI\getLMPageGUI(), ilContainerExporter\getXmlExportTailDependencies(), ilLearningSequenceExporter\getXmlExportTailDependencies(), ilPCQuestion\handleCopiedContent(), ilObjLearningSequence\hasContentPage(), ilCOPageImporter\importXmlRepresentation(), ilMediaPoolPage\lookupUsages(), ilObjMediaObject\lookupUsages(), ilPCContentInclude\modifyPageContentPostXsl(), ilQuestionPageParser\processPagesToParse(), ilWikiPage\rename(), ilObjForum\update(), ilObjContentObject\validatePages(), and ilContainerXmlWriter\writeSubitems().
Here is the call 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)
Definition at line 369 of file class.ilPageObject.php.
References ilPageUtil\_existsAndNotEmpty().
Referenced by ilDashboardPageGUI\isLanguageAvailable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check whether page is activated by time schedule.
Definition at line 552 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilLMPagesTableGUI\fillRow(), ILIAS\LearningModule\Table\SubObjectRetrieval\getData(), ilLMEditorExplorerGUI\getNodeIcon(), and ilLMTOCExplorerGUI\getNodeIcon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup activation data.
Definition at line 614 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilLMPageObject\_getPresentationTitle(), ilLMTracker\_isNodeVisible(), ilLMNavigationStatus\determineStatus(), ilLMNavigationStatus\getPredecessorPageId(), ilLMNavigationStatus\getSuccessorPageId(), and ilLMContentRendererGUI\renderDeactivatedPageMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
lookup activation status
Definition at line 508 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), ilUtil\now(), and ilDBInterface\queryF().
Referenced by ilLMPageObject\_getPresentationTitle(), ilLMTracker\_isNodeVisible(), ILIAS\LearningModule\Editing\EditSubObjectsGUI\activatePages(), ilObjContentObjectGUI\activatePages(), ilLMNavigationRendererGUI\addDropdown(), ilObjBlog\deliverRSS(), ilLMNavigationStatus\determineStatus(), ilLMPagesTableGUI\fillRow(), ilObjBlogGUI\filterInactivePostings(), ILIAS\LearningModule\Table\SubObjectRetrieval\getData(), ilObjBlogGUI\getKeywords(), ilObjBlogGUI\getListItems(), ilLPStatusVisitedPages\getLMPages(), ilLMTOCExplorerGUI\getNodeHref(), ilLMEditorExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilLMEditorExplorerGUI\getNodeIconAlt(), ilLMNavigationStatus\getPredecessorPageId(), ilLMNavigationStatus\getSuccessorPageId(), ilBlogDraftsDerivedTaskProvider\getTasks(), ilLMTOCExplorerGUI\isNodeClickable(), ilObjBlogGUI\renderList(), ilObjBlogGUI\renderNavigationByAuthors(), ilObjBlogGUI\renderNavigationByDate(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
lookup whether page contains deactivated elements
Definition at line 2038 of file class.ilPageObject.php.
References $DIC, ilDBConstants\FETCHMODE_ASSOC, ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMPagesTableGUI\fillRow(), ILIAS\LearningModule\Table\SubObjectRetrieval\getData(), ilLMEditorExplorerGUI\getNodeIcon(), and ilLMEditorExplorerGUI\getNodeIconAlt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
write activation status
Definition at line 590 of file class.ilPageObject.php.
References $DIC, and ilDBInterface\manipulateF().
Referenced by ILIAS\LearningModule\Editing\EditSubObjectsGUI\activatePages(), and ilObjContentObjectGUI\activatePages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 663 of file class.ilPageObject.php.
References $DIC, and ilDBInterface\manipulateF().
Referenced by ilWikiImporter\finalProcessing(), ilPortfolioImporter\finalProcessing(), ilForumImporter\finalProcessing(), ilContentPageImporter\finalProcessing(), ilContainerImporter\finalProcessing(), ilBlogImporter\finalProcessing(), ilLearningSequenceImporter\finalProcessing(), ilMediaPoolImporter\finalProcessing(), and ilLearningModuleImporter\finalProcessing().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::addFileSizes | ( | ) |
add file sizes
Definition at line 1169 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::addHierIDs | ( | ) |
Add hierarchical ID (e.g.
for editing) attributes "HierId" to current dom tree.
Definition at line 1120 of file class.ilPageObject.php.
Referenced by ilContainerPage\addRepositoryBlockToPage(), PCInteractiveImageTest\getInteractiveImageInPage(), ilPCParagraph\getLastSavedPCId(), PCMediaObjectTest\getMediaObjectInPage(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), PCTabsTest\getTabsWithTabs(), COPageTestBase\insertParagraphAt(), and moveIntLinks().
Here is the caller graph for this function:| ilPageObject::addUpdateListener | ( | object | $a_object, |
| string | $a_method, | ||
$a_parameters = "" |
|||
| ) |
| mixed | $a_parameters |
Definition at line 447 of file class.ilPageObject.php.
References $update_listener_cnt.
Referenced by ilBlogPosting\read().
Here is the caller graph for this function:| ilPageObject::afterConstructor | ( | ) |
Definition at line 177 of file class.ilPageObject.php.
References getParentType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1686 of file class.ilPageObject.php.
Referenced by __afterDelete().
Here is the caller graph for this function:| ilPageObject::afterUpdate | ( | DOMDocument | $domdoc, |
| string | $xml | ||
| ) |
After update.
Definition at line 1407 of file class.ilPageObject.php.
Referenced by __afterUpdate().
Here is the caller graph for this function:| ilPageObject::appendXMLContent | ( | string | $a_xml | ) |
append xml content to page setXMLContent must be called before and the same encoding must be used
s
Definition at line 780 of file class.ilPageObject.php.
| ilPageObject::assignCharacteristic | ( | array | $targets, |
| string | $char_par, | ||
| string | $char_sec, | ||
| string | $char_med | ||
| ) |
Assign characteristic.
Definition at line 3040 of file class.ilPageObject.php.
References getContentObject(), and update().
Here is the call graph for this function:| ilPageObject::beforePageContentUpdate | ( | ilPageContent | $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.
Definition at line 2592 of file class.ilPageObject.php.
Referenced by ilPCParagraph\updatePage().
Here is the caller graph for this function:| ilPageObject::buildDom | ( | bool | $a_force = false | ) |
Definition at line 380 of file class.ilPageObject.php.
References $path, getId(), getLanguage(), getXMLContent(), and setXMLContent().
Referenced by ILIAS\COPage\ResourcesCollector\__construct(), ilContainerPage\addMissingContainerBlocks(), ilCOPageImporter\afterContainerImportProcessing(), ilPCParagraph\autoLinkGlossariesPage(), ILIAS\COPage\ID\ContentIdManager\checkPCIds(), createFromXML(), delete(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\downloadFile(), ILIAS\COPage\ID\ContentIdManager\getAllPCIds(), getContentManager(), ilGlossaryTermGUI\getInternalLinks(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), ilPCAMDFormGUI\getPortfolioForm(), ilCOPageExporter\getValidSchemaVersions(), handleRepositoryLinksOnCopy(), ilPCVerification\isInPortfolioPage(), moveIntLinks(), ilQuestionPageParser\processPagesToParse(), ilContainerPage\removeUnsupportedBlockIds(), ilPortfolioPage\renameLinksOnTitleChange(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), and updateFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::callUpdateListeners | ( | ) |
Definition at line 459 of file class.ilPageObject.php.
References $update_listener_cnt.
Referenced by __afterUpdate().
Here is the caller graph for this function:| ilPageObject::checkPCIds | ( | ) |
Check, whether (all) page content hashes are set.
Definition at line 1974 of file class.ilPageObject.php.
Referenced by update().
Here is the caller graph for this function:| ilPageObject::collectMediaObjects | ( | bool | $a_inline_only = true | ) |
get all media objects, that are referenced and used within the page
Definition at line 1063 of file class.ilPageObject.php.
References getDomDoc().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::containsDeactivatedElements | ( | string | $a_content | ) |
Check whether content contains deactivated elements.
Definition at line 2068 of file class.ilPageObject.php.
Referenced by createFromXML(), update(), and updateFromXML().
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 1021 of file class.ilPageObject.php.
References $contains_int_link.
| ilPageObject::containsIntLinks | ( | string | $a_content | ) |
Check whether content contains internal links.
Definition at line 2543 of file class.ilPageObject.php.
Referenced by createFromXML(), update(), and updateFromXML().
Here is the caller graph for this function:| ilPageObject::copy | ( | int | $a_id, |
| string | $a_parent_type = "", |
||
| int | $a_new_parent_id = 0, |
||
| bool | $a_clone_mobs = false, |
||
| int | $obj_copy_id = 0, |
||
| bool | $overwrite_existing = true |
||
| ) |
Copy page.
| int | $a_id | target page id (new page) |
| string | $a_parent_type | |
| int | $a_new_parent_id | |
| false | $a_clone_mobs | |
| int | $obj_copy_id | copy wizard id |
Definition at line 2604 of file class.ilPageObject.php.
References _exists(), getId(), ilPageObjectFactory\getInstance(), getParentId(), getParentType(), and setCopyProperties().
Referenced by ilDclTableView\cloneStructure(), and ilObjectCopyGUI\copyParentPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::copyContents | ( | array | $a_hids | ) |
Copy contents to clipboard.
Definition at line 1842 of file class.ilPageObject.php.
References getDomDoc(), and ILIAS\Repository\user().
Referenced by cutContents().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::copyPageToTranslation | ( | string | $a_target_lang | ) |
Copy page to translation.
Definition at line 2678 of file class.ilPageObject.php.
References ilPageObjectFactory\getInstance(), getParentType(), and setTranslationProperties().
Here is the call graph for this function:| ilPageObject::copyXmlContent | ( | bool | $a_clone_mobs = false, |
| int | $a_new_parent_id = 0, |
||
| int | $obj_copy_id = 0, |
||
| bool | $self_ass = true |
||
| ) |
Copy content of page; replace page components with copies where necessary (e.g.
questions)
Definition at line 815 of file class.ilPageObject.php.
References getXMLContent().
Referenced by setTranslationProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::create | ( | bool | $a_import = false | ) |
create new page (with current xml data)
Definition at line 1777 of file class.ilPageObject.php.
References createFromXML().
Here is the call graph for this function:| ilPageObject::createFromXML | ( | ) |
Create new page object with current xml content.
Definition at line 1281 of file class.ilPageObject.php.
References __afterUpdate(), buildDom(), containsDeactivatedElements(), containsIntLinks(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getId(), getLanguage(), getParentId(), getParentType(), getShowActivationInfo(), getXMLContent(), ilUtil\now(), setEmptyPageXml(), ILIAS\Repository\user(), and validateDom().
Referenced by create(), and ilTestPage\createPageWithNextId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::cutContents | ( | array | $a_hids | ) |
Copy contents to clipboard and cut them from the page.
| ilDateTimeException |
Definition at line 1828 of file class.ilPageObject.php.
References copyContents(), deleteContents(), and getPageConfig().
Here is the call graph for this function:| ilPageObject::delete | ( | ) |
Definition at line 1579 of file class.ilPageObject.php.
References __afterDelete(), __beforeDelete(), ilObjMediaObject\_deleteAllUsages(), ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), buildDom(), collectMediaObjects(), deleteInternalLinks(), ilNewsItem\deleteNewsOfContext(), deleteStyleUsages(), getId(), getLanguage(), ilLoggerFactory\getLogger(), getParentId(), getParentType(), handleDeleteContent(), and isTranslationPage().
Here is the call graph for this function:| ilPageObject::deleteContent | ( | string | $a_hid, |
| bool | $a_update = true, |
||
| string | $a_pcid = "", |
||
| bool | $move_operation = false |
||
| ) |
delete content object with hierarchical id $a_hid
| ilDateTimeException | |
| ilWACException |
Definition at line 1788 of file class.ilPageObject.php.
References getDomDoc(), and update().
Here is the call graph for this function:| ilPageObject::deleteContents | ( | array | $a_hids, |
| bool | $a_update = true, |
||
| bool | $a_self_ass = false, |
||
| bool | $move_operation = false |
||
| ) |
Delete multiple content objects.
| bool | $a_update | update page in db (note: update deletes all hierarchical ids in DOM!) |
| ilDateTimeException |
Definition at line 1809 of file class.ilPageObject.php.
References getDomDoc(), and update().
Referenced by cutContents().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::deleteInternalLinks | ( | ) |
Delete internal links.
Definition at line 1756 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::deleteStyleUsages | ( | int | $a_old_nr = 0 | ) |
Delete style usages.
Definition at line 1729 of file class.ilPageObject.php.
Referenced by delete().
Here is the caller graph for this function:| ilPageObject::freeDom | ( | ) |
Definition at line 411 of file class.ilPageObject.php.
| ilPageObject::generatePCId | ( | ) |
Definition at line 2001 of file class.ilPageObject.php.
| ilPageObject::getActivationEnd | ( | ) |
Definition at line 704 of file class.ilPageObject.php.
References $activationend.
Referenced by createFromXML(), getActive(), setTranslationProperties(), update(), and updateFromXML().
Here is the caller graph for this function:| ilPageObject::getActivationStart | ( | ) |
Definition at line 687 of file class.ilPageObject.php.
References $activationstart.
Referenced by createFromXML(), getActive(), setTranslationProperties(), update(), and updateFromXML().
Here is the caller graph for this function:| ilPageObject::getActive | ( | bool | $a_check_scheduled_activation = false | ) |
Definition at line 474 of file class.ilPageObject.php.
References $active, ilDateTime\_after(), ilDateTime\_before(), getActivationEnd(), getActivationStart(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by ilBlogPosting\checkApproval(), createFromXML(), ilBlogPosting\handleNews(), setTranslationProperties(), ilBlogPosting\update(), update(), and updateFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all pages for parent object.
Definition at line 2276 of file class.ilPageObject.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilObjContentObject\autoLinkGlossaryTerms(), ilContentPagePageCollector\getAllPageIds(), ilForumPageCollector\getAllPageIds(), ilLearningModulePageCollector\getAllPageIds(), and ilCourseExporter\getXmlExportTailDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getAllPCIds | ( | ) |
Get all pc ids.
Definition at line 1982 of file class.ilPageObject.php.
| ilPageObject::getConcreteLang | ( | ) |
| ilPageObject::getContainsQuestion | ( | ) |
| ilPageObject::getContentDomNode | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Definition at line 753 of file class.ilPageObject.php.
References getDomDoc().
Referenced by PCGridTest\getCellForHierId(), getDomNodeForPCId(), PCFileListTest\getItemForHierId(), PCListTest\getItemForHierId(), PCTabsTest\getTabForHierId(), PCTableDataTest\getTDForHierId(), and ILIAS\COPage\Compare\PageCompare\setParagraphContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2558 of file class.ilPageObject.php.
References buildDom(), and getDomDoc().
Referenced by getInitialOpenedContent(), and saveInitialOpenedContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getContentObject | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Get a content object of the page.
Definition at line 712 of file class.ilPageObject.php.
References getDomDoc().
Referenced by assignCharacteristic(), getContentObjectForPcId(), ilPCParagraph\insert(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\moveContentAfter(), and ilPCParagraph\saveJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getContentObjectForPcId | ( | string | $pcid | ) |
Get content object for pc id.
Definition at line 727 of file class.ilPageObject.php.
References getContentObject(), and getHierIdsForPCIds().
Referenced by ilPCTableModelProvider\getModels(), and getParentContentObjectForPcId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getContentTemplates | ( | ) |
Get content templates.
Definition at line 2931 of file class.ilPageObject.php.
| ilPageObject::getCreationUserId | ( | ) |
| ilPageObject::getDomDoc | ( | ) |
Get dom doc (DOMDocument)
Definition at line 419 of file class.ilPageObject.php.
References $dom.
Referenced by ilPageContent\__construct(), ilPageContentGUI\__construct(), ILIAS\COPage\Compare\PageCompare\addChangeDivClasses(), addFileSizes(), ilContainerPage\addRepositoryBlockToPage(), ilCOPageImporter\afterContainerImportProcessing(), ilPCParagraph\autoLinkGlossariesPage(), ilPCFileList\beforePageDelete(), collectMediaObjects(), copyContents(), ilWikiPage\create(), createFromXML(), deleteContent(), deleteContents(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\downloadFile(), getContentDomNode(), getContentManager(), getContentObject(), ILIAS\COPage\PC\Paragraph\ParagraphManager\getFirstParagraphText(), getInternalLinks(), getMediaAliasElement(), ilPCParagraphModelProvider\getModels(), ilPCTableModelProvider\getModels(), ilPCPlaceHolderModelProvider\getModels(), ilPCSectionModelProvider\getModels(), getMultimediaXML(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), ILIAS\COPage\PC\Paragraph\ParagraphManager\getParagraphForPCID(), ILIAS\COPage\ID\ContentIdManager\getPCIdsForHierIds(), ilPCPlugged\getPluginName(), ilObjPortfolioGUI\getSkillsToPortfolioAssignment(), ilCOPageExporter\getValidSchemaVersions(), handleDeleteContent(), handleRepositoryLinksOnCopy(), insertContent(), insertContentNode(), insertInstIntoIDs(), ilPCVerification\isInPortfolioPage(), ilPCResources\modifyItemGroupRefIdsByMapping(), moveContentAfter(), moveIntLinks(), pasteContents(), ilContainerPage\removeUnsupportedBlockIds(), ilPortfolioPage\renameLinksOnTitleChange(), resolveFileItems(), resolveIIMMediaAliases(), resolveIntLinks(), ILIAS\COPage\PC\MediaObject\MediaObjectManager\resolveMediaAliases(), resolveQuestionReferences(), ilPCSection\saveTimings(), sendParagraph(), switchEnableMultiple(), update(), and updateFromXML().
Here is the caller graph for this function:| ilPageObject::getDomNodeForPCId | ( | string | $pc_id | ) |
Definition at line 759 of file class.ilPageObject.php.
References getContentDomNode().
Here is the call graph for this function:| ilPageObject::getDuplicatePCIds | ( | ) |
Get all duplicate PC Ids.
Definition at line 1996 of file class.ilPageObject.php.
Referenced by update().
Here is the caller graph for this function:| ilPageObject::getEditLock | ( | ) |
Get page lock.
Definition at line 2709 of file class.ilPageObject.php.
References $db, $user, ilDBInterface\fetchAssoc(), getEffectiveEditLockTime(), ilObject\getId(), getId(), getParentType(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getEditLockInfo | ( | ) |
Get edit lock info.
Definition at line 2781 of file class.ilPageObject.php.
References $db, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getEffectiveEditLockTime | ( | ) |
Definition at line 2965 of file class.ilPageObject.php.
References getPageConfig(), and ILIAS\Repository\int().
Referenced by getEditLock().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getFirstParagraphText | ( | ) |
Definition at line 993 of file class.ilPageObject.php.
| ilPageObject::getHierIdForPcId | ( | string | $pcid | ) |
Definition at line 1148 of file class.ilPageObject.php.
| ilPageObject::getHierIds | ( | ) |
Definition at line 1125 of file class.ilPageObject.php.
| ilPageObject::getHierIdsForPCIds | ( | array | $a_pc_ids | ) |
Get hier ids for a set of pc ids.
Definition at line 1143 of file class.ilPageObject.php.
Referenced by ilPCMediaObjectGUI\__construct(), getContentObjectForPcId(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\getFullIdForPCId(), and ilPCParagraph\getLastSavedPCId().
Here is the caller graph for this function:| ilPageObject::getHistoryEntries | ( | ) |
Get History Entries.
Definition at line 2079 of file class.ilPageObject.php.
References $db, ilDBInterface\fetchAssoc(), getId(), getLanguage(), getParentType(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getHistoryEntry | ( | int | $a_old_nr | ) |
Get History Entry.
Definition at line 2104 of file class.ilPageObject.php.
References $db, $res, ilDBInterface\fetchAssoc(), getId(), getLanguage(), getParentType(), and ilDBInterface\queryF().
Here is the call graph for this function:| ilPageObject::getHistoryInfo | ( | int | $a_nr | ) |
Get information about a history entry, its predecessor and its successor.
| int | $a_nr | Nr of history entry |
Definition at line 2129 of file class.ilPageObject.php.
References $db, $res, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getId | ( | ) |
Definition at line 429 of file class.ilPageObject.php.
References $id.
Referenced by ilCOPageImporter\afterContainerImportProcessing(), ilPCQuestion\afterPageUpdate(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilLMPage\afterUpdate(), ilPCSkills\beforePageDelete(), ilPCQuestion\beforePageDelete(), ilPCContentInclude\beforePageDelete(), ilPCFileList\beforePageDelete(), ilPCMediaObject\beforePageDelete(), ilPCParagraph\beforePageDelete(), buildDom(), copy(), ilBlogPosting\create(), ilWikiPage\create(), createFromXML(), ilMediaPoolPage\createMetaData(), ilTestPage\createPageWithNextId(), ilPortfolioPage\delete(), ilBlogPosting\delete(), ilWikiPage\delete(), delete(), ILIAS\Data\Link\LinkManager\deleteInternalLinks(), ilMediaPoolPage\deleteMetaData(), ILIAS\Style\StyleManager\deleteStyleUsages(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\downloadFile(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), ilPCSection\getCacheTriggerString(), getEditLock(), getHistoryEntries(), getHistoryEntry(), getLastUpdateOfIncludedElements(), ilBlogPosting\getNotificationAbstract(), ilObjPortfolioTemplateGUI\getPageInstance(), ilObjPortfolioGUI\getPageInstance(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), ilMediaPoolPage\getUsages(), ilCOPageExporter\getValidSchemaVersions(), ilBlogPosting\handleNews(), ilWikiStat\handlePageDeletion(), ilWikiStat\handlePageRating(), ilWikiStat\handlePageRead(), ilWikiStat\handlePageUpdated(), ilMediaPoolPage\MDUpdateListener(), ilPortfolioPage\read(), ilBlogPosting\read(), ilWikiPage\read(), ilWikiPage\rename(), ILIAS\COPage\PC\MediaObject\MediaObjectManager\resolveMediaAliases(), ilPCParagraph\saveAnchors(), ilPCContentInclude\saveContentIncludeUsage(), ilPCFileList\saveFileUsage(), ILIAS\Data\Link\LinkManager\saveInternalLinks(), ilWikiPage\saveInternalLinks(), ilPCParagraph\saveMetaKeywords(), ilPCMediaObject\saveMobUsage(), ilPCSkills\saveSkillUsage(), ILIAS\Style\StyleManager\saveStyleUsage(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), ilPCSection\saveTimings(), setTranslationProperties(), ilBlogPosting\unpublish(), ilPortfolioPage\update(), ilBlogPosting\update(), ilWikiPage\update(), update(), updateFromXML(), ilBlogPosting\updateKeywords(), ilMediaPoolPage\updateMetaData(), ilWikiPage\updateNews(), and writeRenderedContent().
Here is the caller graph for this function:
|
protected |
Definition at line 805 of file class.ilPageObject.php.
Referenced by getXMLContent().
Here is the caller graph for this function:| ilPageObject::getImportMode | ( | ) |
Definition at line 1031 of file class.ilPageObject.php.
References $import_mode.
Referenced by ilPCFileList\afterPageUpdate(), and ilPCMediaObject\afterPageUpdate().
Here is the caller graph for this function:| ilPageObject::getInitialOpenedContent | ( | ) |
Get initial opened content.
Definition at line 2580 of file class.ilPageObject.php.
References getContentManager().
Here is the call graph for this function:| ilPageObject::getInternalLinks | ( | ) |
get all internal links that are used within the page
Definition at line 1072 of file class.ilPageObject.php.
References getDomDoc(), and ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::getLanguage | ( | ) |
Definition at line 198 of file class.ilPageObject.php.
References $language.
Referenced by ilCOPageImporter\afterContainerImportProcessing(), ilPCQuestion\afterPageUpdate(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilPCSkills\beforePageDelete(), ilPCQuestion\beforePageDelete(), ilPCContentInclude\beforePageDelete(), ilPCFileList\beforePageDelete(), ilPCMediaObject\beforePageDelete(), ilPCParagraph\beforePageDelete(), buildDom(), ilWikiPage\create(), createFromXML(), ilWikiPage\delete(), delete(), ILIAS\Data\Link\LinkManager\deleteInternalLinks(), ILIAS\Style\StyleManager\deleteStyleUsages(), getHistoryEntries(), getHistoryEntry(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), ilCOPageExporter\getValidSchemaVersions(), isTranslationPage(), ilWikiPage\read(), read(), ilWikiPage\rename(), ilPCParagraph\saveAnchors(), ilPCContentInclude\saveContentIncludeUsage(), ilPCFileList\saveFileUsage(), ILIAS\Data\Link\LinkManager\saveInternalLinks(), ilWikiPage\saveInternalLinks(), ilPCMediaObject\saveMobUsage(), ilPCSkills\saveSkillUsage(), ILIAS\Style\StyleManager\saveStyleUsage(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), ilWikiPage\update(), update(), updateFromXML(), and writeRenderedContent().
Here is the caller graph for this function:| ilPageObject::getLanguageVariablesXML | ( | int | $style_id = 0 | ) |
Get language variables as XML.
Definition at line 903 of file class.ilPageObject.php.
References $txt, $xml, and getLangVarXML().
Referenced by getXMLFromDom().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 986 of file class.ilPageObject.php.
References ILIAS\Repository\lng().
Referenced by getLanguageVariablesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getLastChange | ( | ) |
|
static |
Get all pages for parent object.
Definition at line 2939 of file class.ilPageObject.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), ilDBInterface\quote(), and ilDBInterface\setLimit().
Referenced by ilWikiUserHTMLExport\getProcess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getLastChangeUser | ( | ) |
| 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 1739 of file class.ilPageObject.php.
References ilObject\_getLastUpdateOfObjects(), ilObjMediaObject\_getMobsOfObject(), getId(), and getParentType().
Here is the call graph for this function:| ilPageObject::getMediaAliasElement | ( | int | $a_mob_id, |
| int | $a_nr = 1 |
||
| ) |
get complete media object (alias) element
Definition at line 1092 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::getMultimediaXML | ( | bool | $offline = false | ) |
get a xml string that contains all media object elements, that are referenced by any media alias in the page
Definition at line 1081 of file class.ilPageObject.php.
References getDomDoc().
Referenced by getXMLFromDom().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get new pages.
Definition at line 2313 of file class.ilPageObject.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getOfflineHandler | ( | ) |
| ilPageObject::getPageConfig | ( | ) |
Definition at line 218 of file class.ilPageObject.php.
References $page_config.
Referenced by ilLMPage\afterConstructor(), ilWikiPage\afterConstructor(), cutContents(), getEffectiveEditLockTime(), getPCModel(), and insertContent().
Here is the caller graph for this function:
|
static |
Get all contributors for parent object.
Definition at line 2419 of file class.ilPageObject.php.
References $c, $DIC, ilObjUser\_lookupName(), ilDBInterface\fetchAssoc(), ilDBInterface\queryF(), and ilDBInterface\quote().
Referenced by ilBlogPostingGUI\getPageHeading().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all pages for parent object that contain internal links.
Definition at line 2505 of file class.ilPageObject.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMPageObject\getPagesWithLinksList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getParagraphForPCID | ( | string | $pcid | ) |
Definition at line 998 of file class.ilPageObject.php.
| ilPageObject::getParentContentObjectForPcId | ( | string | $pcid | ) |
Get parent content object for pc id.
Definition at line 736 of file class.ilPageObject.php.
References getContentObjectForPcId().
Here is the call graph for this function:| ilPageObject::getParentId | ( | ) |
Definition at line 439 of file class.ilPageObject.php.
References $parent_id.
Referenced by ilLMPage\afterConstructor(), ilWikiPage\afterConstructor(), ilLMPage\afterDelete(), ilLMPage\afterUpdate(), ilGlossaryDefPage\beforePageContentUpdate(), ilLMPage\beforePageContentUpdate(), copy(), createFromXML(), delete(), ilBlogPosting\getBlogId(), getRepoObjId(), ilWikiPage\getWikiId(), ilPCParagraph\saveMetaKeywords(), setTranslationProperties(), update(), and updateFromXML().
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 2353 of file class.ilPageObject.php.
References $c, $DIC, ilObjUser\_lookupName(), ilObject\_lookupType(), ilDBInterface\fetchAssoc(), ilDBInterface\queryF(), and ilDBInterface\quote().
Here is the call graph for this function:
|
abstract |
Referenced by __construct(), afterConstructor(), ilCOPageImporter\afterContainerImportProcessing(), ilPCQuestion\afterPageUpdate(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilPCSkills\beforePageDelete(), ilPCQuestion\beforePageDelete(), ilPCContentInclude\beforePageDelete(), ilPCFileList\beforePageDelete(), ilPCMediaObject\beforePageDelete(), ilPCParagraph\beforePageDelete(), copy(), copyPageToTranslation(), createFromXML(), delete(), ILIAS\Data\Link\LinkManager\deleteInternalLinks(), ILIAS\Style\StyleManager\deleteStyleUsages(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\downloadFile(), ilPCSection\getCacheTriggerString(), getEditLock(), getHistoryEntries(), getHistoryEntry(), getLastUpdateOfIncludedElements(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), ilCOPageExporter\getValidSchemaVersions(), initPageConfig(), read(), ILIAS\COPage\PC\MediaObject\MediaObjectManager\resolveMediaAliases(), ilPCParagraph\saveAnchors(), ilPCContentInclude\saveContentIncludeUsage(), ilPCFileList\saveFileUsage(), ILIAS\Data\Link\LinkManager\saveInternalLinks(), ilPCParagraph\saveMetaKeywords(), ilPCMediaObject\saveMobUsage(), ilPCSkills\saveSkillUsage(), ILIAS\Style\StyleManager\saveStyleUsage(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), ilPCSection\saveTimings(), update(), updateFromXML(), and writeRenderedContent().
Here is the caller graph for this function:| ilPageObject::getPCIdForHierId | ( | string | $hier_id | ) |
Definition at line 1161 of file class.ilPageObject.php.
Referenced by PCGridTest\getCellForHierId(), PCInteractiveImageTest\getInteractiveImageInPage(), PCFileListTest\getItemForHierId(), PCListTest\getItemForHierId(), PCMediaObjectTest\getMediaObjectInPage(), PCTabsTest\getTabForHierId(), and PCTableDataTest\getTDForHierId().
Here is the caller graph for this function:| ilPageObject::getPCIdsForHierIds | ( | array | $hier_ids | ) |
| ilPageObject::getPCModel | ( | ) |
Get page component model.
Definition at line 2998 of file class.ilPageObject.php.
References getPageConfig().
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 2213 of file class.ilPageObject.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), ilDBInterface\quote(), and ilArrayUtil\sortArray().
Here is the call graph for this function:| ilPageObject::getRenderedContent | ( | ) |
| ilPageObject::getRenderedTime | ( | ) |
| ilPageObject::getRenderMd5 | ( | ) |
| ilPageObject::getRepoObjId | ( | ) |
Get object id of repository object that contains this page, return 0 if page does not belong to a repo object.
Definition at line 2989 of file class.ilPageObject.php.
References getParentId().
Here is the call graph for this function:| ilPageObject::getShowActivationInfo | ( | ) |
Definition at line 278 of file class.ilPageObject.php.
References $show_page_act_info.
Referenced by createFromXML(), and update().
Here is the caller graph for this function:| ilPageObject::getXMLContent | ( | bool | $a_incl_head = false | ) |
get xml content of page
Definition at line 788 of file class.ilPageObject.php.
References $xml, and getIliasAbsolutePath().
Referenced by buildDom(), copyXmlContent(), createFromXML(), update(), and updateFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getXMLFromDom | ( | bool | $a_incl_head = false, |
| bool | $a_append_mobs = false, |
||
| bool | $a_append_bib = false, |
||
| string | $a_append_str = "", |
||
| bool | $a_omit_pageobject_tag = false, |
||
| int | $style_id = 0, |
||
| bool | $offline = false |
||
| ) |
get xml content of page from dom (use this, if any changes are made to the document)
Definition at line 850 of file class.ilPageObject.php.
References $xml, getLanguageVariablesXML(), and getMultimediaXML().
Referenced by ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::handleDeleteContent | ( | ?DOMNode | $a_node = null, |
$move_operation = false |
|||
| ) |
Handle content before deletion This currently treats only plugged content If no node is given, then the whole dom will be scanned.
| DOMNode | null | $a_node |
Definition at line 840 of file class.ilPageObject.php.
References getDomDoc().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::handleRepositoryLinksOnCopy | ( | array | $a_mapping, |
| int | $a_source_ref_id | ||
| ) |
Handle repository links on copy process.
Definition at line 1254 of file class.ilPageObject.php.
References $tree, buildDom(), getDomDoc(), and ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::hasDuplicatePCIds | ( | ) |
Definition at line 1987 of file class.ilPageObject.php.
Referenced by update().
Here is the caller graph for this function:| ilPageObject::increaseViewCnt | ( | ) |
Increase view cnt.
Definition at line 2196 of file class.ilPageObject.php.
References $db, ilDBInterface\manipulate(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::initPageConfig | ( | ) |
Definition at line 183 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 caller graph for this function:| ilPageObject::insertContent | ( | ilPageContent | $a_cont_obj, |
| string | $a_pos, | ||
| int | $a_mode = IL_INSERT_AFTER, |
||
| string | $a_pcid = "", |
||
| bool | $remove_placeholder = true |
||
| ) |
insert a content node before/after a sibling or as first child of a parent
Definition at line 1891 of file class.ilPageObject.php.
References getDomDoc(), and getPageConfig().
Referenced by ilPCLauncher\create(), ilPCCurriculum\create(), ilPCLearningHistory\create(), ilPCPRGStatusInfo\create(), ilPCConsultationHours\create(), ilPCMyCourses\create(), ilPCPRGActionNote\create(), ilPCAMDPageList\create(), ilPCAMDForm\create(), ilPCParagraph\create(), ilPCMediaObject\createAlias(), and ilPCInteractiveImage\createAlias().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::insertContentNode | ( | DOMNode | $a_cont_node, |
| string | $a_pos, | ||
| int | $a_mode = IL_INSERT_AFTER, |
||
| string | $a_pcid = "" |
||
| ) |
insert a content node before/after a sibling or as first child of a parent
Definition at line 1912 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::insertInstIntoIDs | ( | string | $a_inst, |
| bool | $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
| string | $a_inst | installation id |
| bool | $a_res_ref_to_obj_id | convert repository links obj_<ref_id> to <type>_<obj_id> |
Definition at line 1963 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::insertPCIds | ( | ) |
Insert Page Content IDs.
Definition at line 2009 of file class.ilPageObject.php.
Referenced by PCInteractiveImageTest\getInteractiveImageInPage(), PCMediaObjectTest\getMediaObjectInPage(), PCTabsTest\getTabForHierId(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 1663 of file class.ilPageObject.php.
References getLanguage().
Referenced by ilWikiPage\delete(), and delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 651 of file class.ilPageObject.php.
References $DIC, $res, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMContentRendererGUI\determineStatus(), ilObjMediaObject\getParentObjectIdForUsage(), and ilLMPageGUI\processAnswer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup translations.
Definition at line 2655 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilObjContentPage\doCloneObject(), ilContentPageImporter\finalProcessing(), ilLearningModuleExporter\getXmlRepresentation(), ilCOPageExporter\getXmlRepresentation(), ilObjForum\update(), and ilLMObject\updateInternalLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::moveContentAfter | ( | string | $a_source, |
| string | $a_target, | ||
| string | $a_spcid = "", |
||
| string | $a_tpcid = "" |
||
| ) |
move content object from position $a_source before position $a_target (both hierarchical content ids)
| string | $a_source | |
| string | $a_target | |
| string | $a_spcid | |
| string | $a_tpcid |
Definition at line 1940 of file class.ilPageObject.php.
References getDomDoc(), and update().
Here is the call graph for this function:| ilPageObject::moveIntLinks | ( | array | $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".
Definition at line 1240 of file class.ilPageObject.php.
References addHierIDs(), buildDom(), getDomDoc(), and ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::needsImportParsing | ( | ?bool | $a_parse = null | ) |
| ilPageObject::pasteContents | ( | string | $a_hier_id, |
| bool | $a_self_ass = false |
||
| ) |
Paste contents from pc clipboard.
| ilDateTimeException |
Definition at line 1853 of file class.ilPageObject.php.
References $user, getDomDoc(), and update().
Here is the call graph for this function:| ilPageObject::performAutomaticModifications | ( | ) |
Perform automatic modifications (may be overwritten by sub classes)
Definition at line 2554 of file class.ilPageObject.php.
Referenced by update().
Here is the caller graph for this function:
|
static |
Preload activation data by Parent Id.
Definition at line 491 of file class.ilPageObject.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMExplorerGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::preparePageForCompare | ( | ilPageObject | $page | ) |
Definition at line 2189 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\Compare\PageCompare\compare().
Here is the caller graph for this function:| ilPageObject::read | ( | ) |
Read page data.
Definition at line 291 of file class.ilPageObject.php.
References getLanguage(), getParentType(), ILIAS\Repository\int(), 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 caller graph for this function:| ilPageObject::registerOfflineHandler | ( | object | $handler | ) |
| ilPageObject::releasePageLock | ( | ) |
Release page lock.
Definition at line 2745 of file class.ilPageObject.php.
References $db, $user, ilDBInterface\fetchAssoc(), ilObject\getId(), ILIAS\Repository\int(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::resolveFileItems | ( | array | $a_mapping | ) |
Resolve file items (after import)
Definition at line 1214 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::resolveIIMMediaAliases | ( | array | $a_mapping | ) |
Resolve iim media aliases (in ilContObjParse)
Definition at line 1202 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::resolveIntLinks | ( | array | $a_link_map = null | ) |
Resolves all internal link targets of the page, if targets are available (after import)
Definition at line 1178 of file class.ilPageObject.php.
References getDomDoc(), and ILIAS\Repository\link().
Referenced by ilQuestionPageParser\processPagesToParse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::resolveMediaAliases | ( | array | $a_mapping, |
| bool | $a_reuse_existing_by_import = false |
||
| ) |
Resolve media aliases (after import)
Definition at line 1187 of file class.ilPageObject.php.
| ilPageObject::resolveQuestionReferences | ( | array | $a_mapping | ) |
Resolve all quesiont references (after import)
Definition at line 1226 of file class.ilPageObject.php.
References getDomDoc().
Here is the call graph for this function:| ilPageObject::resolveResources | ( | array | $ref_mapping | ) |
Resolve resources.
Definition at line 2981 of file class.ilPageObject.php.
References ilPCResources\resolveResources().
Here is the call graph for this function:| ilPageObject::saveInitialOpenedContent | ( | string | $a_type, |
| int | $a_id, | ||
| string | $a_target | ||
| ) |
Save initial opened content.
Definition at line 2567 of file class.ilPageObject.php.
References getContentManager(), and update().
Here is the call graph for this function:| ilPageObject::saveInternalLinks | ( | DOMDocument | $a_domdoc | ) |
save internal links of page
Definition at line 1766 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Referenced by __afterUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::saveStyleUsage | ( | DOMDocument | $a_domdoc, |
| int | $a_old_nr = 0 |
||
| ) |
Save all style class/template usages.
Definition at line 1715 of file class.ilPageObject.php.
Referenced by __afterHistoryEntry(), and __afterUpdate().
Here is the caller graph for this function:| ilPageObject::sendParagraph | ( | string | $par_id, |
| string | $filename | ||
| ) |
Definition at line 2014 of file class.ilPageObject.php.
References getDomDoc().
Referenced by ilObjQuestionPoolGUI\download_paragraphObject(), and ilObjTestGUI\download_paragraphObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::setActivationEnd | ( | ?string | $a_activationend | ) |
Set Activation End.
| string | $a_activationend | IL_CAL_DATETIME format |
Definition at line 696 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setActivationStart | ( | ?string | $a_activationstart | ) |
| string | $a_activationstart | IL_CAL_DATETIME format |
Definition at line 679 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setActive | ( | bool | $a_active | ) |
Definition at line 469 of file class.ilPageObject.php.
Referenced by __construct(), read(), and ilBlogPosting\unpublish().
Here is the caller graph for this function:| ilPageObject::setConcreteLang | ( | string | $a_val | ) |
Definition at line 208 of file class.ilPageObject.php.
| ilPageObject::setContainsIntLink | ( | bool | $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 !?
| bool | $a_contains_link | true, if page contains intern link tag(s) |
Definition at line 1011 of file class.ilPageObject.php.
| ilPageObject::setContainsQuestion | ( | bool | $a_val | ) |
Definition at line 1048 of file class.ilPageObject.php.
| ilPageObject::setContentIdManager | ( | \ILIAS\COPage\ID\ContentIdManager | $content_id_manager | ) |
Definition at line 171 of file class.ilPageObject.php.
References $content_id_manager.
|
protected |
Definition at line 2647 of file class.ilPageObject.php.
Referenced by copy().
Here is the caller graph for this function:| ilPageObject::setEmptyPageXml | ( | ) |
Definition at line 1273 of file class.ilPageObject.php.
References setXMLContent().
Referenced by createFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::setId | ( | int | $a_id | ) |
Definition at line 424 of file class.ilPageObject.php.
Referenced by ilBlogPosting\create(), ilPortfolioPage\create(), ilWikiPage\create(), and ilTestPage\createPageWithNextId().
Here is the caller graph for this function:| ilPageObject::setImportMode | ( | bool | $a_val | ) |
Definition at line 1026 of file class.ilPageObject.php.
| ilPageObject::setLanguage | ( | string | $a_val | ) |
Set language.
| string | $a_val | language code or "-" for unknown / not set |
Definition at line 193 of file class.ilPageObject.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by __construct(), and ilPCParagraph\insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::setLastChange | ( | string | $a_lastchange | ) |
Definition at line 253 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setLastChangeUser | ( | int | $a_val | ) |
Definition at line 263 of file class.ilPageObject.php.
| ilPageObject::setPageConfig | ( | ilPageConfig | $a_val | ) |
Definition at line 203 of file class.ilPageObject.php.
Referenced by ilUnitTestPageObject\initPageConfig(), and initPageConfig().
Here is the caller graph for this function:| ilPageObject::setParentId | ( | int | $a_id | ) |
Definition at line 434 of file class.ilPageObject.php.
Referenced by read(), ilBlogPosting\setBlogId(), and ilWikiPage\setWikiId().
Here is the caller graph for this function:| ilPageObject::setRenderedContent | ( | string | $a_renderedcontent | ) |
Definition at line 233 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setRenderedTime | ( | string | $a_renderedtime | ) |
Definition at line 243 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setRenderMd5 | ( | string | $a_rendermd5 | ) |
Definition at line 223 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:| ilPageObject::setShowActivationInfo | ( | bool | $a_val | ) |
Definition at line 273 of file class.ilPageObject.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
Definition at line 2691 of file class.ilPageObject.php.
References copyXmlContent(), getActivationEnd(), getActivationStart(), getActive(), getId(), and getParentId().
Referenced by copyPageToTranslation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::setXMLContent | ( | string | $a_xml, |
| string | $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_encoding | encoding of the content (here is no conversion done! it must be already utf-8 encoded at the time) |
Definition at line 770 of file class.ilPageObject.php.
Referenced by buildDom(), and setEmptyPageXml().
Here is the caller graph for this function:| ilPageObject::stripHierIDs | ( | ) |
Definition at line 1130 of file class.ilPageObject.php.
Referenced by ilPCParagraph\getLastSavedPCId(), and validateDom().
Here is the caller graph for this function:| ilPageObject::stripPCIDs | ( | ) |
Definition at line 1135 of file class.ilPageObject.php.
| ilPageObject::switchEnableMultiple | ( | array | $a_hids, |
| bool | $a_update = true, |
||
| bool | $a_self_ass = false |
||
| ) |
(De-)activate elements
Definition at line 1875 of file class.ilPageObject.php.
References getDomDoc(), and update().
Here is the call graph for this function:
|
static |
Truncate (html) string.
Definition at line 2803 of file class.ilPageObject.php.
References ilStr\shortenText().
Referenced by ilLearningModuleNotification\getPreviewText(), ilBlogPostingGUI\getSnippet(), ILIAS\Wiki\Notification\NotificationGUI\send(), and ilWikiUtil\sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::update | ( | bool | $a_validate = true, |
| bool | $a_no_history = false |
||
| ) |
update complete page content in db (dom xml content is used)
| ilDateTimeException | |
| ilWACException |
Definition at line 1417 of file class.ilPageObject.php.
References $lm_set, __afterHistoryEntry(), __afterUpdate(), checkPCIds(), containsDeactivatedElements(), containsIntLinks(), ilDatePresentation\formatDate(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getDuplicatePCIds(), getEditLock(), getEditLockInfo(), getId(), getLanguage(), ilUserUtil\getNamePresentation(), getParentId(), getParentType(), getShowActivationInfo(), getXMLContent(), getXMLFromDom(), hasDuplicatePCIds(), IL_CAL_UNIX, ILIAS_VERSION_NUMERIC, insertPCIds(), ILIAS\Repository\lng(), ilUtil\now(), performAutomaticModifications(), ILIAS\Repository\user(), and validateDom().
Referenced by ilContainerPage\addRepositoryBlockToPage(), assignCharacteristic(), ilPCParagraph\autoLinkGlossariesPage(), deleteContent(), deleteContents(), moveContentAfter(), pasteContents(), ilQuestionPageParser\processPagesToParse(), ilContainerPage\removeUnsupportedBlockIds(), saveInitialOpenedContent(), switchEnableMultiple(), and ilPCParagraph\updatePage().
Here is the call 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 (8 beta) called by:
Definition at line 1326 of file class.ilPageObject.php.
References __afterUpdate(), buildDom(), containsDeactivatedElements(), containsIntLinks(), getActivationEnd(), getActivationStart(), getActive(), getDomDoc(), getId(), getLanguage(), getParentId(), getParentType(), getXMLContent(), ilUtil\now(), ILIAS\Repository\user(), and validateDom().
Here is the call graph for this function:| ilPageObject::validateDom | ( | bool | $throw = false | ) |
Validate the page content agains page DTD.
Definition at line 1105 of file class.ilPageObject.php.
References stripHierIDs().
Referenced by createFromXML(), update(), and updateFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::writeRenderedContent | ( | string | $a_content, |
| string | $a_md5 | ||
| ) |
Write rendered content.
Definition at line 2483 of file class.ilPageObject.php.
References $DIC, getId(), getLanguage(), getParentType(), ilUtil\now(), and ilDBInterface\update().
Here is the call graph for this function:
|
staticprotected |
Definition at line 88 of file class.ilPageObject.php.
|
protected |
Definition at line 102 of file class.ilPageObject.php.
Referenced by getActivationEnd().
|
protected |
Definition at line 101 of file class.ilPageObject.php.
Referenced by getActivationStart().
|
protected |
Definition at line 92 of file class.ilPageObject.php.
Referenced by getActive().
|
protected |
Definition at line 104 of file class.ilPageObject.php.
Referenced by getConcreteLang().
| bool ilPageObject::$contains_int_link = false |
Definition at line 78 of file class.ilPageObject.php.
Referenced by containsIntLink().
|
protected |
Definition at line 99 of file class.ilPageObject.php.
Referenced by getContainsQuestion().
|
protected |
Definition at line 105 of file class.ilPageObject.php.
Referenced by setContentIdManager().
|
protected |
Definition at line 57 of file class.ilPageObject.php.
Referenced by getCreationUserId().
| string ilPageObject::$cur_dtd = "ilias_pg_9.dtd" |
Definition at line 77 of file class.ilPageObject.php.
|
protected |
Definition at line 67 of file class.ilPageObject.php.
Referenced by ilBlogPosting\create(), ilPortfolioPage\create(), ilWikiPage\create(), ilWikiPage\createFromXML(), ilPortfolioPage\delete(), ilBlogPosting\delete(), ilWikiPage\delete(), getEditLock(), getEditLockInfo(), getHistoryEntries(), getHistoryEntry(), getHistoryInfo(), increaseViewCnt(), ilBlogPosting\lookup(), ilPortfolioPage\read(), ilBlogPosting\read(), ilWikiPage\read(), releasePageLock(), ilWikiPage\rename(), ilPortfolioPage\update(), ilBlogPosting\update(), and ilWikiPage\update().
| DOMDocument ilPageObject::$dom = null |
Definition at line 73 of file class.ilPageObject.php.
Referenced by getDomDoc().
| bool ilPageObject::$dom_builded = false |
Definition at line 85 of file class.ilPageObject.php.
|
protected |
Definition at line 54 of file class.ilPageObject.php.
| string ilPageObject::$encoding = "" |
Definition at line 75 of file class.ilPageObject.php.
|
static |
Definition at line 66 of file class.ilPageObject.php.
|
protected |
Definition at line 100 of file class.ilPageObject.php.
| bool ilPageObject::$history_saved = false |
Definition at line 86 of file class.ilPageObject.php.
|
protected |
Definition at line 72 of file class.ilPageObject.php.
Referenced by ilBlogPosting\create(), ilPortfolioPage\create(), ilWikiPage\create(), ilPortfolioPage\delete(), getId(), ilContainerPage\removeUnsupportedBlockIds(), and ilPortfolioPage\update().
|
protected |
Definition at line 61 of file class.ilPageObject.php.
|
protected |
Definition at line 89 of file class.ilPageObject.php.
Referenced by getImportMode().
|
protected |
Definition at line 87 of file class.ilPageObject.php.
Referenced by getLanguage().
| int ilPageObject::$last_change_user = 0 |
Definition at line 98 of file class.ilPageObject.php.
Referenced by getLastChangeUser().
|
protected |
Definition at line 97 of file class.ilPageObject.php.
Referenced by getLastChange().
|
protected |
Definition at line 55 of file class.ilPageObject.php.
|
protected |
Definition at line 69 of file class.ilPageObject.php.
Referenced by ilPortfolioPage\getAllPortfolioPages(), ilPortfolioPage\getTitle(), and ilBlogPosting\handleNews().
|
protected |
Definition at line 90 of file class.ilPageObject.php.
|
protected |
Definition at line 71 of file class.ilPageObject.php.
Referenced by ilBlogPosting\deleteAllBlogPostings(), and ilBlogPosting\getKeywords().
| bool ilPageObject::$needs_parsing = false |
Definition at line 79 of file class.ilPageObject.php.
Referenced by needsImportParsing().
| DomNode ilPageObject::$node |
Definition at line 76 of file class.ilPageObject.php.
Referenced by ilContainerPage\addRepositoryBlockToPage(), ilContainerPage\removeUnsupportedBlockIds(), and ilPortfolioPage\renameLinksOnTitleChange().
|
protected |
Definition at line 65 of file class.ilPageObject.php.
| object ilPageObject::$offline_handler = null |
Definition at line 84 of file class.ilPageObject.php.
Referenced by getOfflineHandler().
| int ilPageObject::$old_nr |
Definition at line 62 of file class.ilPageObject.php.
|
protected |
Definition at line 93 of file class.ilPageObject.php.
Referenced by getPageConfig().
|
protected |
Definition at line 106 of file class.ilPageObject.php.
|
protected |
Definition at line 63 of file class.ilPageObject.php.
|
protected |
Definition at line 91 of file class.ilPageObject.php.
| int ilPageObject::$parent_id = 0 |
Definition at line 81 of file class.ilPageObject.php.
Referenced by getParentId().
| string ilPageObject::$parent_type = "" |
Definition at line 80 of file class.ilPageObject.php.
Referenced by ilDashboardPage\getParentType().
|
protected |
Definition at line 56 of file class.ilPageObject.php.
|
protected |
Definition at line 108 of file class.ilPageObject.php.
|
protected |
Definition at line 103 of file class.ilPageObject.php.
|
protected |
Definition at line 95 of file class.ilPageObject.php.
Referenced by getRenderedContent().
|
protected |
Definition at line 96 of file class.ilPageObject.php.
Referenced by getRenderedTime().
|
protected |
Definition at line 94 of file class.ilPageObject.php.
Referenced by getRenderMd5().
|
protected |
Definition at line 64 of file class.ilPageObject.php.
Referenced by getShowActivationInfo().
|
protected |
Definition at line 107 of file class.ilPageObject.php.
|
protected |
Definition at line 70 of file class.ilPageObject.php.
Referenced by handleRepositoryLinksOnCopy().
| int ilPageObject::$update_listener_cnt = 0 |
Definition at line 83 of file class.ilPageObject.php.
Referenced by addUpdateListener(), and callUpdateListeners().
| array ilPageObject::$update_listeners = [] |
Definition at line 82 of file class.ilPageObject.php.
|
protected |
Definition at line 68 of file class.ilPageObject.php.
Referenced by ilMediaPoolPage\createMetaData(), getEditLock(), ilBlogPosting\handleNews(), pasteContents(), releasePageLock(), and ilWikiPage\updateNews().
| string ilPageObject::$xml = "" |
Definition at line 74 of file class.ilPageObject.php.
Referenced by getLanguageVariablesXML(), getXMLContent(), and getXMLFromDom().