Functions
checkCatPermission()
checkCatPermission($idcatlang, $public)
Parameters
$idcatlang
$public
createNavigationArray()
createNavigationArray($start_id, $db)
Return category name
getCategoryName($cat_id, $db)
Return path of a given category up to a certain level
getCategoryPath($cat_id, $level, $reverse, $db)
Parameters
$cat_id
$level
$reverse
$db
getLevel()
getLevel($catid, $db)
Return location string of a given category
getLocationString($iStartCat, $level, $seperator, $sLinkStyleClass, $sTextStyleClass, $fullweblink, $reverse, $mod_rewrite, $db)
Parameters
$iStartCat
$level
$seperator
$sLinkStyleClass
$sTextStyleClass
$fullweblink
$reverse
$mod_rewrite
$db
getParent()
getParent($preid, $db)
getProtectedSubCategories()
getProtectedSubCategories($parent_id, $db)
Parameters
$parent_id
$db
get subtree by a given id, without protected and invisible categories
getProtectedSubTree($idcat_start, $db) : array
copyright |
four for business AG |
Parameters
$idcat_start
$db
Returns
array
Array with all deeper categories
getSubCategories()
getSubCategories($parent_id, $db)
Parameters
$parent_id
$db
get subtree by a given id
getSubTree($idcat_start, $db) : array
Parameters
$idcat_start
$db
Returns
array
Array with all deeper categories
getTeaserDeeperCategories()
getTeaserDeeperCategories($iIdcat, $db)
Return true if $parentid is parent of $catid
isParent($parentid, $catid, $db)
Parameters
$parentid
$catid
$db