Methods

Constructor.

__construct(\DB_Contenido $oDb, array $aCfg, int $iClient, int $iLang, array $aCfgClient) : void
access public
author Rudi Bieller

Parameters

$oDb

\DB_Contenido

$aCfg

array

$iClient

int

$iLang

int

$aCfgClient

Get a URL to a Navigation point.

getUrl(array $aParams, string $sStyle, array $aConfig, boolean $bUseAbsolutePath) : void

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

access public
see Contenido_UrlBuilder for details on needed params
todo Apply other styles as soon as they are available

Parameters

$aParams

array

Parameters needed to build the URL

$sStyle

string

Available styles are: front_content, custom, custom_path

$aConfig

array

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

$bUseAbsolutePath

boolean

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

Exceptions

\InvalidArgumentException

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

setDebug(boolean $bDebug, string $sDebugMode) : void
access public
author Rudi Bieller

Parameters

$bDebug

boolean

$sDebugMode

string

 Properties

 

$aCategories : array
access protected
 

$aCfg : array
access protected
 

$aCfgClient : array
access protected
 

$bDbg : boolean
access protected
 

$iClient 
 

$iLang 
 

$oCategories : \obj
access protected
 

$oDb : \obj
access protected
 

$oDbg : \obj
access protected
 

$sDbgMode : string
access protected