class KunenaRouter


Located at : UKNOWVA_ROOT/components/com_kunena/router.php

Properties

static $catidcache
static $msgidcache
static $functions

Methods

loadCategories()

No description

loadMessages($msglist)

Preloads messages, saves SQL queries

isCategoryConflict($catid, $catname)

No description

filterOutput($str)

No description

stringURLSafe($str)

No description

segments
BuildRoute($query)

Build SEF URL

ParseRoute($segments)

No description

Details

at line 71
loadCategories()

at line 88
loadMessages($msglist)

Preloads messages, saves SQL queries

Parameters

$msglist

at line 93
isCategoryConflict($catid, $catname)

Parameters

$catid
$catname

at line 100
filterOutput($str)

Parameters

$str

at line 104
stringURLSafe($str)

Parameters

$str

at line 129
segments BuildRoute($query)

Build SEF URL

All SEF URLs are formatted like this:

http://site.com/menuitem/1-category-name/10-subject/[func]/[do]/[param1]-value1/[param2]-value2?param3=value3&param4=value4

  • If catid exists, category will always be in the first segment
  • If there is no catid, second segment for message will not be used (param-value: id-10)
  • [func] and [do] are the only parameters without value
  • all other segments (task, id, userid, page, sel) are using param-value format

NOTE! Only major variables are using SEF segments

Parameters

$query

Return Value

segments

at line 244
ParseRoute($segments)

Parameters

$segments