ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilWikiUtil.php File Reference

Go to the source code of this file.

Data Structures

class  ilWikiUtil
 Utility class for wiki. More...

Variables

const IL_WIKI_MODE_REPLACE = "replace"
 Wiki link / page title handling:
const IL_WIKI_MODE_COLLECT = "collect"

Variable Documentation

const IL_WIKI_MODE_COLLECT = "collect"
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 38 of file class.ilWikiUtil.php.

Referenced by ilWikiUtil\processInternalLinks().