ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getParentType () | |
afterConstructor () | |
setTitle (string $a_title) | |
getTitle () | |
setWikiId (int $a_wikiid) | |
getWikiId () | |
setWikiRefId (int $a_wiki_ref_id) | |
getWikiRefId () | |
setBlocked (bool $a_val) | |
getBlocked () | |
setRating (bool $a_val) | |
getRating () | |
hideAdvancedMetadata (bool $a_val) | |
isAdvancedMetadataHidden () | |
createFromXML () | |
create (bool $a_import=false) | |
afterUpdate (DOMDocument $domdoc, string $xml) | |
update (bool $a_validate=true, bool $a_no_history=false) | |
read (bool $a_omit_page_read=false) | |
delete () | |
saveInternalLinks (DOMDocument $a_domdoc) | |
rename (string $a_new_name) | |
Rename page. More... | |
updateNews (bool $a_update=false) | |
getContentTemplates () | |
Get content templates. More... | |
![]() | |
__construct (int $a_id=0, int $a_old_nr=0, string $a_lang="-") | |
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 () | |
getDom () | |
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... | |
getContentNode (string $a_hier_id, string $a_pc_id="") | |
checkForTag (string $a_content_tag, string $a_hier_id, string $a_pc_id="") | |
Get content node from dom. More... | |
getNode () | |
setXMLContent (string $a_xml, string $a_encoding="UTF-8") | |
set xml content of page, start with <PageObject...>, end with </PageObject>, comply with ILIAS DTD, omit MetaData, use utf-8! More... | |
appendXMLContent (string $a_xml) | |
append xml content to page setXMLContent must be called before and the same encoding must be used s More... | |
getXMLContent (bool $a_incl_head=false) | |
get xml content of page More... | |
copyXmlContent (bool $a_clone_mobs=false, int $a_new_parent_id=0, int $obj_copy_id=0, bool $self_ass=true) | |
Copy content of page; replace page components with copies where necessary (e.g. More... | |
handleCopiedContent (php4DOMDocument $a_dom, bool $a_self_ass=true, bool $a_clone_mobs=false, int $new_parent_id=0, int $obj_copy_id=0) | |
Handle copied content This function copies items, that must be copied, if page content is duplicated. More... | |
newIIMCopies (php4DOMDocument $temp_dom) | |
Replaces media objects in interactive images with copies of the interactive images. More... | |
newMobCopies (php4DOMDocument $temp_dom) | |
Replaces media objects with copies. More... | |
newQuestionCopies (php4DOMDocument $temp_dom) | |
Replaces existing question content elements with new copies. More... | |
removeQuestions (php4DOMDocument $temp_dom) | |
Remove questions from document. More... | |
countPageContents () | |
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) | |
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) | |
setParagraphContent (string $a_hier_id, string $a_content) | |
Set content of paragraph. More... | |
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 (bool $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 (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 () | |
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 (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... | |
handleImportRepositoryLink (string $a_rep_import_id, string $a_rep_type, int $a_rep_ref_id) | |
handleRepositoryLinksOnCopy (array $a_mapping, int $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 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... | |
deleteContentFromHierId (string $a_hid, bool $a_update=true) | |
delete content object with hierarchical id >= $a_hid as part of a split page operation More... | |
deleteContentBeforeHierId (string $a_hid, bool $a_update=true) | |
delete content object with hierarchical id < $a_hid as part of the split page operation 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 (php4DOMElement $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... | |
moveContentBefore (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... | |
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... | |
bbCode2XML (string &$a_content) | |
transforms bbCode to corresponding xml 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... | |
existsPCId (string $a_pc_id) | |
generatePcId () | |
insertPCIds () | |
Insert Page Content IDs. More... | |
getPageContentsHashes () | |
Get page contents hashes. More... | |
getQuestionIds () | |
Get question ids. More... | |
send_paragraph (string $par_id, string $filename) | |
getFO () | |
get fo page content More... | |
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... | |
addChangeDivClasses (array $a_hashes) | |
compareVersion (int $a_left, int $a_right) | |
Compares to revisions of the page. More... | |
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) | |
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 () | |
getAllFileObjIds () | |
Get all file object ids. More... | |
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 | deleteAllPagesOfWiki (int $a_wiki_id) |
static | exists (int $a_wiki_id, string $a_title) |
Checks whether a page with given title exists. More... | |
static | getPageIdForTitle (int $a_wiki_id, string $a_title) |
Get wiki page object for id and title. More... | |
static | lookupTitle (int $a_page_id) |
static | lookupWikiId (int $a_page_id) |
static | getAllWikiPages (int $a_wiki_id) |
static | getLinksToPage (int $a_wiki_id, int $a_page_id) |
static | getOrphanedPages (int $a_wiki_id) |
static | _wikiPageExists (int $a_wiki_id, string $a_title) |
static | getWikiContributors (int $a_wiki_id) |
static | getWikiPageContributors (int $a_page_id) |
static | _getPageIdForWikiTitle (int $a_wiki_id, string $a_title) |
static | getPopularPages (int $a_wiki_id) |
static | countPages (int $a_wiki_id) |
static | getRandomPage (int $a_wiki_id) |
static | getNewWikiPages (int $a_wiki_id) |
static | lookupObjIdByPage (int $a_page_id) |
returns the wiki/object id to a given page id More... | |
static | getGotoForWikiPageTarget (string $a_target, bool $a_offline=false) |
static | getPagesForSearch (int $a_wiki_id, string $a_term) |
static | lookupAdvancedMetadataHidden (int $a_page_id) |
![]() | |
static | randomhash () |
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 | _handleImportRepositoryLinks (string $a_rep_import_id, string $a_rep_type, int $a_rep_ref_id) |
Change targest of repository links. More... | |
static | _moveContentAfterHierId (ilPageObject $a_source_page, ilPageObject $a_target_page, string $a_hid) |
move content of hierarchical id >= $a_hid to other page More... | |
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... | |
Protected Member Functions | |
preparePageForCompare (ilPageObject $page) | |
![]() | |
getLangVarXML (string $var) | |
__afterUpdate (DOMDocument $a_domdoc, string $a_xml, bool $a_creation=false, bool $a_empty=false) | |
After update event handler (internal). More... | |
__beforeDelete () | |
Before deletion handler (internal). More... | |
__afterDelete () | |
afterDelete () | |
__afterHistoryEntry (DOMDocument $a_old_domdoc, string $a_old_content, int $a_old_nr) | |
preparePageForCompare (ilPageObject $page) | |
Protected Attributes | |
int | $parent_ref_id = 0 |
string | $title = "" |
bool | $blocked = false |
bool | $rating = false |
bool | $hide_adv_md = false |
![]() | |
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 |
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 = [] |
array | $first_row_ids = [] |
array | $first_col_ids = [] |
array | $list_item_ids = [] |
array | $file_item_ids = [] |
string | $activationstart = null |
string | $activationend = null |
ILIAS COPage ReadingTime ReadingTimeManager | $reading_time_manager |
$concrete_lang = "" | |
Additional Inherited Members | |
![]() | |
int | $old_nr |
php4DOMDocument | $dom = null |
string | $xml = "" |
string | $encoding = "" |
php4DOMElement | $node |
string | $cur_dtd = "ilias_pg_8.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 array | $exists = array() |
![]() | |
static array | $activation_data = array() |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilWikiPage
Definition at line 24 of file class.ilWikiPage.php.
|
static |
Definition at line 624 of file class.ilWikiPage.php.
Referenced by ilObjWikiGUI\getSettingsFormValues(), and ilWikiPageGUI\renamePage().
|
static |
Definition at line 496 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().
ilWikiPage::afterConstructor | ( | ) |
Definition at line 37 of file class.ilWikiPage.php.
References ilPageObject\getPageConfig(), and ilPageObject\getParentId().
ilWikiPage::afterUpdate | ( | DOMDocument | $domdoc, |
string | $xml | ||
) |
Definition at line 158 of file class.ilWikiPage.php.
References ilWikiUtil\collectInternalLinks(), ilWikiStat\EVENT_PAGE_UPDATED, getWikiId(), ilWikiStat\handleEvent(), and ilStr\strLen().
|
static |
ilWikiPage::create | ( | bool | $a_import = false | ) |
Definition at line 122 of file class.ilWikiPage.php.
References ilPageObject\$db, ilPageObject\$id, $ilDB, $query, ilWikiStat\EVENT_PAGE_CREATED, getBlocked(), ilPageObject\getId(), getRating(), getTitle(), getWikiId(), getWikiRefId(), ilWikiStat\handleEvent(), isAdvancedMetadataHidden(), saveInternalLinks(), ilWikiUtil\sendNotification(), ilPageObject\setId(), ilNotification\TYPE_WIKI, and updateNews().
ilWikiPage::createFromXML | ( | ) |
Definition at line 102 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, and ilPageObject\read().
ilWikiPage::delete | ( | ) |
Definition at line 251 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, ilInternalLink\_deleteAllLinksToTarget(), ilObject\_exists(), ilWikiStat\EVENT_PAGE_DELETED, ilPageObject\getId(), getTitle(), getWikiId(), getWikiRefId(), ilWikiStat\handleEvent(), ilNotification\removeForObject(), ilWikiUtil\sendNotification(), and ilNotification\TYPE_WIKI_PAGE.
|
static |
Definition at line 306 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWiki\delete().
|
static |
Checks whether a page with given title exists.
Definition at line 326 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilWikiHandlerGUI\executeCommand(), ilObjWiki\update(), and ilObjWikiGUI\viewPageObject().
|
static |
Definition at line 404 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ILIAS\Wiki\WikiPrintViewProviderGUI\__construct(), ilObjWiki\cloneObject(), ilWikiStat\countPages(), ilObjWikiGUI\editImportantPagesObject(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\WikiHtmlExport\exportHTMLPagesPrint(), ilWikiPagesTableGUI\getPages(), ILIAS\Wiki\WikiPrintViewProviderGUI\getSelectionForm(), ilWikiExporter\getXmlExportTailDependencies(), ilObjWikiGUI\initSettingsForm(), ilWikiPageTemplateGUI\listTemplates(), ilWikiPageGUI\printViewOrderList(), and ilInternalLinkGUI\showLinkHelp().
ilWikiPage::getBlocked | ( | ) |
Definition at line 77 of file class.ilWikiPage.php.
References $blocked.
Referenced by create(), and update().
ilWikiPage::getContentTemplates | ( | ) |
Get content templates.
Definition at line 909 of file class.ilWikiPage.php.
References getWikiId(), and ilWikiPageTemplate\TYPE_ADD_TO_PAGE.
|
static |
Definition at line 892 of file class.ilWikiPage.php.
Referenced by ilPageLinker\getLinkXML(), ilLMPageObjectGUI\getLinkXML(), and ilLMPresentationLinker\getLinkXML().
|
static |
Definition at line 429 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $source, and ilInternalLink\_getSourcesOfTarget().
Referenced by ilWikiPageGUI\deleteWikiPageConfirmationScreen(), and ilWikiPagesTableGUI\getPages().
|
static |
Definition at line 695 of file class.ilWikiPage.php.
Referenced by ilWikiPagesTableGUI\getPages().
|
static |
Definition at line 462 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, $source, ilInternalLink\_getSourcesOfTarget(), and ilObjWiki\_lookupStartPage().
Referenced by ilWikiPagesTableGUI\getPages().
|
static |
Get wiki page object for id and title.
Definition at line 351 of file class.ilWikiPage.php.
References $DIC, $ilDB, $query, and ilWikiUtil\makeDbTitle().
Referenced by ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilObjWiki\cloneObject(), ilWikiHandlerGUI\executeCommand(), ilWikiPageGUI\getGUIForTitle(), ilWikiPageGUI\getTabs(), and ilWikiUtil\makeLink().
|
static |
Definition at line 919 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $res.
Referenced by ilWikiPageGUI\insertWikiLinkAC().
ilWikiPage::getParentType | ( | ) |
Definition at line 32 of file class.ilWikiPage.php.
|
static |
Definition at line 631 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilWikiPagesTableGUI\getPages().
|
static |
Definition at line 669 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWikiGUI\randomPageObject().
ilWikiPage::getRating | ( | ) |
Definition at line 87 of file class.ilWikiPage.php.
References $rating.
Referenced by create(), and update().
ilWikiPage::getTitle | ( | ) |
Definition at line 47 of file class.ilWikiPage.php.
References $title.
Referenced by create(), delete(), rename(), saveInternalLinks(), update(), and updateNews().
|
static |
Definition at line 518 of file class.ilWikiPage.php.
Referenced by ilWikiContributorsTableGUI\getContributors().
ilWikiPage::getWikiId | ( | ) |
Definition at line 57 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().
|
static |
Definition at line 524 of file class.ilWikiPage.php.
Referenced by ilWikiPageGUI\deleteWikiPageConfirmationScreen().
ilWikiPage::getWikiRefId | ( | ) |
Definition at line 67 of file class.ilWikiPage.php.
References $parent_ref_id.
Referenced by create(), delete(), preparePageForCompare(), and update().
ilWikiPage::hideAdvancedMetadata | ( | bool | $a_val | ) |
Definition at line 92 of file class.ilWikiPage.php.
Referenced by read().
ilWikiPage::isAdvancedMetadataHidden | ( | ) |
Definition at line 97 of file class.ilWikiPage.php.
References $hide_adv_md.
Referenced by create(), and update().
|
static |
Definition at line 939 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilWikiFunctionsBlockGUI\getLegacyContent(), and ilObjWikiGUI\renderSideBlock().
|
static |
returns the wiki/object id to a given page id
Definition at line 710 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
|
static |
Definition at line 372 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilWikiPagesTableGUI\__construct(), ilObjWikiGUI\_goto(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilWikiHandlerGUI\executeCommand(), ilWikiStatGUI\export(), ilWikiSearchResultsTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjWiki\getAdvMDSubItemTitle(), ilObjWikiSubItemListGUI\getHTML(), ilWikiImportantPagesBlockGUI\getLegacyContent(), ilWikiNewsRendererGUI\getObjectLink(), ilObjWikiGUI\getSubObjectTitle(), ilLinkInputGUI\getTranslatedValue(), ilObjWikiSearchResultTableGUI\parse(), ilObjWikiGUI\saveSettingsObject(), ilWikiPageGUI\searchWikiLinkAC(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjWikiGUI\setAsStartPageObject(), and ilNewsForContextBlockGUI\showNews().
|
static |
Definition at line 387 of file class.ilWikiPage.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjWikiAccess\_checkGoto(), ilObjWikiGUI\_goto(), ilWikiImporter\finalProcessing(), and rename().
|
protected |
Definition at line 956 of file class.ilWikiPage.php.
References getWikiRefId().
ilWikiPage::read | ( | bool | $a_omit_page_read = false | ) |
Definition at line 228 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, ilPageObject\getId(), hideAdvancedMetadata(), setBlocked(), setRating(), setTitle(), and setWikiId().
ilWikiPage::rename | ( | string | $a_new_name | ) |
Rename page.
Definition at line 730 of file class.ilWikiPage.php.
References $c, ilPageObject\$db, $ilDB, ilPageObject\_exists(), ilInternalLink\_getSourcesOfTarget(), ilObjWiki\_lookupStartPage(), ilWikiUtil\collectInternalLinks(), ilPageObject\getId(), getTitle(), getWikiId(), IL_WIKI_MODE_EXT_COLLECT, lookupWikiId(), ilWikiUtil\makeDbTitle(), setTitle(), update(), and ilObjWiki\writeStartPage().
ilWikiPage::saveInternalLinks | ( | DOMDocument | $a_domdoc | ) |
Definition at line 530 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, ilPageObject\$xml, ilInternalLink\_saveLink(), ilWikiUtil\collectInternalLinks(), ilPageObject\getId(), getTitle(), getWikiId(), and ilWikiUtil\makeDbTitle().
Referenced by create().
ilWikiPage::setBlocked | ( | bool | $a_val | ) |
Definition at line 72 of file class.ilWikiPage.php.
Referenced by read().
ilWikiPage::setRating | ( | bool | $a_val | ) |
Definition at line 82 of file class.ilWikiPage.php.
Referenced by read().
ilWikiPage::setTitle | ( | string | $a_title | ) |
Definition at line 42 of file class.ilWikiPage.php.
References ilWikiUtil\makeDbTitle().
Referenced by read(), and rename().
ilWikiPage::setWikiId | ( | int | $a_wikiid | ) |
Definition at line 52 of file class.ilWikiPage.php.
References ilPageObject\setParentId().
Referenced by read().
ilWikiPage::setWikiRefId | ( | int | $a_wiki_ref_id | ) |
Definition at line 62 of file class.ilWikiPage.php.
ilWikiPage::update | ( | bool | $a_validate = true , |
bool | $a_no_history = false |
||
) |
ilDateTimeException |
Definition at line 198 of file class.ilWikiPage.php.
References ilPageObject\$db, $ilDB, $query, ILIAS\LTI\ToolProvider\$updated, getBlocked(), ilPageObject\getId(), getRating(), getTitle(), getWikiId(), getWikiRefId(), isAdvancedMetadataHidden(), ilWikiUtil\sendNotification(), ilNotification\TYPE_WIKI_PAGE, and updateNews().
Referenced by rename().
ilWikiPage::updateNews | ( | bool | $a_update = false | ) |
Definition at line 831 of file class.ilWikiPage.php.
References $ilUser, ilPageObject\$user, ilPageObject\getId(), ilNewsItem\getLastNewsIdForContext(), getTitle(), getWikiId(), and NEWS_NOTICE.
Referenced by create(), and update().
|
protected |
Definition at line 28 of file class.ilWikiPage.php.
Referenced by getBlocked().
|
protected |
Definition at line 30 of file class.ilWikiPage.php.
Referenced by isAdvancedMetadataHidden().
|
protected |
Definition at line 26 of file class.ilWikiPage.php.
Referenced by getWikiRefId().
|
protected |
Definition at line 29 of file class.ilWikiPage.php.
Referenced by getRating().
|
protected |
Definition at line 27 of file class.ilWikiPage.php.
Referenced by getTitle().