Backend navigaton class.

Renders the header navigation document containing the navigtion structure.

category Contenido
package Backend
subpackage Navigation

 Methods

Constructor.

Contenido_Navigation() 

Loads the XML language file using XML_Doc.

Reads and fills the navigation structure data

_buildHeaderData() : void

Renders the language select box

_renderLanguageSelect() : string

Returns

string

Function to build the Contenido header document for backend

buildHeader(int $lang) 

Parameters

$lang

int

The language to use for header doc creation

Extracts caption from the XML language file including plugins extended multilang version.

getName(string $location) : string

Parameters

$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

Returns

stringThe found caption

 Properties

 

$data : array
 

$debug : bool