|
ILIAS
Release_4_0_x_branch Revision 61816
|
Utility class for wiki. More...
Collaboration diagram for ilWikiUtil: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 |
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiUtil::removeUnsafeCharacters | ( | $a_str | ) |
See class.ilInitialisation.php.
Definition at line 429 of file class.ilWikiUtil.php.
Referenced by makeDbTitle(), and makeUrlTitle().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 547 of file class.ilWikiUtil.php.
Referenced by makeLink().
Here is the caller graph for this function:
|
static |
From GlobalFunctions.php.
Definition at line 517 of file class.ilWikiUtil.php.
Referenced by makeUrlTitle(), and Title\secureAndSplit().
Here is the caller graph for this function:
|
static |
From mediawiki GlobalFunctions.php.
Definition at line 486 of file class.ilWikiUtil.php.
Referenced by processInternalLinks().
Here is the caller graph for this function: