ILIAS
Release_4_1_x_branch Revision 61804
|
Utility class for wiki. More...
Public Member Functions | |
removeUnsafeCharacters ($a_str) | |
See class.ilInitialisation.php. |
Static Public Member Functions | |
static | replaceInternalLinks ($s, $a_wiki_id) |
This one is based on Mediawiki Parser->replaceInternalLinks since we display images in another way, only text links are processed. | |
static | collectInternalLinks ($s, $a_wiki_id, $a_collect_non_ex=false) |
Collect internal wiki links of a string. | |
static | processInternalLinks ($s, $a_wiki_id, $a_mode=IL_WIKI_MODE_REPLACE, $a_collect_non_ex=false) |
Process internal links. | |
static | makeLink (&$nt, $a_wiki_id, $text= '', $query= '', $trail= '', $prefix= '') |
Media wiki performs an intermediate step here (. | |
static | wfUrlProtocols () |
From mediawiki GlobalFunctions.php. | |
static | wfUrlencode ($s) |
From GlobalFunctions.php. | |
static | makeDbTitle ($a_par) |
Handle page GET parameter. | |
static | makeUrlTitle ($a_par) |
Set page parameter for Url Embedding. | |
static | splitTrail ($trail) |
static | sendNotification ($a_action, $a_type, $a_wiki_ref_id, $a_page_id) |
|
static |
Collect internal wiki links of a string.
string | input string |
Definition at line 72 of file class.ilWikiUtil.php.
References IL_WIKI_MODE_COLLECT, and processInternalLinks().
Referenced by ilWikiPage\saveInternalLinks().
|
static |
Handle page GET parameter.
Definition at line 530 of file class.ilWikiUtil.php.
References removeUnsafeCharacters().
Referenced by ilWikiPage\_wikiPageExists(), ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilObjWikiGUI\executeCommand(), ilWikiPage\exists(), ilWikiPage\getPageIdForTitle(), ilWikiPageGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjWikiGUI\gotoPageObject(), makeLink(), processInternalLinks(), ilObjWiki\setStartPage(), ilWikiPage\setTitle(), and ilObjWikiGUI\viewPageObject().
|
static |
Media wiki performs an intermediate step here (.
Definition at line 437 of file class.ilWikiUtil.php.
References $ilCtrl, ilWikiPage\_wikiPageExists(), makeDbTitle(), makeUrlTitle(), and splitTrail().
Referenced by processInternalLinks().
|
static |
Set page parameter for Url Embedding.
Definition at line 539 of file class.ilWikiUtil.php.
References removeUnsafeCharacters(), and wfUrlencode().
Referenced by ilShopResultPresentationGUI\__appendChildLinks(), ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilWikiSearchResultsTableGUI\fillRow(), ilObjWikiGUI\getGotoLink(), ilWikiPageGUI\getTabs(), ilObjWikiGUI\gotoPageObject(), ilObjWikiGUI\ilObjWikiGUI(), makeLink(), ilWikiPageGUI\preview(), processInternalLinks(), and ilObjWikiGUI\viewPageObject().
|
static |
Process internal links.
string $s string that includes internal wiki links int $a_wiki_id wiki id mode
Strip the whitespace Category links produce, see bug 87
Definition at line 85 of file class.ilWikiUtil.php.
References $GLOBALS, ilWikiPage\_wikiPageExists(), IL_WIKI_MODE_COLLECT, IL_WIKI_MODE_REPLACE, makeDbTitle(), makeLink(), makeUrlTitle(), Title\newFromText(), and wfUrlProtocols().
Referenced by collectInternalLinks(), and replaceInternalLinks().
ilWikiUtil::removeUnsafeCharacters | ( | $a_str | ) |
See class.ilInitialisation.php.
Definition at line 429 of file class.ilWikiUtil.php.
Referenced by makeDbTitle(), and makeUrlTitle().
|
static |
This one is based on Mediawiki Parser->replaceInternalLinks since we display images in another way, only text links are processed.
string | input string |
string | input string |
Definition at line 61 of file class.ilWikiUtil.php.
References processInternalLinks().
Referenced by ilWikiPageGUI\postOutputProcessing().
|
static |
Definition at line 569 of file class.ilWikiUtil.php.
References ilLanguageFactory\_getLanguageOfUser(), ilLink\_getLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ilNotification\getNotificationsForObject(), ilNotification\TYPE_WIKI, ilNotification\TYPE_WIKI_PAGE, and ilNotification\updateNotificationTime().
Referenced by ilWikiPage\create(), ilWikiPage\delete(), and ilWikiPage\update().
|
static |
Definition at line 547 of file class.ilWikiUtil.php.
Referenced by makeLink().
|
static |
From GlobalFunctions.php.
Definition at line 517 of file class.ilWikiUtil.php.
Referenced by makeUrlTitle(), and Title\secureAndSplit().
|
static |
From mediawiki GlobalFunctions.php.
Definition at line 486 of file class.ilWikiUtil.php.
Referenced by processInternalLinks().