ILIAS  Release_4_4_x_branch Revision 61816
 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"
const IL_WIKI_MODE_EXT_COLLECT = "ext_collect"

Variable Documentation

const IL_WIKI_MODE_COLLECT = "collect"
const IL_WIKI_MODE_EXT_COLLECT = "ext_collect"

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

Referenced by ilWikiUtil\processInternalLinks(), and ilWikiPage\rename().

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 18 of file class.ilWikiUtil.php.

Referenced by ilWikiUtil\processInternalLinks(), and ilWikiUtil\replaceInternalLinks().