contenido\classes\class.navigation.php
Description: Class for the dynamic Contenido backend navigation
Requirements:
- Author
- Jan Lengowski
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend classes
- Since
- file available since contenido release <= 4.6 {@internal created unknown modified 2008-06-30, Dominik Ziegler, add security fix modified 2008-07-08 Thorsten Granz, added option to disable menu hover effect. clicking is now possible again modified 2009-12-17, Dominik Ziegler, added support for username fallback and fixed double quote modified 2009-12-16 Corrected rendering of multiple apostrophes in anchors modified 2010-01-15, Dominik Ziegler, added frontend url to client name modified 2011-01-28, Dominik Ziegler, added check for client existance for link to frontend [#CON-378] $Id: class.navigation.php 1264 2011-01-28 10:41:52Z dominik.ziegler $: }}
- Version
- 1.0.3
\Contenido_Navigation
Renders the header navigation document containing the navigtion structure.
- Category
- Contenido
Properties
Methods


buildHeader(int $lang) : void
Function to build the Contenido header document for backend
Name | Type | Description |
---|---|---|
$lang | int | The language to use for header doc creation |


getName(string $location) : string
Extracts caption from the XML language file including plugins extended multilang version.
Name | Type | Description |
---|---|---|
$location | string | The location of navigation item caption. Feasible values are - "{xmlFilePath};{XPath}": Path to XML File and the XPath value separated by semicolon. This type is used to extract caption from a plugin XML file. - "{XPath}": XPath value to extract caption from Contenido XML file |
Type | Description |
---|---|
string | The found caption |