Navigation
in package
Class Navigation This class creates the navigation tree Note: modified 27/06/2006 by Sébastien Perret => sva.perret@bluewin.ch
Use \Cx\Core\PageTree directly instead
Tags
Table of Contents
Properties
- $page : mixed
- $_objTpl : mixed
- $langId : mixed
- $pageId : mixed
- $separator : mixed
Methods
- __construct() : mixed
- Constructor
- getNavigation() : mixed
- getSubnavigation() : mixed
- getTrail() : string
- Get trail
- parseNavigation() : mixed
- This is just a wrapper for \Cx\Core\PageTree\ classes and Shop::getNavbar()
Properties
$page
protected
mixed
$page
= \null
$_objTpl
private
mixed
$_objTpl
$langId
private
mixed
$langId
$pageId
private
mixed
$pageId
$separator
private
mixed
$separator
= ' > '
Methods
__construct()
Constructor
public
__construct(int $pageId, Page $page) : mixed
Parameters
- $pageId : int
- $page : Page
Tags
getNavigation()
public
getNavigation(mixed $templateContent, mixed $license[, mixed $boolShop = false ]) : mixed
Parameters
- $templateContent : mixed
- $license : mixed
- $boolShop : mixed = false
getSubnavigation()
public
getSubnavigation(mixed $templateContent, mixed $license[, mixed $boolShop = false ]) : mixed
Parameters
- $templateContent : mixed
- $license : mixed
- $boolShop : mixed = false
getTrail()
Get trail
public
getTrail() : string
Return values
string —The trail with links
parseNavigation()
This is just a wrapper for \Cx\Core\PageTree\ classes and Shop::getNavbar()
private
parseNavigation(string $templateContent, mixed $license[, bool $boolShop = false ][, mixed $parseSubnavigation = false ]) : mixed
Parameters
- $templateContent : string
- $license : mixed
- $boolShop : bool = false
-
If true, parse the shop navigation into {SHOPNAVBAR_FILE}
- $parseSubnavigation : mixed = false
Tags
Return values
mixed —parsed navigation