|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilWikiPage. More...
Inheritance diagram for ilWikiPage:
Collaboration diagram for ilWikiPage:Public Member Functions | |
| getParentType () | |
| Get parent type. More... | |
| afterConstructor () | |
| After constructor. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setWikiId ($a_wikiid) | |
| Set Wiki Object Id. More... | |
| getWikiId () | |
| Get Wiki Object Id. More... | |
| setWikiRefId ($a_wiki_ref_id) | |
| Set Wiki Ref Id. More... | |
| getWikiRefId () | |
| Get Wiki Ref Id. More... | |
| setBlocked ($a_val) | |
| Set blocked. More... | |
| getBlocked () | |
| Get blocked. More... | |
| setRating ($a_val) | |
| Set rating. More... | |
| getRating () | |
| Get rating. More... | |
| hideAdvancedMetadata ($a_val) | |
| Toggle adv md visibility. More... | |
| isAdvancedMetadataHidden () | |
| Get adv md visibility status. More... | |
| createFromXML () | |
| Create page from xml. More... | |
| create ($a_prevent_page_creation=false) | |
| Create new wiki page. More... | |
| afterUpdate ($a_domdoc=null, $a_xml="") | |
| update ($a_validate=true, $a_no_history=false) | |
| update object data More... | |
| read ($a_omit_page_read=false) | |
| Read wiki data. More... | |
| delete () | |
| delete wiki page and al related data More... | |
| saveInternalLinks ($a_domdoc) | |
| save internal links of page More... | |
| rename ($a_new_name) | |
| Rename page. More... | |
| updateNews ($a_update=false) | |
| Create. More... | |
| getNewsContent () | |
| Get content for a wiki news item. More... | |
| getContentTemplates () | |
| Get content templates. More... | |
Public Member Functions inherited from ilPageObject | |
| __construct ($a_id=0, $a_old_nr=0, $a_lang="-") | |
| Constructor @access public. More... | |
| afterConstructor () | |
| After constructor. More... | |
| getParentType () | |
| Get parent type. More... | |
| initPageConfig () | |
| Init page config. More... | |
| setLanguage ($a_val) | |
| Set language. More... | |
| getLanguage () | |
| Get language. More... | |
| setPageConfig ($a_val) | |
| Set page config object. More... | |
| getPageConfig () | |
| Get page config object. More... | |
| setRenderMd5 ($a_rendermd5) | |
| Set Render MD5. More... | |
| getRenderMd5 () | |
| Get Render MD5. More... | |
| setRenderedContent ($a_renderedcontent) | |
| Set Rendered Content. More... | |
| getRenderedContent () | |
| Get Rendered Content. More... | |
| setRenderedTime ($a_renderedtime) | |
| Set Rendered Time. More... | |
| getRenderedTime () | |
| Get Rendered Time. More... | |
| setLastChange ($a_lastchange) | |
| Set Last Change. More... | |
| getLastChange () | |
| Get Last Change. More... | |
| setLastChangeUser ($a_val) | |
| Set last change user. More... | |
| getLastChangeUser () | |
| Get last change user. More... | |
| setShowActivationInfo ($a_val) | |
| Set show page activation info. More... | |
| getShowActivationInfo () | |
| Get show page activation info. More... | |
| read () | |
| Read page data. More... | |
| buildDom ($a_force=false) | |
| freeDom () | |
| getDom () | |
| Deprecated php4DomDocument. More... | |
| getDomDoc () | |
| Get dom doc (php5 dom document) More... | |
| setId ($a_id) | |
| set id More... | |
| getId () | |
| setParentId ($a_id) | |
| getParentId () | |
| addUpdateListener (&$a_object, $a_method, $a_parameters="") | |
| callUpdateListeners () | |
| setActive ($a_active) | |
| set activation More... | |
| getActive ($a_check_scheduled_activation=false) | |
| get activation More... | |
| setActivationStart ($a_activationstart) | |
| Set Activation Start. More... | |
| getActivationStart () | |
| Get Activation Start. More... | |
| setActivationEnd ($a_activationend) | |
| Set Activation End. More... | |
| getActivationEnd () | |
| Get Activation End. More... | |
| getContentObject ($a_hier_id, $a_pc_id="") | |
| Get a content object of the page. More... | |
| & | getContentNode ($a_hier_id, $a_pc_id="") |
| Get content node from dom. More... | |
| checkForTag ($a_content_tag, $a_hier_id, $a_pc_id="") | |
| Get content node from dom. More... | |
| lookforhier ($a_hier_id) | |
| & | getNode () |
| setXMLContent ($a_xml, $a_encoding="UTF-8") | |
| set xml content of page, start with <PageObject...>, end with </PageObject>, comply with ILIAS DTD, omit MetaData, use utf-8! More... | |
| appendXMLContent ($a_xml) | |
| append xml content to page setXMLContent must be called before and the same encoding must be used More... | |
| getXMLContent ($a_incl_head=false) | |
| get xml content of page More... | |
| copyXmlContent ($a_clone_mobs=false) | |
| Copy content of page; replace page components with copies where necessary (e.g. More... | |
| handleCopiedContent ($a_dom, $a_self_ass=true, $a_clone_mobs=false) | |
| Handle copied content. More... | |
| newIIMCopies ($temp_dom) | |
| Replaces media objects in interactive images with copies of the interactive images. More... | |
| newMobCopies ($temp_dom) | |
| Replaces media objects with copies. More... | |
| newQuestionCopies (&$temp_dom) | |
| Replaces existing question content elements with new copies. More... | |
| removeQuestions (&$temp_dom) | |
| Remove questions from document. More... | |
| countPageContents () | |
| Remove questions from document. More... | |
| getXMLFromDom ( $a_incl_head=false, $a_append_mobs=false, $a_append_bib=false, $a_append_str="", $a_omit_pageobject_tag=false) | |
| get xml content of page from dom (use this, if any changes are made to the document) More... | |
| getLanguageVariablesXML () | |
| Get language variables as XML. More... | |
| appendLangVarXML (&$xml, $var) | |
| getFirstParagraphText () | |
| setParagraphContent ($a_hier_id, $a_content) | |
| Set content of paragraph. More... | |
| setContainsIntLink ($a_contains_link) | |
| lm parser set this flag to true, if the page contains intern links (this method should only be called by the import parser) More... | |
| containsIntLink () | |
| returns true, if page was marked as containing an intern link (via setContainsIntLink) (this method should only be called by the import parser) More... | |
| setImportMode ($a_val) | |
| Set import mode. More... | |
| getImportMode () | |
| Get import mode. More... | |
| needsImportParsing ($a_parse="") | |
| setContainsQuestion ($a_val) | |
| Set contains question. More... | |
| getContainsQuestion () | |
| Get contains question. More... | |
| collectMediaObjects ($a_inline_only=true) | |
| get all media objects, that are referenced and used within the page More... | |
| getInternalLinks ($a_cnt_multiple=false) | |
| get all internal links that are used within the page More... | |
| getMultimediaXML () | |
| get a xml string that contains all media object elements, that are referenced by any media alias in the page More... | |
| getMediaAliasElement ($a_mob_id, $a_nr=1) | |
| get complete media object (alias) element More... | |
| validateDom () | |
| Validate the page content agains page DTD. More... | |
| addHierIDs () | |
| Add hierarchical ID (e.g. More... | |
| getHierIds () | |
| get all hierarchical ids More... | |
| getFirstRowIds () | |
| get ids of all first table rows More... | |
| getFirstColumnIds () | |
| get ids of all first table columns More... | |
| getListItemIds () | |
| get ids of all list items More... | |
| getFileItemIds () | |
| get ids of all file items More... | |
| stripHierIDs () | |
| strip all hierarchical id attributes out of the dom tree More... | |
| getHierIdsForPCIds ($a_pc_ids) | |
| Get hier ids for a set of pc ids. More... | |
| addFileSizes () | |
| add file sizes More... | |
| resolveIntLinks ($a_link_map=null) | |
| Resolves all internal link targets of the page, if targets are available (after import) More... | |
| resolveMediaAliases ($a_mapping, $a_reuse_existing_by_import=false) | |
| Resolve media aliases (after import) More... | |
| resolveIIMMediaAliases ($a_mapping) | |
| Resolve iim media aliases (in ilContObjParse) More... | |
| resolveFileItems ($a_mapping) | |
| Resolve file items (after import) More... | |
| resolveQuestionReferences ($a_mapping) | |
| Resolve all quesion references (after import) More... | |
| moveIntLinks ($a_from_to) | |
| Move internal links from one destination to another. More... | |
| handleImportRepositoryLink ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) | |
| handleRepositoryLinksOnCopy ($a_mapping, $a_source_ref_id) | |
| Handle repository links on copy process. More... | |
| createFromXML () | |
| Create new page object with current xml content. More... | |
| updateFromXML () | |
| Updates page object with current xml content. More... | |
| afterUpdate () | |
| After update. More... | |
| update ($a_validate=true, $a_no_history=false) | |
| update complete page content in db (dom xml content is used) More... | |
| delete () | |
| delete page object More... | |
| saveStyleUsage ($a_domdoc, $a_old_nr=0) | |
| Save all style class/template usages. More... | |
| deleteStyleUsages ($a_old_nr=0) | |
| Delete style usages. More... | |
| getLastUpdateOfIncludedElements () | |
| Get last update of included elements (media objects and files). More... | |
| deleteInternalLinks () | |
| Delete internal links. More... | |
| saveInternalLinks ($a_domdoc) | |
| save internal links of page More... | |
| create () | |
| create new page (with current xml data) More... | |
| deleteContent ($a_hid, $a_update=true, $a_pcid="") | |
| delete content object with hierarchical id $a_hid More... | |
| deleteContents ($a_hids, $a_update=true, $a_self_ass=false) | |
| Delete multiple content objects. More... | |
| cutContents ($a_hids) | |
| Copy contents to clipboard and cut them from the page. More... | |
| copyContents ($a_hids) | |
| Copy contents to clipboard. More... | |
| pasteContents ($a_hier_id, $a_self_ass=false) | |
| Paste contents from pc clipboard. More... | |
| switchEnableMultiple ($a_hids, $a_update=true, $a_self_ass=false) | |
| (De-)activate elements More... | |
| deleteContentFromHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id >= $a_hid More... | |
| deleteContentBeforeHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id < $a_hid More... | |
| insertContent (&$a_cont_obj, $a_pos, $a_mode=IL_INSERT_AFTER, $a_pcid="") | |
| insert a content node before/after a sibling or as first child of a parent More... | |
| insertContentNode (&$a_cont_node, $a_pos, $a_mode=IL_INSERT_AFTER, $a_pcid="") | |
| insert a content node before/after a sibling or as first child of a parent More... | |
| moveContentBefore ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids) More... | |
| moveContentAfter ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids) More... | |
| bbCode2XML (&$a_content) | |
| transforms bbCode to corresponding xml More... | |
| insertInstIntoIDs ($a_inst, $a_res_ref_to_obj_id=true) | |
| inserts installation id into ids (e.g. More... | |
| checkPCIds () | |
| Check, whether (all) page content hashes are set. More... | |
| getAllPCIds () | |
| Get all pc ids. More... | |
| existsPCId ($a_pc_id) | |
| existsPCId More... | |
| generatePcId ($a_pc_ids=false) | |
| Generate new pc id. More... | |
| insertPCIds () | |
| Insert Page Content IDs. More... | |
| getPageContentsHashes () | |
| Get page contents hashes. More... | |
| getQuestionIds () | |
| Get question ids. More... | |
| send_paragraph ($par_id, $filename) | |
| getFO () | |
| get fo page content More... | |
| registerOfflineHandler ($handler) | |
| getOfflineHandler () | |
| Get offline handler. More... | |
| containsDeactivatedElements ($a_content) | |
| Check whether content contains deactivated elements. More... | |
| getHistoryEntries () | |
| Get History Entries. More... | |
| getHistoryEntry ($a_old_nr) | |
| Get History Entry. More... | |
| getHistoryInfo ($a_nr) | |
| Get information about a history entry, its predecessor and its successor. More... | |
| addChangeDivClasses ($a_hashes) | |
| compareVersion ($a_left, $a_right) | |
| Compares to revisions of the page. More... | |
| increaseViewCnt () | |
| Increase view cnt. More... | |
| writeRenderedContent ($a_content, $a_md5) | |
| Write rendered content. More... | |
| containsIntLinks ($a_content) | |
| Check whether content contains internal links. More... | |
| performAutomaticModifications () | |
| Perform automatic modifications (may be overwritten by sub classes) More... | |
| saveInitialOpenedContent ($a_type, $a_id, $a_target) | |
| Save initial opened content. More... | |
| getInitialOpenedContent () | |
| Get initial opened content. More... | |
| beforePageContentUpdate ($a_page_content) | |
| Before page content update. More... | |
| copy ($a_id, $a_parent_type="", $a_parent_id=0, $a_clone_mobs=false) | |
| Copy page. More... | |
| copyPageToTranslation ($a_target_lang) | |
| Copy page to translation. More... | |
| getEditLock () | |
| Get page lock. More... | |
| releasePageLock () | |
| Release page lock. More... | |
| getEditLockInfo () | |
| Get edit lock info. More... | |
| getContentTemplates () | |
| Get content templates. More... | |
| getEffectiveEditLockTime () | |
| getAllFileObjIds () | |
| Get all file object ids. More... | |
| resolveResources ($ref_mapping) | |
| Resolve resources. More... | |
| getRepoObjId () | |
| Get object id of repository object that contains this page, return 0 if page does not belong to a repo object. More... | |
Static Public Member Functions | |
| static | deleteAllPagesOfWiki ($a_wiki_id) |
| delete wiki page and al related data More... | |
| static | exists ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. More... | |
| static | getIdForPageTitle ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. More... | |
| static | getPageIdForTitle ($a_wiki_id, $a_title) |
| Get wiki page object for id and title. More... | |
| static | lookupTitle ($a_page_id) |
| Checks whether a page with given title exists. More... | |
| static | lookupWikiId ($a_page_id) |
| Lookup wiki id. More... | |
| static | getAllWikiPages ($a_wiki_id) |
| Get all pages of wiki. More... | |
| static | getLinksToPage ($a_wiki_id, $a_page_id) |
| Get links to a page. More... | |
| static | getOrphanedPages ($a_wiki_id) |
| Get orphaned pages of wiki. More... | |
| static | _wikiPageExists ($a_wiki_id, $a_title) |
| Check whether page exists for wiki or not. More... | |
| static | getWikiContributors ($a_wiki_id) |
| Get all contributors of wiki. More... | |
| static | getWikiPageContributors ($a_page_id) |
| Get all contributors of wiki. More... | |
| static | _getPageIdForWikiTitle ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. More... | |
| static | getPopularPages ($a_wiki_id) |
| Get popular pages of wiki. More... | |
| static | countPages ($a_wiki_id) |
| Count pages of wiki. More... | |
| static | getRandomPage ($a_wiki_id) |
| Get a random page. More... | |
| static | getNewWikiPages ($a_wiki_id) |
| Get all pages of wiki. More... | |
| static | lookupObjIdByPage ($a_page_id) |
| returns the wiki/object id to a given page id More... | |
| static | getGotoForWikiPageTarget ($a_target, $a_offline=false) |
| Get goto href for internal wiki page link target. More... | |
| static | getPagesForSearch ($a_wiki_id, $a_term) |
| Get pages for search. More... | |
| static | lookupAdvancedMetadataHidden ($a_page_id) |
Static Public Member Functions inherited from ilPageObject | |
| static | _exists ($a_parent_type, $a_id, $a_lang="", $a_no_cache=false) |
| Checks whether page exists. More... | |
| static | _existsAndNotEmpty ($a_parent_type, $a_id, $a_lang="-") |
| Checks whether page exists and is not empty (may return true on some empty pages) More... | |
| static | preloadActivationDataByParentId ($a_parent_id) |
| Preload activation data by Parent Id. More... | |
| static | _lookupActive ($a_id, $a_parent_type, $a_check_scheduled_activation=false, $a_lang="-") |
| lookup activation status More... | |
| static | _isScheduledActivation ($a_id, $a_parent_type, $a_lang="-") |
| Check whether page is activated by time schedule. More... | |
| static | _writeActive ($a_id, $a_parent_type, $a_active, $a_reset_scheduled_activation=true, $a_lang="-") |
| write activation status More... | |
| static | _lookupActivationData ($a_id, $a_parent_type, $a_lang="-") |
| Lookup activation data. More... | |
| static | lookupParentId ($a_id, $a_type) |
| Lookup parent id. More... | |
| static | _writeParentId ($a_parent_type, $a_pg_id, $a_par_id) |
| Write parent id. More... | |
| static | _handleImportRepositoryLinks ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) |
| Change targest of repository links. More... | |
| static | _moveContentAfterHierId (&$a_source_page, &$a_target_page, $a_hid) |
| move content of hierarchical id >= $a_hid to other page More... | |
| static | _lookupContainsDeactivatedElements ($a_id, $a_parent_type, $a_lang="-") |
| lookup whether page contains deactivated elements More... | |
| static | getRecentChanges ($a_parent_type, $a_parent_id, $a_period=30, $a_lang="") |
| Get recent pages changes for parent object. More... | |
| static | getAllPages ($a_parent_type, $a_parent_id, $a_lang="-") |
| Get all pages for parent object. More... | |
| static | getNewPages ($a_parent_type, $a_parent_id, $a_lang="-") |
| Get new pages. More... | |
| static | getParentObjectContributors ($a_parent_type, $a_parent_id, $a_lang="-") |
| Get all contributors for parent object. More... | |
| static | getPageContributors ($a_parent_type, $a_page_id, $a_lang="-") |
| Get all contributors for parent object. More... | |
| static | getPagesWithLinks ($a_parent_type, $a_parent_id, $a_lang="-") |
| Get all pages for parent object that contain internal links. More... | |
| static | lookupTranslations ($a_parent_type, $a_id) |
| Lookup translations. More... | |
| static | truncateHTML ($a_text, $a_length=100, $a_ending='...', $a_exact=false, $a_consider_html=true) |
| Truncate (html) string. More... | |
| static | getLastChangeByParent ($a_parent_type, $a_parent_id, $a_lang="") |
| Get all pages for parent object. More... | |
Protected Attributes | |
| $blocked = false | |
| $rating = false | |
| $hide_adv_md = false | |
Protected Attributes inherited from ilPageObject | |
| $obj_definition | |
| $db | |
| $user | |
| $lng | |
| $tree | |
| $id | |
| $language = "-" | |
| $import_mode = false | |
| $log | |
| $page_record = array() | |
| $active = false | |
| $page_config | |
Additional Inherited Members | |
Data Fields inherited from ilPageObject | |
| $dom | |
| $xml | |
| $encoding | |
| $node | |
| $cur_dtd = "ilias_pg_5_4.dtd" | |
| $contains_int_link | |
| $needs_parsing | |
| $parent_type | |
| $parent_id | |
| $update_listeners | |
| $update_listener_cnt | |
| $offline_handler | |
| $dom_builded | |
| $history_saved | |
Static Public Attributes inherited from ilPageObject | |
| static | $exists = array() |
Protected Member Functions inherited from ilPageObject | |
| __afterUpdate ($a_domdoc, $a_xml, $a_creation=false, $a_empty=false) | |
| After update event handler (internal). More... | |
| __beforeDelete () | |
| Before deletion handler (internal). More... | |
| __afterHistoryEntry ($a_old_domdoc, $a_old_content, $a_old_nr) | |
| Before deletion handler (internal). More... | |
Static Protected Attributes inherited from ilPageObject | |
| static | $activation_data = array() |
|
static |
Checks whether a page with given title exists.
Definition at line 754 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWikiGUI\getSettingsFormValues(), rename(), ilWikiPageGUI\renamePage(), and saveInternalLinks().
Here is the caller graph for this function:
|
static |
Check whether page exists for wiki or not.
@access public
Definition at line 610 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilObjWiki\decorateAdvMDValue(), ilObjWikiGUI\gotoPageObject(), ilWikiPageGUI\insertWikiLinkAC(), ilWikiUtil\makeLink(), and ilWikiUtil\processInternalLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::afterConstructor | ( | ) |
After constructor.
return
Reimplemented from ilPageObject.
Definition at line 36 of file class.ilWikiPage.php.
References ilPageObject\getPageConfig(), and ilPageObject\getParentId().
Here is the call graph for this function:| ilWikiPage::afterUpdate | ( | $a_domdoc = null, |
|
$a_xml = "" |
|||
| ) |
Definition at line 225 of file class.ilWikiPage.php.
References ilPageObject\$xml, ilWikiUtil\collectInternalLinks(), ilWikiStat\EVENT_PAGE_UPDATED, getWikiId(), ilWikiStat\handleEvent(), and ilStr\strLen().
Here is the call graph for this function:
|
static |
Count pages of wiki.
| int | $a_wiki_id | Wiki ID |
Definition at line 802 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $r, and $s.
Referenced by getRandomPage().
Here is the caller graph for this function:| ilWikiPage::create | ( | $a_prevent_page_creation = false | ) |
Create new wiki page.
Definition at line 187 of file class.ilWikiPage.php.
References ilPageObject\$db, ilPageObject\$id, $ilDB, $query, ilWikiStat\EVENT_PAGE_CREATED, getBlocked(), ilPageObject\getDomDoc(), ilPageObject\getId(), getRating(), getTitle(), getWikiId(), getWikiRefId(), ilWikiStat\handleEvent(), isAdvancedMetadataHidden(), saveInternalLinks(), ilWikiUtil\sendNotification(), ilPageObject\setId(), ilNotification\TYPE_WIKI, and updateNews().
Here is the call graph for this function:| ilWikiPage::createFromXML | ( | ) |
Create page from xml.
Reimplemented from ilPageObject.
Definition at line 164 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, and ilPageObject\read().
Here is the call graph for this function:| ilWikiPage::delete | ( | ) |
delete wiki page and al related data
@access public
Reimplemented from ilPageObject.
Definition at line 323 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, ilInternalLink\_deleteAllLinksToTarget(), ilWikiStat\EVENT_PAGE_DELETED, ilPageObject\getId(), getLinksToPage(), getTitle(), getWikiId(), getWikiRefId(), ilWikiStat\handleEvent(), ilNotification\removeForObject(), ilWikiUtil\sendNotification(), and ilNotification\TYPE_WIKI_PAGE.
Here is the call graph for this function:
|
static |
delete wiki page and al related data
@access public
Definition at line 380 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWiki\delete().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 400 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilWikiHandlerGUI\executeCommand(), ilObjWiki\update(), and ilObjWikiGUI\viewPageObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all pages of wiki.
@access public
Definition at line 506 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWiki\cloneObject(), ilWikiStat\countPages(), ilObjWikiGUI\editImportantPagesObject(), ilWikiHTMLExport\exportHTMLPages(), getOrphanedPages(), ilWikiPagesTableGUI\getPages(), ilWikiExporter\getXmlExportTailDependencies(), ilWikiPageGUI\initPrintViewSelectionForm(), ilObjWikiGUI\initSettingsForm(), ilWikiPageTemplateGUI\listTemplates(), ilWikiPageGUI\printViewOrderList(), and ilInternalLinkGUI\showLinkHelp().
Here is the caller graph for this function:| ilWikiPage::getBlocked | ( | ) |
Get blocked.
Definition at line 116 of file class.ilWikiPage.php.
References $blocked.
Referenced by create(), and update().
Here is the caller graph for this function:| ilWikiPage::getContentTemplates | ( | ) |
Get content templates.
Reimplemented from ilPageObject.
Definition at line 1083 of file class.ilWikiPage.php.
References $t, getWikiId(), and ilWikiPageTemplate\TYPE_ADD_TO_PAGE.
Here is the call graph for this function:
|
static |
Get goto href for internal wiki page link target.
return
Definition at line 1067 of file class.ilWikiPage.php.
Referenced by ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), and ilPageObjectGUI\setDefaultLinkXml().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 422 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilWikiUtil\makeLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get links to a page.
Definition at line 533 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $source, and ilInternalLink\_getSourcesOfTarget().
Referenced by delete(), ilWikiPageGUI\deleteWikiPageConfirmationScreen(), and ilWikiPagesTableGUI\getPages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::getNewsContent | ( | ) |
Get content for a wiki news item.
Definition at line 1056 of file class.ilWikiPage.php.
|
static |
Get all pages of wiki.
@access public
Definition at line 852 of file class.ilWikiPage.php.
References $DIC, $ilDB, and lookupTitle().
Referenced by ilWikiPagesTableGUI\getPages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get orphaned pages of wiki.
@access public
Definition at line 570 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $source, ilInternalLink\_getSourcesOfTarget(), ilObjWiki\_lookupStartPage(), and getAllWikiPages().
Referenced by ilWikiPagesTableGUI\getPages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get wiki page object for id and title.
Definition at line 444 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilObjWiki\cloneObject(), ilWikiHandlerGUI\executeCommand(), ilWikiPageGUI\getGUIForTitle(), and ilWikiPageGUI\getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get pages for search.
return
Definition at line 1100 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $res.
Referenced by ilWikiPageGUI\insertWikiLinkAC().
Here is the caller graph for this function:| ilWikiPage::getParentType | ( | ) |
Get parent type.
Reimplemented from ilPageObject.
Definition at line 25 of file class.ilWikiPage.php.
|
static |
Get popular pages of wiki.
@access public
Definition at line 776 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilWikiPagesTableGUI\getPages().
Here is the caller graph for this function:
|
static |
Get a random page.
| int | $a_wiki_id | Wiki ID |
Definition at line 822 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $r, $s, and countPages().
Referenced by ilObjWikiGUI\randomPageObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::getRating | ( | ) |
Get rating.
Definition at line 136 of file class.ilWikiPage.php.
References $rating.
Referenced by create(), and update().
Here is the caller graph for this function:| ilWikiPage::getTitle | ( | ) |
Get Title.
Definition at line 56 of file class.ilWikiPage.php.
References $title.
Referenced by create(), delete(), rename(), saveInternalLinks(), update(), and updateNews().
Here is the caller graph for this function:
|
static |
Get all contributors of wiki.
@access public
Definition at line 636 of file class.ilWikiPage.php.
Referenced by ilWikiContributorsTableGUI\getContributors().
Here is the caller graph for this function:| ilWikiPage::getWikiId | ( | ) |
Get Wiki Object Id.
Definition at line 76 of file class.ilWikiPage.php.
References ilPageObject\getParentId().
Referenced by afterUpdate(), create(), delete(), getContentTemplates(), ilWikiStat\handlePageCreated(), ilWikiStat\handlePageDeletion(), ilWikiStat\handlePageRating(), ilWikiStat\handlePageRead(), ilWikiStat\handlePageUpdated(), rename(), saveInternalLinks(), update(), and updateNews().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all contributors of wiki.
@access public
Definition at line 652 of file class.ilWikiPage.php.
Referenced by ilWikiPageGUI\deleteWikiPageConfirmationScreen().
Here is the caller graph for this function:| ilWikiPage::getWikiRefId | ( | ) |
Get Wiki Ref Id.
Definition at line 96 of file class.ilWikiPage.php.
Referenced by create(), delete(), and update().
Here is the caller graph for this function:| ilWikiPage::hideAdvancedMetadata | ( | $a_val | ) |
Toggle adv md visibility.
| boolean | $a_val |
Definition at line 146 of file class.ilWikiPage.php.
Referenced by read().
Here is the caller graph for this function:| ilWikiPage::isAdvancedMetadataHidden | ( | ) |
Get adv md visibility status.
Definition at line 156 of file class.ilWikiPage.php.
References $hide_adv_md.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 1118 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilWikiFunctionsBlockGUI\fillDataSection(), and ilObjWikiGUI\renderSideBlock().
Here is the caller graph for this function:
|
static |
returns the wiki/object id to a given page id
| $a_page_id |
Definition at line 874 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 466 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilWikiPagesTableGUI\__construct(), ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilObjWikiGUI\_goto(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilWikiHandlerGUI\executeCommand(), ilWikiStatGUI\export(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjWiki\getAdvMDSubItemTitle(), ilObjWikiSubItemListGUI\getHTML(), getNewWikiPages(), ilWikiNewsRendererGUI\getObjectLink(), ilObjWikiGUI\getSubObjectTitle(), ilObjWikiSearchResultTableGUI\parse(), ilObjWikiGUI\saveSettingsObject(), ilWikiPageGUI\searchWikiLinkAC(), ilNote\sendNotifications(), ilObjWikiGUI\setAsStartPageObject(), and ilNewsForContextBlockGUI\showNews().
Here is the caller graph for this function:
|
static |
Lookup wiki id.
Definition at line 485 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWikiAccess\_checkGoto(), ilObjWikiGUI\_goto(), and ilWikiImporter\finalProcessing().
Here is the caller graph for this function:| ilWikiPage::read | ( | $a_omit_page_read = false | ) |
Read wiki data.
Definition at line 296 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, ilPageObject\getId(), hideAdvancedMetadata(), setBlocked(), setRating(), setTitle(), and setWikiId().
Here is the call graph for this function:| ilWikiPage::rename | ( | $a_new_name | ) |
Rename page.
Definition at line 893 of file class.ilWikiPage.php.
References $c, ilPageObject\$db, $ilDB, $s, ilPageObject\_exists(), _getPageIdForWikiTitle(), ilInternalLink\_getSourcesOfTarget(), ilObjWiki\_lookupStartPage(), ilPageObject\getId(), getTitle(), getWikiId(), IL_WIKI_MODE_EXT_COLLECT, ilWikiUtil\makeDbTitle(), ilWikiUtil\processInternalLinks(), setTitle(), update(), and ilObjWiki\writeStartPage().
Here is the call graph for this function:| ilWikiPage::saveInternalLinks | ( | $a_domdoc | ) |
save internal links of page
| string | xml page code |
Reimplemented from ilPageObject.
Definition at line 669 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, ilPageObject\$xml, _getPageIdForWikiTitle(), ilInternalLink\_saveLink(), ilWikiUtil\collectInternalLinks(), ilPageObject\getId(), getTitle(), getWikiId(), and ilWikiUtil\makeDbTitle().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::setBlocked | ( | $a_val | ) |
Set blocked.
| boolean | $a_val | blocked |
Definition at line 106 of file class.ilWikiPage.php.
Referenced by read().
Here is the caller graph for this function:| ilWikiPage::setRating | ( | $a_val | ) |
Set rating.
| boolean | $a_val |
Definition at line 126 of file class.ilWikiPage.php.
Referenced by read().
Here is the caller graph for this function:| ilWikiPage::setTitle | ( | $a_title | ) |
Set Title.
| string | $a_title | Title |
Definition at line 46 of file class.ilWikiPage.php.
References ilWikiUtil\makeDbTitle().
Referenced by read(), and rename().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::setWikiId | ( | $a_wikiid | ) |
Set Wiki Object Id.
| int | $a_wikiid | Wiki Object Id |
Definition at line 66 of file class.ilWikiPage.php.
References ilPageObject\setParentId().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::setWikiRefId | ( | $a_wiki_ref_id | ) |
Set Wiki Ref Id.
| int | $a_wiki_ref_id | Wiki Ref Id |
Definition at line 86 of file class.ilWikiPage.php.
| ilWikiPage::update | ( | $a_validate = true, |
|
$a_no_history = false |
|||
| ) |
update object data
@access public
Reimplemented from ilPageObject.
Definition at line 266 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, getBlocked(), ilPageObject\getId(), getRating(), getTitle(), getWikiId(), getWikiRefId(), isAdvancedMetadataHidden(), ilWikiUtil\sendNotification(), ilNotification\TYPE_WIKI_PAGE, League\Flysystem\Adapter\Polyfill\update(), and updateNews().
Referenced by rename().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::updateNews | ( | $a_update = false | ) |
Create.
Definition at line 992 of file class.ilWikiPage.php.
References $ilUser, ilPageObject\$user, ilPageObject\getId(), ilNewsItem\getLastNewsIdForContext(), getTitle(), getWikiId(), and NEWS_NOTICE.
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 16 of file class.ilWikiPage.php.
Referenced by getBlocked().
|
protected |
Definition at line 18 of file class.ilWikiPage.php.
Referenced by isAdvancedMetadataHidden().
|
protected |
Definition at line 17 of file class.ilWikiPage.php.
Referenced by getRating().