|
ILIAS
release_8 Revision v8.24
|
Utility class for wiki. More...
Collaboration diagram for ilWikiUtil:Static Public Member Functions | |
| static | replaceInternalLinks (string $s, int $a_wiki_id, bool $a_offline=false) |
| This one is based on Mediawiki Parser->replaceInternalLinks since we display images in another way, only text links are processed. More... | |
| static | collectInternalLinks (string $s, int $a_wiki_id, bool $a_collect_non_ex=false, string $mode=IL_WIKI_MODE_COLLECT) |
| Collect internal wiki links of a string. More... | |
| static | processInternalLinks (string $s, int $a_wiki_id, string $a_mode=IL_WIKI_MODE_REPLACE, bool $a_collect_non_ex=false, bool $a_offline=false) |
| Process internal links (internal) More... | |
| static | removeUnsafeCharacters (string $a_str) |
| static | makeLink (object $nt, int $a_wiki_id, string $text='', string $query='', string $trail='', string $prefix='', bool $a_offline=false) |
| Make a wiki link, the following formats are supported: More... | |
| static | wfUrlProtocols () |
| From mediawiki GlobalFunctions.php. More... | |
| static | wfUrlencode (string $s) |
| static | makeDbTitle (string $a_par) |
| static | makeUrlTitle (string $a_par) |
| static | splitTrail (string $trail) |
| static | sendNotification (string $a_action, int $a_type, int $a_wiki_ref_id, int $a_page_id, ?string $a_comment=null) |
Utility class for wiki.
Definition at line 46 of file class.ilWikiUtil.php.
|
static |
Collect internal wiki links of a string.
Definition at line 69 of file class.ilWikiUtil.php.
Referenced by WikiUtilTest\processInternalLinksCollect(), and WikiUtilTest\processInternalLinksExtCollect().
Here is the caller graph for this function:
|
static |
Definition at line 430 of file class.ilWikiUtil.php.
Referenced by ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilObjWikiGUI\executeCommand(), ilObjWikiGUI\getTabs(), ilWikiPageGUI\renamePage(), ilObjWiki\setStartPage(), ilWikiPage\setTitle(), WikiUtilTest\testMakeDbTitle(), ilObjWikiGUI\viewPageObject(), and ilObjWiki\writeStartPage().
Here is the caller graph for this function:
|
static |
Make a wiki link, the following formats are supported:
[[Page Title]] [[Page Title|Presentation Text]] [[Page Title::Anchor]] [[Page Title::Anchor|Presentation Text]] [[#Anchor|Presentation Text]] (link to anchor on same wiki page)
Definition at line 303 of file class.ilWikiUtil.php.
|
static |
Definition at line 437 of file class.ilWikiUtil.php.
Referenced by ilObjWikiGUI\__construct(), ilObjectFeedWriter\__construct(), ilObjWikiGUI\_goto(), ilObjWikiGUI\addPagesSubTabs(), ilObjWikiGUI\addPageTabs(), ilObjWikiGUI\cancelCreationPageUsingTemplateObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilWikiHandlerGUI\executeCommand(), ilWikiSearchResultsTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilWikiNewsRendererGUI\getObjectLink(), ilObjWikiSearchResultTableGUI\parse(), ilWikiPageGUI\postOutputProcessing(), ilWikiPageGUI\renamePage(), ilNewsForContextBlockGUI\showNews(), ilObjWikiGUI\showTemplateSelectionObject(), WikiUtilTest\testMakeUrlTitle(), and ilObjWikiGUI\viewPageObject().
Here is the caller graph for this function:
|
static |
Process internal links (internal)
Definition at line 95 of file class.ilWikiUtil.php.
References Vendor\Package\$a, $GLOBALS, ilWikiPage\_wikiPageExists(), ILIAS\Repository\form(), IL_WIKI_MODE_COLLECT, IL_WIKI_MODE_EXT_COLLECT, IL_WIKI_MODE_REPLACE, and Title\newFromText().
Here is the call graph for this function:
|
static |
Definition at line 288 of file class.ilWikiUtil.php.
|
static |
This one is based on Mediawiki Parser->replaceInternalLinks since we display images in another way, only text links are processed.
Definition at line 52 of file class.ilWikiUtil.php.
Referenced by ilWikiPageGUI\postOutputProcessing(), and WikiUtilTest\processInternalLinksReplace().
Here is the caller graph for this function:
|
static |
Definition at line 463 of file class.ilWikiUtil.php.
Referenced by ilWikiPage\delete(), and ilWikiPage\update().
Here is the caller graph for this function:
|
static |
Definition at line 445 of file class.ilWikiUtil.php.
|
static |
Definition at line 423 of file class.ilWikiUtil.php.
Referenced by Title\secureAndSplit().
Here is the caller graph for this function:
|
static |
From mediawiki GlobalFunctions.php.
Definition at line 398 of file class.ilWikiUtil.php.