|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilWikiPage. More...
Inheritance diagram for ilWikiPage:
Collaboration diagram for ilWikiPage:Public Member Functions | |
| __construct ($a_id=0, $a_old_nr=0) | |
| Constructor public. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setWikiId ($a_wikiid) | |
| Set Wiki Object Id. | |
| getWikiId () | |
| Get Wiki Object Id. | |
| setWikiRefId ($a_wiki_ref_id) | |
| Set Wiki Ref Id. | |
| getWikiRefId () | |
| Get Wiki Ref Id. | |
| setBlocked ($a_val) | |
| Set blocked. | |
| getBlocked () | |
| Get blocked. | |
| create ($a_prevent_page_creation=false) | |
| Create new wiki page. | |
| update ($a_validate=true, $a_no_history=false) | |
| update object data | |
| read () | |
| Read wiki data. | |
| delete () | |
| delete wiki page and al related data | |
| saveInternalLinks ($a_xml) | |
| save internal links of page | |
| rename ($a_new_name) | |
| Rename page. | |
| updateNews ($a_update=false) | |
| Create. | |
| getNewsContent () | |
| Get content for a wiki news item. | |
Public Member Functions inherited from ilPageObject | |
| ilPageObject ($a_parent_type, $a_id=0, $a_old_nr=0, $a_halt=true) | |
| Constructor public. | |
| haltOnError ($a_halt) | |
| setRenderMd5 ($a_rendermd5) | |
| Set Render MD5. | |
| getRenderMd5 () | |
| Get Render MD5. | |
| setRenderedContent ($a_renderedcontent) | |
| Set Rendered Content. | |
| getRenderedContent () | |
| Get Rendered Content. | |
| setRenderedTime ($a_renderedtime) | |
| Set Rendered Time. | |
| getRenderedTime () | |
| Get Rendered Time. | |
| setLastChange ($a_lastchange) | |
| Set Last Change. | |
| getLastChange () | |
| Get Last Change. | |
| setLayoutMode ($a_layout_mode) | |
| Set Layout Mode. | |
| getLayoutMode () | |
| Get Layout Mode enabled/disabled. | |
| setLastChangeUser ($a_val) | |
| Set last change user. | |
| getLastChangeUser () | |
| Get last change user. | |
| _existsAndNotEmpty ($a_parent_type, $a_id) | |
| checks whether page exists and is not empty (may return true on some empty pages) | |
| buildDom ($a_force=false) | |
| freeDom () | |
| & | getDom () |
| setId ($a_id) | |
| set id | |
| getId () | |
| setParentId ($a_id) | |
| getParentId () | |
| setParentType ($a_type) | |
| getParentType () | |
| addUpdateListener (&$a_object, $a_method, $a_parameters="") | |
| callUpdateListeners () | |
| setActive ($a_active) | |
| set activation | |
| getActive ($a_check_scheduled_activation=false) | |
| get activation | |
| _lookupActive ($a_id, $a_parent_type, $a_check_scheduled_activation=false) | |
| lookup activation status | |
| _writeActive ($a_id, $a_parent_type, $a_active, $a_reset_scheduled_activation=true) | |
| write activation status | |
| _writeParentId ($a_parent_type, $a_pg_id, $a_par_id) | |
| Write parent id. | |
| setActivationStart ($a_activationstart) | |
| Set Activation Start. | |
| getActivationStart () | |
| Get Activation Start. | |
| setActivationEnd ($a_activationend) | |
| Set Activation End. | |
| getActivationEnd () | |
| Get Activation End. | |
| & | getContentObject ($a_hier_id, $a_pc_id="") |
| Get a content object of the page. | |
| & | getContentNode ($a_hier_id, $a_pc_id="") |
| Get content node from dom. | |
| checkForTag ($a_content_tag, $a_hier_id, $a_pc_id="") | |
| Get content node from dom. | |
| 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! | |
| appendXMLContent ($a_xml) | |
| append xml content to page setXMLContent must be called before and the same encoding must be used | |
| getXMLContent ($a_incl_head=false) | |
| get xml content of page | |
| copyXmlContent () | |
| Copy content of page; replace page components with copies where necessary (e.g. | |
| handleCopiedContent ($a_dom, $a_self_ass=true) | |
| Handle copied content. | |
| newIIMCopies ($temp_dom) | |
| Replaces media objects in interactive images with copies of the interactive images. | |
| newQuestionCopies (&$temp_dom) | |
| Replaces existing question content elements with new copies. | |
| removeQuestions (&$temp_dom) | |
| Remove questions from document. | |
| countPageContents () | |
| Remove questions from document. | |
| 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) | |
| getLanguageVariablesXML () | |
| get language variables as XML | |
| appendLangVarXML (&$xml, $var) | |
| getFirstParagraphText () | |
| setParagraphContent ($a_hier_id, $a_content) | |
| Set content of paragraph. | |
| 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) | |
| containsIntLink () | |
| returns true, if page was marked as containing an intern link (via setContainsIntLink) (this method should only be called by the import parser) | |
| needsImportParsing ($a_parse="") | |
| setContainsQuestion ($a_val) | |
| Set contains question. | |
| getContainsQuestion () | |
| Get contains question. | |
| getBibliographyXML () | |
| get a xml string that contains all Bibliography elements, that are referenced by any bibitem alias in the page | |
| collectMediaObjects ($a_inline_only=true) | |
| get all media objects, that are referenced and used within the page | |
| getInternalLinks ($a_cnt_multiple=false) | |
| get all internal links that are used within the page | |
| collectFileItems ($a_xml="") | |
| get all file items that are used within the page | |
| getMultimediaXML () | |
| get a xml string that contains all media object elements, that are referenced by any media alias in the page | |
| getMediaAliasElement ($a_mob_id, $a_nr=1) | |
| get complete media object (alias) element | |
| validateDom () | |
| Validate the page content agains page DTD. | |
| addHierIDs () | |
| Add hierarchical ID (e.g. | |
| getHierIds () | |
| get all hierarchical ids | |
| getFirstRowIds () | |
| get ids of all first table rows | |
| getFirstColumnIds () | |
| get ids of all first table columns | |
| getListItemIds () | |
| get ids of all list items | |
| getFileItemIds () | |
| get ids of all file items | |
| stripHierIDs () | |
| strip all hierarchical id attributes out of the dom tree | |
| getHierIdsForPCIds ($a_pc_ids) | |
| Get hier ids for a set of pc ids. | |
| addFileSizes () | |
| add file sizes | |
| resolveIntLinks () | |
| Resolves all internal link targets of the page, if targets are available (after import) | |
| resolveMediaAliases ($a_mapping) | |
| Resolve media aliases (after import) | |
| resolveIIMMediaAliases ($a_mapping) | |
| Resolve iim media aliases (in ilContObjParse) | |
| resolveFileItems ($a_mapping) | |
| Resolve file items (after import) | |
| resolveQuestionReferences ($a_mapping) | |
| Resolve all quesion references (after import) | |
| moveIntLinks ($a_from_to) | |
| Move internal links from one destination to another. | |
| handleImportRepositoryLink ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) | |
| createFromXML () | |
| create new page object with current xml content | |
| updateFromXML () | |
| updates page object with current xml content | |
| update ($a_validate=true, $a_no_history=false, $skip_handle_usages=false) | |
| update complete page content in db (dom xml content is used) | |
| saveMetaKeywords ($a_xml) | |
| save all keywords | |
| saveMobUsage ($a_xml, $a_old_nr=0) | |
| save all usages of media objects (media aliases, media objects, internal links) | |
| saveFileUsage ($a_xml="", $a_old_nr=0) | |
| save file usages | |
| saveContentIncludeUsage ($a_xml="", $a_old_nr=0) | |
| save content include usages | |
| collectContentIncludes ($a_xml="") | |
| get all content includes that are used within the page | |
| saveSkillUsage ($a_xml="", $a_old_nr=0) | |
| save content include usages | |
| collectSkills ($a_xml="") | |
| get all content includes that are used within the page | |
| saveStyleUsage ($a_xml, $a_old_nr=0) | |
| Save all style class/template usages. | |
| getLastUpdateOfIncludedElements () | |
| Get last update of included elements (media objects and files). | |
| saveAnchors ($a_xml) | |
| save anchors | |
| create () | |
| create new page (with current xml data) | |
| deleteContent ($a_hid, $a_update=true, $a_pcid="") | |
| delete content object with hierarchical id $a_hid | |
| deleteContents ($a_hids, $a_update=true, $a_self_ass=false) | |
| Delete multiple content objects. | |
| cutContents ($a_hids) | |
| Copy contents to clipboard and cut them from the page. | |
| copyContents ($a_hids) | |
| Copy contents to clipboard. | |
| pasteContents ($a_hier_id, $a_self_ass=false) | |
| Paste contents from pc clipboard. | |
| switchEnableMultiple ($a_hids, $a_update=true, $a_self_ass=false) | |
| (De-)activate elements | |
| deleteContentFromHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id >= $a_hid | |
| deleteContentBeforeHierId ($a_hid, $a_update=true) | |
| delete content object with hierarchical id < $a_hid | |
| _moveContentAfterHierId (&$a_source_page, &$a_target_page, $a_hid) | |
| move content of hierarchical id >= $a_hid to other page | |
| 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 | |
| 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 | |
| moveContentBefore ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids) | |
| moveContentAfter ($a_source, $a_target, $a_spcid="", $a_tpcid="") | |
| move content object from position $a_source before position $a_target (both hierarchical content ids) | |
| bbCode2XML (&$a_content) | |
| transforms bbCode to corresponding xml | |
| insertInstIntoIDs ($a_inst, $a_res_ref_to_obj_id=true) | |
| inserts installation id into ids (e.g. | |
| highlightText ($a_text, $proglang, $autoindent) | |
| Highligths Text with given ProgLang. | |
| hasHighlighter ($hfile_ext) | |
| insertSourceCodeParagraphs ($a_output, $outputmode="presentation") | |
| depending on the SubCharacteristic and ShowLineNumbers attribute the line numbers and html tags for the syntax highlighting will be inserted using the dom xml functions | |
| checkPCIds () | |
| Check, whether (all) page content hashes are set. | |
| getAllPCIds () | |
| Get all pc ids. | |
| existsPCId ($a_pc_id) | |
| existsPCId | |
| generatePcId ($a_pc_ids=false) | |
| Generate new pc id. | |
| insertPCIds () | |
| Insert Page Content IDs. | |
| getPageContentsHashes () | |
| Get page contents hashes. | |
| getQuestionIds () | |
| Get question ids. | |
| send_paragraph ($par_id, $filename) | |
| getFO () | |
| get fo page content | |
| registerOfflineHandler ($handler) | |
| _lookupContainsDeactivatedElements ($a_id, $a_parent_type) | |
| lookup whether page contains deactivated elements | |
| containsDeactivatedElements ($a_content) | |
| Check whether content contains deactivated elements. | |
| getHistoryEntries () | |
| Get History Entries. | |
| getHistoryEntry ($a_old_nr) | |
| Get History Entry. | |
| getHistoryInfo ($a_nr) | |
| Get information about a history entry, its predecessor and its successor. | |
| addChangeDivClasses ($a_hashes) | |
| compareVersion ($a_left, $a_right) | |
| Compares to revisions of the page. | |
| increaseViewCnt () | |
| increase view cnt | |
| writeRenderedContent ($a_content, $a_md5) | |
| Write rendered content. | |
| containsIntLinks ($a_content) | |
| Check whether content contains internal links. | |
| performAutomaticModifications () | |
| Perform automatic modifications (may be overwritten by sub classes) | |
Static Public Member Functions | |
| static | deleteAllPagesOfWiki ($a_wiki_id) |
| delete wiki page and al related data | |
| static | exists ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. | |
| static | getIdForPageTitle ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. | |
| static | getPageIdForTitle ($a_wiki_id, $a_title) |
| Get wiki page object for id and title. | |
| static | lookupTitle ($a_page_id) |
| Checks whether a page with given title exists. | |
| static | lookupWikiId ($a_page_id) |
| Lookup wiki id. | |
| static | getAllPages ($a_wiki_id) |
| Get all pages of wiki. | |
| static | getLinksToPage ($a_wiki_id, $a_page_id) |
| Get links to a page. | |
| static | getOrphanedPages ($a_wiki_id) |
| Get orphaned pages of wiki. | |
| static | _wikiPageExists ($a_wiki_id, $a_title) |
| Check whether page exists for wiki or not. | |
| static | getParentObjectContributors ($a_wiki_id) |
| Get all contributors of wiki. | |
| static | getPageContributors ($a_page_id) |
| Get all contributors of wiki. | |
| static | _getPageIdForWikiTitle ($a_wiki_id, $a_title) |
| Checks whether a page with given title exists. | |
| static | getPopularPages ($a_wiki_id) |
| Get popular pages of wiki. | |
| static | countPages ($a_wiki_id) |
| Count pages of wiki. | |
| static | getRandomPage ($a_wiki_id) |
| Get a random page. | |
| static | getNewPages ($a_wiki_id) |
| Get all pages of wiki. | |
| static | lookupObjIdByPage ($a_page_id) |
| returns the wiki/object id to a given page id | |
Static Public Member Functions inherited from ilPageObject | |
| static | _exists ($a_parent_type, $a_id) |
| checks whether page exists | |
| static | _isScheduledActivation ($a_id, $a_parent_type) |
| Check whether page is activated by time schedule. | |
| static | lookupParentId ($a_id, $a_type) |
| Lookup parent id. | |
| static | _handleImportRepositoryLinks ($a_rep_import_id, $a_rep_type, $a_rep_ref_id) |
| Change targest of repository links. | |
| static | _getQuestionIdsForPage ($a_parent_type, $a_page_id) |
| Get all questions of a page. | |
| static | _deleteAnchors ($a_parent_type, $a_page_id) |
| Delete anchors of a page. | |
| static | _saveAnchor ($a_parent_type, $a_page_id, $a_anchor_name) |
| Save an anchor. | |
| static | _readAnchors ($a_parent_type, $a_page_id) |
| Read anchors of a page. | |
| static | getRecentChanges ($a_parent_type, $a_parent_id, $a_period=30) |
| Get recent pages changes for parent object. | |
| static | getAllPages ($a_parent_type, $a_parent_id) |
| Get all pages for parent object. | |
| static | getNewPages ($a_parent_type, $a_parent_id) |
| Get new pages. | |
| static | getParentObjectContributors ($a_parent_type, $a_parent_id) |
| Get all contributors for parent object. | |
| static | getPageContributors ($a_parent_type, $a_page_id) |
| Get all contributors for parent object. | |
| static | getPagesWithLinks ($a_parent_type, $a_parent_id) |
| Get all pages for parent object that contain internal links. | |
Protected Attributes | |
| $blocked = false | |
Additional Inherited Members | |
Data Fields inherited from ilPageObject | |
| $id | |
| $ilias | |
| $dom | |
| $xml | |
| $encoding | |
| $node | |
| $cur_dtd = "ilias_pg_4_2.dtd" | |
| $contains_int_link | |
| $needs_parsing | |
| $parent_type | |
| $parent_id | |
| $update_listeners | |
| $update_listener_cnt | |
| $offline_handler | |
| $dom_builded | |
| $history_saved | |
| $layout_mode | |
Static Public Attributes inherited from ilPageObject | |
| static | $exists = array() |
| ilWikiPage::__construct | ( | $a_id = 0, |
|
$a_old_nr = 0 |
|||
| ) |
|
static |
Checks whether a page with given title exists.
Definition at line 599 of file class.ilWikiPage.php.
Referenced by saveInternalLinks().
Here is the caller graph for this function:
|
static |
Check whether page exists for wiki or not.
public
Definition at line 475 of file class.ilWikiPage.php.
References $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilObjWikiGUI\gotoPageObject(), ilWikiUtil\makeLink(), and ilWikiUtil\processInternalLinks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Count pages of wiki.
| int | $a_wiki_id | Wiki ID |
Definition at line 645 of file class.ilWikiPage.php.
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 111 of file class.ilWikiPage.php.
References ilPageObject\$id, $ilDB, $query, ilPageObject\create(), getBlocked(), ilPageObject\getId(), getTitle(), getWikiId(), getWikiRefId(), ilPageObject\getXMLContent(), saveInternalLinks(), ilWikiUtil\sendNotification(), ilPageObject\setId(), ilNotification\TYPE_WIKI, and updateNews().
Here is the call graph for this function:| ilWikiPage::delete | ( | ) |
delete wiki page and al related data
public
Reimplemented from ilPageObject.
Definition at line 196 of file class.ilWikiPage.php.
References $ilDB, $query, ilInternalLink\_deleteAllLinksToTarget(), ilPageObject\getId(), getLinksToPage(), getTitle(), getWikiId(), getWikiRefId(), 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
public
Definition at line 245 of file class.ilWikiPage.php.
Referenced by ilObjWiki\delete().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 266 of file class.ilWikiPage.php.
References $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilWikiHandlerGUI\executeCommand(), rename(), ilWikiPageGUI\renamePage(), 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.
public
Definition at line 367 of file class.ilWikiPage.php.
Referenced by ilObjWikiGUI\editImportantPagesObject(), ilWikiHTMLExport\exportHTMLPages(), getOrphanedPages(), ilWikiPagesTableGUI\getPages(), ilWikiExporter\getXmlExportTailDependencies(), ilWikiPageGUI\initPrintViewSelectionForm(), and ilObjWikiGUI\printViewObject().
Here is the caller graph for this function:| ilWikiPage::getBlocked | ( | ) |
Get blocked.
Definition at line 103 of file class.ilWikiPage.php.
References $blocked.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 287 of file class.ilWikiPage.php.
References $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 394 of file class.ilWikiPage.php.
References $ilDB, $query, 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:
|
static |
Get all pages of wiki.
public
Definition at line 691 of file class.ilWikiPage.php.
References $ilDB, and lookupTitle().
Referenced by 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 850 of file class.ilWikiPage.php.
|
static |
Get orphaned pages of wiki.
public
Definition at line 432 of file class.ilWikiPage.php.
References $ilDB, $query, ilInternalLink\_getSourcesOfTarget(), ilObjWiki\_lookupStartPage(), and getAllPages().
Referenced by ilWikiPagesTableGUI\getPages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all contributors of wiki.
public
Definition at line 514 of file class.ilWikiPage.php.
References $ilDB.
Referenced by ilWikiPageGUI\deleteWikiPageConfirmationScreen().
Here is the caller graph for this function:
|
static |
Get wiki page object for id and title.
Definition at line 308 of file class.ilWikiPage.php.
References $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), 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 all contributors of wiki.
public
Definition at line 500 of file class.ilWikiPage.php.
References $ilDB.
Referenced by ilWikiContributorsTableGUI\getContributors().
Here is the caller graph for this function:
|
static |
Get popular pages of wiki.
public
Definition at line 620 of file class.ilWikiPage.php.
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 663 of file class.ilWikiPage.php.
References $ilDB, $query, and countPages().
Referenced by ilObjWikiGUI\randomPageObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::getTitle | ( | ) |
Get Title.
Definition at line 43 of file class.ilWikiPage.php.
References $title.
Referenced by create(), delete(), rename(), saveInternalLinks(), update(), and updateNews().
Here is the caller graph for this function:| ilWikiPage::getWikiId | ( | ) |
Get Wiki Object Id.
Definition at line 63 of file class.ilWikiPage.php.
References ilPageObject\getParentId().
Referenced by create(), delete(), rename(), saveInternalLinks(), update(), and updateNews().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiPage::getWikiRefId | ( | ) |
Get Wiki Ref Id.
Definition at line 83 of file class.ilWikiPage.php.
Referenced by create(), delete(), and update().
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 712 of file class.ilWikiPage.php.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
Here is the caller graph for this function:
|
static |
Checks whether a page with given title exists.
Definition at line 329 of file class.ilWikiPage.php.
Referenced by ilShopResultPresentationGUI\__appendChildLinks(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilWikiHandlerGUI\executeCommand(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilImportantPagesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjWikiSubItemListGUI\getHTML(), getNewPages(), ilObjectFeedWriter\ilObjectFeedWriter(), ilUserFeedWriter\ilUserFeedWriter(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), and ilNewsForContextBlockGUI\showNews().
Here is the caller graph for this function:
|
static |
Lookup wiki id.
Definition at line 347 of file class.ilWikiPage.php.
Referenced by ilWikiImporter\finalProcessing().
Here is the caller graph for this function:| ilWikiPage::read | ( | ) |
Read wiki data.
Reimplemented from ilPageObject.
Definition at line 173 of file class.ilWikiPage.php.
References $ilDB, $query, ilPageObject\getId(), setBlocked(), setTitle(), and setWikiId().
Here is the call graph for this function:| ilWikiPage::rename | ( | $a_new_name | ) |
Rename page.
Definition at line 730 of file class.ilWikiPage.php.
References ilInternalLink\_getSourcesOfTarget(), ilObjWiki\_lookupStartPage(), exists(), 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_xml | ) |
save internal links of page
| string | xml page code |
Reimplemented from ilPageObject.
Definition at line 529 of file class.ilWikiPage.php.
References $ilDB, _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 93 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 33 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 53 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 73 of file class.ilWikiPage.php.
| ilWikiPage::update | ( | $a_validate = true, |
|
$a_no_history = false |
|||
| ) |
update object data
public
Definition at line 149 of file class.ilWikiPage.php.
References $ilDB, $query, getBlocked(), ilPageObject\getId(), getTitle(), getWikiId(), getWikiRefId(), ilWikiUtil\sendNotification(), ilNotification\TYPE_WIKI_PAGE, 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 790 of file class.ilWikiPage.php.
References 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().