Methods

Constructor.

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

access public
author Rudi Bieller

Parameters

$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 \appropriate
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

$aCategories : array

access protected
 

$aCfg

$aCfg : array

access protected
 

$aCfgClient

$aCfgClient : array

access protected
 

$bDbg

$bDbg : boolean

access protected
 

$iClient

$iClient 

 

$iLang

$iLang 

 

$oCategories

$oCategories : \obj

access protected
 

$oDb

$oDb : \obj

access protected
 

$oDbg

$oDbg : \obj

access protected
 

$sDbgMode

$sDbgMode : string

access protected