contenido\classes\Contenido_FrontendNavigation\Contenido_FrontendNavigation_Base.class.php

Show: PublicProtectedPrivateinherited
Table of Contents
Project: Contenido Content Management System

Description: Object to build a Contenido Frontend Navigation

Requirements:

Author
Rudi Bieller  
Con_php_req
5.0  
Copyright
four for business AG  
License
http://www.contenido.org/license/LIZENZ.txt  
Link
http://www.4fb.de  
Link
{@internal created 2008-02-15 $Id: Contenido_FrontendNavigation_Base.class.php 742 2008-08-27 11:06:12Z timo.trautmann $: }}  
Package
Contenido Backend classes  
Version
1.2  

\Contenido_FrontendNavigation_Base

Package: Default
Children
\Contenido_FrontendNavigation
\Contenido_FrontendNavigation_Breadcrumb

Properties

>VPropertyprotectedarray $aCategories
Details
Type
array
Access
protected  
>VPropertyprotectedarray $aCfg
Details
Type
array
Access
protected  
>VPropertyprotectedarray $aCfgClient
Details
Type
array
Access
protected  
>VPropertyprotectedboolean $bDbg
Details
Type
boolean
Access
protected  
>VPropertyprotected$iClient
Details
Type
n/a
>VPropertyprotected$iLang
Details
Type
n/a
>VPropertyprotected\obj $oCategories
Details
Type
\obj
Access
protected  
>VPropertyprotected\obj $oDb
Details
Type
\obj
Access
protected  
>VPropertyprotected\obj $oDbg
Details
Type
\obj
Access
protected  
>VPropertyprotectedstring $sDbgMode
Details
Type
string
Access
protected  

Methods

methodpublic__construct(\DB_Contenido $oDb, array $aCfg, int $iClient, int $iLang,  $aCfgClient) : void

Constructor.

Parameters
NameTypeDescription
$oDb\DB_Contenido
$aCfgarray
$iClientint
$iLangint
$aCfgClient
Details
Access
public  
Author
Rudi Bieller  
methodpublicgetUrl(array $aParams, string $sStyle = 'custom_path', array $aConfig = array(), boolean $bUseAbsolutePath = false) : void

Get a URL to a Navigation point.

Depending on style of URL needed, values of $aParams differ.

Parameters
NameTypeDescription
$aParamsarray

Parameters needed to build the URL

$sStylestring

Available styles are: front_content, custom, custom_path

$aConfigarray

As default this is Contenido_UrlBuilderConfig::getConfig(), can be overridden by setting this value

$bUseAbsolutePathboolean

If true, will use absolute http://www.xy.com/ as "prefix"

Throws
ExceptionDescription
\InvalidArgumentException
Details
Access
public  
See
Contenido_UrlBuilder for details on needed params  
Todo
Apply other styles as soon as they are available  
methodpublicsetDebug(boolean $bDebug = true, string $sDebugMode = 'visible') : void

Set internal property for debugging on/off and choose appropriate debug object

Parameters
NameTypeDescription
$bDebugboolean
$sDebugModestring
Details
Access
public  
Author
Rudi Bieller  
Documentation was generated by phpDocumentor 2.0.0a12.