|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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) | |
| 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) | |
| getLangVarXMLForValue (string $var, string $val) | |
| __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 InternalDomainService | $domain |
| 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 |
| string | $concrete_lang = "" |
| ILIAS COPage ID ContentIdManager | $content_id_manager |
| ILIAS COPage Page PageManagerInterface | $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 111 of file class.ilPageObject.php.
References $DIC, $domain, 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 1692 of file class.ilPageObject.php.
|
finalprotected |
Definition at line 1701 of file class.ilPageObject.php.
|
finalprotected |
After update event handler (internal).
The hooks are e.g. for storing any dependent relations/references in the database.
Definition at line 1381 of file class.ilPageObject.php.
|
finalprotected |
Before deletion handler (internal).
Definition at line 1682 of file class.ilPageObject.php.
|
static |
Checks whether page exists.
| string | $a_lang | language code, if empty language independent existence is checked |
Definition at line 340 of file class.ilPageObject.php.
Referenced by ilImprintGUI\__construct(), ilDclDetailedViewDefinitionGUI\__construct(), ilDashboardPageGUI\__construct(), ilInternalLink\_exists(), ilPageObjectGUI\checkLangPageAvailable(), ilObjContentObject\checkStructure(), ILIAS\Blog\Export\BlogHtmlExport\collectAllPagesPageElements(), ilObjectCopyGUI\copyParentPage(), ilObjForum\delete(), ilWikiPage\deleteAllPagesOfWiki(), ilObjMediaPool\deleteChild(), assQuestion\deletePageOfQuestion(), ilObjContentPage\doCloneObject(), ilObjContentPage\doDelete(), ILIAS\ContentPage\PageMetrics\PageMetricsService\doesPageExistsForLanguage(), ilContentPagePageCommandForwarder\doesPageExistsForLanguage(), ilForumPageCommandForwarder\doesPageExistsForLanguage(), ilAssQuestionFeedback\ensurePageObjectDeleted(), ilAssQuestionFeedbackPageObjectCommandForwarder\ensurePageObjectExists(), ilAssQuestionFeedback\ensurePageObjectExists(), ilContainerStartObjectsGUI\executeCommand(), ilLOEditorGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilObjectCopyGUI\executeNextStepAfterSourceSelection(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ILIAS\Portfolio\Export\PortfolioHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPages(), ILIAS\Portfolio\Export\PortfolioHtmlExport\exportHTMLPagesPrint(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPagesPrint(), ilObjContentObject\exportXMLPageObjects(), ilLearningModuleImporter\finalProcessing(), ilObjContentObject\fixTree(), ilContainerGUI\forwardToPageObject(), ilGuidedTourAdminGUI\forwardToPageObject(), ilPageMultiLang\getEffectiveLang(), ilLMPresentationGUI\getLMPage(), ilLMContentRendererGUI\getLMPageGUI(), ilLMPresentationGUI\getLMPageGUI(), ILIAS\Container\Page\PageManager\getPage(), ilContainerExporter\getXmlExportTailDependencies(), ilLearningSequenceExporter\getXmlExportTailDependencies(), ilPCQuestion\handleCopiedContent(), ilObjLearningSequence\hasContentPage(), ilQuestionPageParser\processPagesToParse(), ilObjContentObject\validatePages(), and ilContainerXmlWriter\writeSubitems().
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 374 of file class.ilPageObject.php.
Referenced by ilDashboardPageGUI\isLanguageAvailable().
Here is the caller graph for this function:
|
static |
Check whether page is activated by time schedule.
Definition at line 554 of file class.ilPageObject.php.
Referenced by ilLMPagesTableGUI\fillRow(), ILIAS\LearningModule\Editing\SubObjectRetrieval\getData(), ilLMEditorExplorerGUI\getNodeIcon(), and ilLMTOCExplorerGUI\getNodeIcon().
Here is the caller graph for this function:
|
static |
Lookup activation data.
Definition at line 616 of file class.ilPageObject.php.
Referenced by ilLMNavigationStatus\determineStatus(), ilLMNavigationStatus\getPredecessorPageId(), ilLMNavigationStatus\getSuccessorPageId(), and ilLMContentRendererGUI\renderDeactivatedPageMessage().
Here is the caller graph for this function:
|
static |
lookup activation status
Definition at line 510 of file class.ilPageObject.php.
Referenced by ilDclDetailedViewDefinitionGUI\__construct(), ilObjContentObjectGUI\activatePages(), ILIAS\LearningModule\Editing\EditSubObjectsGUI\activatePages(), ilLMNavigationRendererGUI\addDropdown(), ILIAS\Blog\Permission\PermissionManager\canReadPosting(), ilObjBlog\deliverRSS(), ilLMNavigationStatus\determineStatus(), ilLMPagesTableGUI\fillRow(), ilObjBlogGUI\filterInactivePostings(), ILIAS\LearningModule\Editing\SubObjectRetrieval\getData(), ilDclTextRecordRepresentation\getHTML(), ilLPStatusVisitedPages\getLMPages(), ilLMTOCExplorerGUI\getNodeHref(), ilLMEditorExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilLMEditorExplorerGUI\getNodeIconAlt(), ilLMNavigationStatus\getPredecessorPageId(), ilLMNavigationStatus\getSuccessorPageId(), ilBlogDraftsDerivedTaskProvider\getTasks(), ilImprint\isActive(), ILIAS\Blog\Permission\PermissionManager\isActive(), ilLMTOCExplorerGUI\isNodeClickable(), ilObjBlogGUI\renderNavigationByDate(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
Here is the caller graph for this function:
|
static |
lookup whether page contains deactivated elements
Definition at line 2049 of file class.ilPageObject.php.
Referenced by ilLMPagesTableGUI\fillRow(), ILIAS\LearningModule\Editing\SubObjectRetrieval\getData(), ilLMEditorExplorerGUI\getNodeIcon(), and ilLMEditorExplorerGUI\getNodeIconAlt().
Here is the caller graph for this function:
|
static |
write activation status
Definition at line 592 of file class.ilPageObject.php.
Referenced by ilObjContentObjectGUI\activatePages(), and ILIAS\LearningModule\Editing\EditSubObjectsGUI\activatePages().
Here is the caller graph for this function:
|
static |
Definition at line 665 of file class.ilPageObject.php.
References $DIC, and ilDBInterface\manipulateF().
Referenced by ilBlogImporter\finalProcessing(), ilContainerImporter\finalProcessing(), ilContentPageImporter\finalProcessing(), ilForumImporter\finalProcessing(), ilLearningModuleImporter\finalProcessing(), ilLearningSequenceImporter\finalProcessing(), ilMediaPoolImporter\finalProcessing(), ilPortfolioImporter\finalProcessing(), and ilWikiImporter\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 1180 of file class.ilPageObject.php.
| ilPageObject::addHierIDs | ( | ) |
Add hierarchical ID (e.g.
for editing) attributes "HierId" to current dom tree.
Definition at line 1131 of file class.ilPageObject.php.
Referenced by ilContainerPage\addRepositoryBlockToPage(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand(), COPageTestBase\getEmptyPageWithDom(), PCInteractiveImageTest\getInteractiveImageInPage(), ilPCParagraph\getLastSavedPCId(), PCMediaObjectTest\getMediaObjectInPage(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), ILIAS\COPage\ID\ContentIdManager\getPCIdsForHierIds(), PCTabsTest\getTabsWithTabs(), and ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\mergePrevious().
Here is the caller graph for this function:| ilPageObject::addUpdateListener | ( | object | $a_object, |
| string | $a_method, | ||
$a_parameters = "" |
|||
| ) |
| mixed | $a_parameters |
Definition at line 449 of file class.ilPageObject.php.
| ilPageObject::afterConstructor | ( | ) |
Reimplemented in ilBlogPosting, ilDashboardPage, ilLMPage, ilPortfolioPage, and ilWikiPage.
Definition at line 181 of file class.ilPageObject.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilLMPage.
Definition at line 1697 of file class.ilPageObject.php.
| ilPageObject::afterUpdate | ( | DOMDocument | $domdoc, |
| string | $xml | ||
| ) |
After update.
Reimplemented in ilLMPage, and ilWikiPage.
Definition at line 1418 of file class.ilPageObject.php.
| 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 782 of file class.ilPageObject.php.
| ilPageObject::assignCharacteristic | ( | array | $targets, |
| string | $char_par, | ||
| string | $char_sec, | ||
| string | $char_med | ||
| ) |
Assign characteristic.
Definition at line 3052 of file class.ilPageObject.php.
| 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.
Reimplemented in ilGlossaryDefPage, and ilLMPage.
Definition at line 2604 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 382 of file class.ilPageObject.php.
References $path, ILIAS\Survey\Mode\getId(), and getLanguage().
Referenced by ilContainerPage\addMissingContainerBlocks(), ILIAS\COPage\ID\ContentIdManager\checkPCIds(), ILIAS\COPage\ID\ContentIdManager\getAllPCIds(), COPageTestBase\getEmptyPageWithDom(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), ilQuestionPageParser\processPagesToParse(), ilContainerPage\removeUnsupportedBlockIds(), and ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::callUpdateListeners | ( | ) |
Definition at line 461 of file class.ilPageObject.php.
| ilPageObject::checkPCIds | ( | ) |
Check, whether (all) page content hashes are set.
Definition at line 1985 of file class.ilPageObject.php.
| ilPageObject::collectMediaObjects | ( | bool | $a_inline_only = true | ) |
get all media objects, that are referenced and used within the page
Definition at line 1075 of file class.ilPageObject.php.
| ilPageObject::containsDeactivatedElements | ( | string | $a_content | ) |
Check whether content contains deactivated elements.
Definition at line 2079 of file class.ilPageObject.php.
| 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 1033 of file class.ilPageObject.php.
| ilPageObject::containsIntLinks | ( | string | $a_content | ) |
Check whether content contains internal links.
Definition at line 2555 of file class.ilPageObject.php.
| 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 2616 of file class.ilPageObject.php.
| ilPageObject::copyContents | ( | array | $a_hids | ) |
Copy contents to clipboard.
Definition at line 1853 of file class.ilPageObject.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilPageObject::copyPageToTranslation | ( | string | $a_target_lang | ) |
Copy page to translation.
Definition at line 2690 of file class.ilPageObject.php.
| 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 817 of file class.ilPageObject.php.
| ilPageObject::create | ( | bool | $a_import = false | ) |
create new page (with current xml data)
Reimplemented in ilBlogPosting, ilPortfolioPage, and ilWikiPage.
Definition at line 1788 of file class.ilPageObject.php.
| ilPageObject::createFromXML | ( | ) |
Create new page object with current xml content.
Reimplemented in ilWikiPage.
Definition at line 1292 of file class.ilPageObject.php.
References ILIAS\Survey\Mode\getId(), getLanguage(), ilUtil\now(), and ILIAS\Repository\user().
Referenced by 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 1839 of file class.ilPageObject.php.
| ilPageObject::delete | ( | ) |
Reimplemented in ilBlogPosting, ilPortfolioPage, and ilWikiPage.
Definition at line 1590 of file class.ilPageObject.php.
References ilObjMediaObject\_deleteAllUsages(), ilObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObject\_lookupType(), ilNewsItem\deleteNewsOfContext(), ILIAS\Survey\Mode\getId(), getLanguage(), and ilLoggerFactory\getLogger().
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 1799 of file class.ilPageObject.php.
| 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 1820 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\deleteCommand(), and ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\mergePrevious().
Here is the caller graph for this function:| ilPageObject::deleteInternalLinks | ( | ) |
Delete internal links.
Definition at line 1767 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::deleteStyleUsages | ( | int | $a_old_nr = 0 | ) |
Delete style usages.
Definition at line 1740 of file class.ilPageObject.php.
| ilPageObject::freeDom | ( | ) |
Definition at line 413 of file class.ilPageObject.php.
| ilPageObject::generatePCId | ( | ) |
Definition at line 2012 of file class.ilPageObject.php.
| ilPageObject::getActivationEnd | ( | ) |
Definition at line 706 of file class.ilPageObject.php.
| ilPageObject::getActivationStart | ( | ) |
Definition at line 689 of file class.ilPageObject.php.
| ilPageObject::getActive | ( | bool | $a_check_scheduled_activation = false | ) |
Definition at line 476 of file class.ilPageObject.php.
References ilDateTime\_after(), ilDateTime\_before(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by ILIAS\Blog\News\NewsManager\handle().
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 2287 of file class.ilPageObject.php.
References ilDBInterface\quote().
Referenced by ilForumPageCollector\getAllPageIds(), ilContentPagePageCollector\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 1993 of file class.ilPageObject.php.
Referenced by ilDclDetailedViewDefinition\isActive().
Here is the caller graph for this function:| ilPageObject::getConcreteLang | ( | ) |
Definition at line 218 of file class.ilPageObject.php.
| ilPageObject::getContainsQuestion | ( | ) |
Definition at line 1065 of file class.ilPageObject.php.
| ilPageObject::getContentDomNode | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Definition at line 755 of file class.ilPageObject.php.
Referenced by PCGridTest\getCellForHierId(), PCFileListTest\getItemForHierId(), PCListTest\getItemForHierId(), PCTabsTest\getTabForHierId(), and PCTableDataTest\getTDForHierId().
Here is the caller graph for this function:
|
protected |
Definition at line 2570 of file class.ilPageObject.php.
| ilPageObject::getContentObject | ( | string | $a_hier_id, |
| string | $a_pc_id = "" |
||
| ) |
Get a content object of the page.
Definition at line 714 of file class.ilPageObject.php.
| ilPageObject::getContentObjectForPcId | ( | string | $pcid | ) |
Get content object for pc id.
Definition at line 729 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand(), ilPCTableModelProvider\getModels(), and ilDclDetailedViewDefinition\isActive().
Here is the caller graph for this function:| ilPageObject::getContentTemplates | ( | ) |
Get content templates.
Reimplemented in ilWikiPage.
Definition at line 2943 of file class.ilPageObject.php.
| ilPageObject::getCreationUserId | ( | ) |
Definition at line 288 of file class.ilPageObject.php.
| ilPageObject::getDomDoc | ( | ) |
Get dom doc (DOMDocument)
Definition at line 421 of file class.ilPageObject.php.
Referenced by ilPageContentGUI\__construct(), ilPageContent\__construct(), ilContainerPage\addRepositoryBlockToPage(), ILIAS\COPage\ID\ContentIdManager\checkPCIds(), ILIAS\COPage\ID\ContentIdManager\getAllPCIds(), ILIAS\COPage\PC\Paragraph\ParagraphManager\getFirstParagraphText(), ILIAS\COPage\Compare\PageCompare\getPageContentsHashes(), ILIAS\COPage\PC\Paragraph\ParagraphManager\getParagraphForPCID(), ILIAS\COPage\ID\ContentIdManager\getPCIdsForHierIds(), and ilContainerPage\removeUnsupportedBlockIds().
Here is the caller graph for this function:| ilPageObject::getDomNodeForPCId | ( | string | $pc_id | ) |
Definition at line 761 of file class.ilPageObject.php.
| ilPageObject::getDuplicatePCIds | ( | ) |
Get all duplicate PC Ids.
Definition at line 2007 of file class.ilPageObject.php.
| ilPageObject::getEditLock | ( | ) |
Get page lock.
Definition at line 2721 of file class.ilPageObject.php.
References ilDBInterface\fetchAssoc(), ilObject\getId(), ilDBInterface\manipulate(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getEditLockInfo | ( | ) |
Get edit lock info.
Definition at line 2793 of file class.ilPageObject.php.
References ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getEffectiveEditLockTime | ( | ) |
Definition at line 2977 of file class.ilPageObject.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilPageObject::getFirstParagraphText | ( | ) |
Definition at line 1005 of file class.ilPageObject.php.
| ilPageObject::getHierIdForPcId | ( | string | $pcid | ) |
Definition at line 1159 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand(), and ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\mergePrevious().
Here is the caller graph for this function:| ilPageObject::getHierIds | ( | ) |
Definition at line 1136 of file class.ilPageObject.php.
| ilPageObject::getHierIdsForPCIds | ( | array | $a_pc_ids | ) |
Get hier ids for a set of pc ids.
Definition at line 1154 of file class.ilPageObject.php.
Referenced by ilPCMediaObjectGUI\__construct(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\getFullIdForPCId(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\getIdForPCId(), and ilPCParagraph\getLastSavedPCId().
Here is the caller graph for this function:| ilPageObject::getHistoryEntries | ( | ) |
Get History Entries.
Definition at line 2090 of file class.ilPageObject.php.
References ilDBInterface\fetchAssoc(), ILIAS\Survey\Mode\getId(), getLanguage(), 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 2115 of file class.ilPageObject.php.
References $res, ilDBInterface\fetchAssoc(), ILIAS\Survey\Mode\getId(), getLanguage(), 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 2140 of file class.ilPageObject.php.
References $res, ilDBInterface\fetchAssoc(), getLanguage(), ilDBInterface\query(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getId | ( | ) |
Definition at line 431 of file class.ilPageObject.php.
References $id.
Referenced by ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilLMPage\afterUpdate(), ilPCContentInclude\beforePageDelete(), ilTestPage\createPageWithNextId(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), ilMediaPoolPage\getUsages(), ILIAS\Blog\News\NewsManager\handle(), ilWikiStat\handlePageDeletion(), ilDclDetailedViewDefinition\isActive(), ILIAS\COPage\PC\MediaObject\MediaObjectManager\resolveMediaAliases(), ilPCParagraph\saveMetaKeywords(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), and ilPCSection\saveTimings().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilUnitTestPageObject.
Definition at line 807 of file class.ilPageObject.php.
| ilPageObject::getImportMode | ( | ) |
Definition at line 1043 of file class.ilPageObject.php.
| ilPageObject::getInitialOpenedContent | ( | ) |
Get initial opened content.
Definition at line 2592 of file class.ilPageObject.php.
| ilPageObject::getInternalLinks | ( | ) |
get all internal links that are used within the page
Definition at line 1084 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::getLanguage | ( | ) |
Definition at line 203 of file class.ilPageObject.php.
Referenced by ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilPCContentInclude\beforePageDelete(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), and ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime().
Here is the caller graph for this function:| ilPageObject::getLanguageVariablesXML | ( | int | $style_id = 0 | ) |
Get language variables as XML.
Definition at line 905 of file class.ilPageObject.php.
|
protected |
Definition at line 991 of file class.ilPageObject.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 999 of file class.ilPageObject.php.
| ilPageObject::getLastChange | ( | ) |
Definition at line 263 of file class.ilPageObject.php.
|
static |
Get all pages for parent object.
Definition at line 2951 of file class.ilPageObject.php.
References ilDBInterface\quote().
Referenced by ilWikiUserHTMLExport\getProcess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::getLastChangeUser | ( | ) |
Definition at line 273 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 1750 of file class.ilPageObject.php.
References ilObject\_getLastUpdateOfObjects(), ilObjMediaObject\_getMobsOfObject(), and ILIAS\Survey\Mode\getId().
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 1103 of file class.ilPageObject.php.
| 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 1093 of file class.ilPageObject.php.
|
static |
Get new pages.
Definition at line 2324 of file class.ilPageObject.php.
References ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getOfflineHandler | ( | ) |
Definition at line 2041 of file class.ilPageObject.php.
| ilPageObject::getPageConfig | ( | ) |
Definition at line 223 of file class.ilPageObject.php.
Referenced by ilLMPage\afterConstructor(), and ilWikiPage\afterConstructor().
Here is the caller graph for this function:
|
static |
Get all contributors for parent object.
Definition at line 2431 of file class.ilPageObject.php.
References ilDBInterface\quote().
Referenced by ilBlogPostingGUI\getPageHeading(), and ILIAS\Blog\News\NewsManager\handle().
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 2517 of file class.ilPageObject.php.
References ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getParagraphForPCID | ( | string | $pcid | ) |
Definition at line 1010 of file class.ilPageObject.php.
| ilPageObject::getParentContentObjectForPcId | ( | string | $pcid | ) |
Get parent content object for pc id.
Definition at line 738 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand().
Here is the caller graph for this function:| ilPageObject::getParentId | ( | ) |
Definition at line 441 of file class.ilPageObject.php.
Referenced by ilLMPage\afterConstructor(), ilWikiPage\afterConstructor(), ilLMPage\afterDelete(), ilLMPage\afterUpdate(), ilGlossaryDefPage\beforePageContentUpdate(), ilLMPage\beforePageContentUpdate(), ilBlogPosting\getBlogId(), ilWikiPage\getWikiId(), and ilPCParagraph\saveMetaKeywords().
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 2364 of file class.ilPageObject.php.
References ilDBInterface\quote().
Here is the call graph for this function:
|
abstract |
Reimplemented in ilLoginPage, ilLogoutPage, ilBlogPosting, ilContainerPage, ilContainerStartObjectsPage, ilContentPagePage, ilPageLayoutPage, ilUnitTestPageObject, ilLOPage, ilDashboardPage, ilDclDetailedViewDefinition, ilForumPage, ilGlossaryDefPage, ilGuidedTourPage, ilImprint, ilLMPage, ilLSOExtroPage, ilLSOIntroPage, ilMediaPoolPage, ilPortfolioPage, ilPortfolioTemplatePage, ilTestPage, ilAssQuestionPage, ilAssGenFeedbackPage, ilAssSpecFeedbackPage, and ilWikiPage.
Referenced by __construct(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilPCContentInclude\beforePageDelete(), ILIAS\COPage\ReadingTime\ReadingTimeManager\getTime(), ILIAS\COPage\PC\MediaObject\MediaObjectManager\resolveMediaAliases(), ilPCParagraph\saveMetaKeywords(), ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime(), and ilPCSection\saveTimings().
Here is the caller graph for this function:| ilPageObject::getPCIdForHierId | ( | string | $hier_id | ) |
Definition at line 1172 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 | ) |
Get hier ids for a set of pc ids.
Definition at line 1167 of file class.ilPageObject.php.
| ilPageObject::getPCModel | ( | ) |
Get page component model.
Definition at line 3010 of file class.ilPageObject.php.
|
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 2224 of file class.ilPageObject.php.
References ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::getRenderedContent | ( | ) |
Definition at line 243 of file class.ilPageObject.php.
| ilPageObject::getRenderedTime | ( | ) |
Definition at line 253 of file class.ilPageObject.php.
| ilPageObject::getRenderMd5 | ( | ) |
Definition at line 233 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.
Definition at line 3001 of file class.ilPageObject.php.
| ilPageObject::getShowActivationInfo | ( | ) |
Definition at line 283 of file class.ilPageObject.php.
| ilPageObject::getXMLContent | ( | bool | $a_incl_head = false | ) |
get xml content of page
Definition at line 790 of file class.ilPageObject.php.
| 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 852 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\ReadingTime\ReadingTimeManager\saveTime().
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 842 of file class.ilPageObject.php.
| ilPageObject::handleRepositoryLinksOnCopy | ( | array | $a_mapping, |
| int | $a_source_ref_id | ||
| ) |
Handle repository links on copy process.
Definition at line 1265 of file class.ilPageObject.php.
| ilPageObject::hasDuplicatePCIds | ( | ) |
Definition at line 1998 of file class.ilPageObject.php.
| ilPageObject::increaseViewCnt | ( | ) |
Increase view cnt.
Definition at line 2207 of file class.ilPageObject.php.
References ilDBInterface\manipulate(), and ilDBInterface\quote().
Here is the call graph for this function:| ilPageObject::initPageConfig | ( | ) |
Reimplemented in ilUnitTestPageObject.
Definition at line 187 of file class.ilPageObject.php.
Referenced by __construct().
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 1902 of file class.ilPageObject.php.
Referenced by ilPCLearningHistory\create().
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 1923 of file class.ilPageObject.php.
| 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 1974 of file class.ilPageObject.php.
| ilPageObject::insertPCIds | ( | ) |
Insert Page Content IDs.
Definition at line 2020 of file class.ilPageObject.php.
Referenced by PCInteractiveImageTest\getInteractiveImageInPage(), PCMediaObjectTest\getMediaObjectInPage(), and PCTabsTest\getTabForHierId().
Here is the caller graph for this function:
|
protected |
Definition at line 1674 of file class.ilPageObject.php.
References getLanguage().
Here is the call graph for this function:
|
static |
Definition at line 653 of file class.ilPageObject.php.
References $DIC, $res, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMContentRendererGUI\determineStatus(), 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 2667 of file class.ilPageObject.php.
Referenced by ilObjContentPage\doCloneObject(), ilContentPageImporter\finalProcessing(), ilCOPageExporter\getXmlRepresentation(), and ilLMObject\updateInternalLinks().
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 1951 of file class.ilPageObject.php.
Referenced by ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand().
Here is the caller 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 1251 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::needsImportParsing | ( | ?bool | $a_parse = null | ) |
Definition at line 1048 of file class.ilPageObject.php.
| ilPageObject::pasteContents | ( | string | $a_hier_id, |
| bool | $a_self_ass = false |
||
| ) |
Paste contents from pc clipboard.
| ilDateTimeException |
Definition at line 1864 of file class.ilPageObject.php.
| ilPageObject::performAutomaticModifications | ( | ) |
Perform automatic modifications (may be overwritten by sub classes)
Definition at line 2566 of file class.ilPageObject.php.
|
static |
Preload activation data by Parent Id.
Definition at line 493 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 | ) |
Reimplemented in ilWikiPage.
Definition at line 2200 of file class.ilPageObject.php.
| ilPageObject::read | ( | ) |
Read page data.
Reimplemented in ilBlogPosting, and ilPortfolioPage.
Definition at line 296 of file class.ilPageObject.php.
References getLanguage(), and ILIAS\Repository\int().
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 | ) |
Definition at line 2036 of file class.ilPageObject.php.
References $handler.
| ilPageObject::releasePageLock | ( | ) |
Release page lock.
Definition at line 2757 of file class.ilPageObject.php.
References 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 1225 of file class.ilPageObject.php.
| ilPageObject::resolveIIMMediaAliases | ( | array | $a_mapping | ) |
Resolve iim media aliases (in ilContObjParse)
Definition at line 1213 of file class.ilPageObject.php.
| ilPageObject::resolveIntLinks | ( | ?array | $a_link_map = null | ) |
Resolves all internal link targets of the page, if targets are available (after import)
Definition at line 1189 of file class.ilPageObject.php.
References 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 1198 of file class.ilPageObject.php.
| ilPageObject::resolveQuestionReferences | ( | array | $a_mapping | ) |
Resolve all quesiont references (after import)
Definition at line 1237 of file class.ilPageObject.php.
| ilPageObject::resolveResources | ( | array | $ref_mapping | ) |
Resolve resources.
Definition at line 2993 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 2579 of file class.ilPageObject.php.
| ilPageObject::saveInternalLinks | ( | DOMDocument | $a_domdoc | ) |
save internal links of page
Reimplemented in ilWikiPage.
Definition at line 1777 of file class.ilPageObject.php.
References ILIAS\Repository\link().
Here is the call graph for this function:| ilPageObject::saveStyleUsage | ( | DOMDocument | $a_domdoc, |
| int | $a_old_nr = 0 |
||
| ) |
Save all style class/template usages.
Definition at line 1726 of file class.ilPageObject.php.
| ilPageObject::sendParagraph | ( | string | $par_id, |
| string | $filename | ||
| ) |
Definition at line 2025 of file class.ilPageObject.php.
| ilPageObject::setActivationEnd | ( | ?string | $a_activationend | ) |
Set Activation End.
| string | $a_activationend | IL_CAL_DATETIME format |
Definition at line 698 of file class.ilPageObject.php.
| ilPageObject::setActivationStart | ( | ?string | $a_activationstart | ) |
| string | $a_activationstart | IL_CAL_DATETIME format |
Definition at line 681 of file class.ilPageObject.php.
| ilPageObject::setActive | ( | bool | $a_active | ) |
Definition at line 471 of file class.ilPageObject.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPageObject::setConcreteLang | ( | string | $a_val | ) |
Definition at line 213 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 1023 of file class.ilPageObject.php.
| ilPageObject::setContainsQuestion | ( | bool | $a_val | ) |
Definition at line 1060 of file class.ilPageObject.php.
| ilPageObject::setContentIdManager | ( | \ILIAS\COPage\ID\ContentIdManager | $content_id_manager | ) |
Definition at line 175 of file class.ilPageObject.php.
Referenced by COPageTestBase\getEmptyPageWithDom().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilWikiPage.
Definition at line 2659 of file class.ilPageObject.php.
| ilPageObject::setEmptyPageXml | ( | ) |
Definition at line 1284 of file class.ilPageObject.php.
| ilPageObject::setId | ( | int | $a_id | ) |
Definition at line 426 of file class.ilPageObject.php.
Referenced by ilWikiPage\create(), and ilTestPage\createPageWithNextId().
Here is the caller graph for this function:| ilPageObject::setImportMode | ( | bool | $a_val | ) |
Definition at line 1038 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 198 of file class.ilPageObject.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageObject::setLastChange | ( | string | $a_lastchange | ) |
Definition at line 258 of file class.ilPageObject.php.
| ilPageObject::setLastChangeUser | ( | int | $a_val | ) |
Definition at line 268 of file class.ilPageObject.php.
| ilPageObject::setPageConfig | ( | ilPageConfig | $a_val | ) |
Definition at line 208 of file class.ilPageObject.php.
Referenced by ilUnitTestPageObject\initPageConfig().
Here is the caller graph for this function:| ilPageObject::setParentId | ( | int | $a_id | ) |
Definition at line 436 of file class.ilPageObject.php.
Referenced by ilBlogPosting\setBlogId(), and ilWikiPage\setWikiId().
Here is the caller graph for this function:| ilPageObject::setRenderedContent | ( | string | $a_renderedcontent | ) |
Definition at line 238 of file class.ilPageObject.php.
| ilPageObject::setRenderedTime | ( | string | $a_renderedtime | ) |
Definition at line 248 of file class.ilPageObject.php.
| ilPageObject::setRenderMd5 | ( | string | $a_rendermd5 | ) |
Definition at line 228 of file class.ilPageObject.php.
| ilPageObject::setShowActivationInfo | ( | bool | $a_val | ) |
Definition at line 278 of file class.ilPageObject.php.
|
protected |
Definition at line 2703 of file class.ilPageObject.php.
References ILIAS\Survey\Mode\getId().
Here is the call 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 772 of file class.ilPageObject.php.
Referenced by COPageTestBase\getEmptyPageWithDom().
Here is the caller graph for this function:| ilPageObject::stripHierIDs | ( | ) |
Definition at line 1141 of file class.ilPageObject.php.
Referenced by ilPCParagraph\getLastSavedPCId().
Here is the caller graph for this function:| ilPageObject::stripPCIDs | ( | ) |
Definition at line 1146 of file class.ilPageObject.php.
| ilPageObject::switchEnableMultiple | ( | array | $a_hids, |
| bool | $a_update = true, |
||
| bool | $a_self_ass = false |
||
| ) |
|
static |
Truncate (html) string.
Definition at line 2815 of file class.ilPageObject.php.
References ilStr\shortenText().
Referenced by ilLearningModuleNotification\getPreviewText().
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 |
Reimplemented in ilUnitTestPageObject, ilPortfolioPage, and ilWikiPage.
Definition at line 1428 of file class.ilPageObject.php.
References $lm_set, ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), getLanguage(), ilUserUtil\getNamePresentation(), IL_CAL_UNIX, ILIAS_VERSION_NUMERIC, ILIAS\Repository\lng(), ilUtil\now(), and ILIAS\Repository\user().
Referenced by ilContainerPage\addRepositoryBlockToPage(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\cancelCommand(), ilQuestionPageParser\processPagesToParse(), ilContainerPage\removeUnsupportedBlockIds(), 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 1337 of file class.ilPageObject.php.
References ILIAS\Survey\Mode\getId(), getLanguage(), ilUtil\now(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPageObject::validateDom | ( | bool | $throw = false | ) |
Validate the page content agains page DTD.
Definition at line 1116 of file class.ilPageObject.php.
| ilPageObject::writeRenderedContent | ( | string | $a_content, |
| string | $a_md5 | ||
| ) |
Write rendered content.
Definition at line 2495 of file class.ilPageObject.php.
|
staticprotected |
Definition at line 89 of file class.ilPageObject.php.
|
protected |
Definition at line 103 of file class.ilPageObject.php.
|
protected |
Definition at line 102 of file class.ilPageObject.php.
|
protected |
Definition at line 93 of file class.ilPageObject.php.
|
protected |
Definition at line 105 of file class.ilPageObject.php.
| bool ilPageObject::$contains_int_link = false |
Definition at line 79 of file class.ilPageObject.php.
|
protected |
Definition at line 100 of file class.ilPageObject.php.
|
protected |
Definition at line 106 of file class.ilPageObject.php.
|
protected |
Definition at line 58 of file class.ilPageObject.php.
| string ilPageObject::$cur_dtd = "ilias_pg_9.dtd" |
Definition at line 78 of file class.ilPageObject.php.
|
protected |
Definition at line 68 of file class.ilPageObject.php.
Referenced by ilWikiPage\createFromXML().
| DOMDocument ilPageObject::$dom = null |
Definition at line 74 of file class.ilPageObject.php.
| bool ilPageObject::$dom_builded = false |
Definition at line 86 of file class.ilPageObject.php.
|
protected |
Definition at line 55 of file class.ilPageObject.php.
|
protected |
Definition at line 54 of file class.ilPageObject.php.
Referenced by __construct().
| string ilPageObject::$encoding = "" |
Definition at line 76 of file class.ilPageObject.php.
|
static |
Definition at line 67 of file class.ilPageObject.php.
|
protected |
Definition at line 101 of file class.ilPageObject.php.
| bool ilPageObject::$history_saved = false |
Definition at line 87 of file class.ilPageObject.php.
|
protected |
Definition at line 73 of file class.ilPageObject.php.
Referenced by ilContainerPage\addRepositoryBlockToPage(), ilWikiPage\create(), ilDclDetailedViewDefinition\exists(), ilDclDetailedViewDefinition\isActive(), and ilContainerPage\removeUnsupportedBlockIds().
|
protected |
Definition at line 62 of file class.ilPageObject.php.
|
protected |
Definition at line 90 of file class.ilPageObject.php.
|
protected |
Definition at line 88 of file class.ilPageObject.php.
| int ilPageObject::$last_change_user = 0 |
Definition at line 99 of file class.ilPageObject.php.
|
protected |
Definition at line 98 of file class.ilPageObject.php.
|
protected |
Definition at line 56 of file class.ilPageObject.php.
|
protected |
Definition at line 70 of file class.ilPageObject.php.
Referenced by ilPortfolioPage\getTitle().
|
protected |
Definition at line 91 of file class.ilPageObject.php.
|
protected |
Definition at line 72 of file class.ilPageObject.php.
| bool ilPageObject::$needs_parsing = false |
Definition at line 80 of file class.ilPageObject.php.
| DomNode ilPageObject::$node |
Definition at line 77 of file class.ilPageObject.php.
Referenced by ilContainerPage\addRepositoryBlockToPage(), and ilContainerPage\removeUnsupportedBlockIds().
|
protected |
Definition at line 66 of file class.ilPageObject.php.
| object ilPageObject::$offline_handler = null |
Definition at line 85 of file class.ilPageObject.php.
| int ilPageObject::$old_nr |
Definition at line 63 of file class.ilPageObject.php.
|
protected |
Definition at line 94 of file class.ilPageObject.php.
|
protected |
Definition at line 107 of file class.ilPageObject.php.
|
protected |
Definition at line 64 of file class.ilPageObject.php.
|
protected |
Definition at line 92 of file class.ilPageObject.php.
| int ilPageObject::$parent_id = 0 |
Definition at line 82 of file class.ilPageObject.php.
| string ilPageObject::$parent_type = "" |
Definition at line 81 of file class.ilPageObject.php.
Referenced by ilDashboardPage\getParentType().
|
protected |
Definition at line 57 of file class.ilPageObject.php.
|
protected |
Definition at line 109 of file class.ilPageObject.php.
|
protected |
Definition at line 104 of file class.ilPageObject.php.
|
protected |
Definition at line 96 of file class.ilPageObject.php.
|
protected |
Definition at line 97 of file class.ilPageObject.php.
|
protected |
Definition at line 95 of file class.ilPageObject.php.
|
protected |
Definition at line 65 of file class.ilPageObject.php.
|
protected |
Definition at line 108 of file class.ilPageObject.php.
|
protected |
Definition at line 71 of file class.ilPageObject.php.
| int ilPageObject::$update_listener_cnt = 0 |
Definition at line 84 of file class.ilPageObject.php.
| array ilPageObject::$update_listeners = [] |
Definition at line 83 of file class.ilPageObject.php.
|
protected |
Definition at line 69 of file class.ilPageObject.php.
| string ilPageObject::$xml = "" |
Definition at line 75 of file class.ilPageObject.php.