ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilWikiUtil.php File Reference

Go to the source code of this file.

Data Structures

class  ilWikiUtil
 Utility class for wiki. More...
 

Variables

if(!defined('UTF8_REPLACEMENT')) const IL_WIKI_MODE_REPLACE = "replace"
 Wiki link / page title handling: More...
 
const IL_WIKI_MODE_COLLECT = "collect"
 
const IL_WIKI_MODE_EXT_COLLECT = "ext_collect"
 

Variable Documentation

◆ IL_WIKI_MODE_COLLECT

const IL_WIKI_MODE_COLLECT = "collect"

Definition at line 40 of file class.ilWikiUtil.php.

Referenced by WikiUtilTest\processInternalLinksCollect().

◆ IL_WIKI_MODE_EXT_COLLECT

const IL_WIKI_MODE_EXT_COLLECT = "ext_collect"

Definition at line 41 of file class.ilWikiUtil.php.

Referenced by WikiUtilTest\processInternalLinksExtCollect().

◆ IL_WIKI_MODE_REPLACE

if (!defined( 'UTF8_REPLACEMENT')) const IL_WIKI_MODE_REPLACE = "replace"

Wiki link / page title handling:

Media wiki uses the following fields for page titles/links (see Title.php):

$mDbkeyform = $dbkey; ($dbkey includes "_" for " ") $mUrlform = ilWikiUtil::wfUrlencode($dbkey); $mTextform = str_replace('_', ' ', $dbkey);

ILIAS uses the ilWikiUtil::makeDbTitle($mTextform) (including " ") as key in the database table and the ilWikiUtil::makeUrlTitle($mTextform) ("_" for " ")for embedding things in URLs.

Definition at line 39 of file class.ilWikiUtil.php.