Methods

Builds a URL in index-a-1.html style.

buildUrl(array $aParams, boolean $bUseAbsolutePath) : void

Index keys of $aParams will be used as "a", corresponding values as "1" in this sample.

author Rudi Bieller

Parameters

$aParams

array

$bUseAbsolutePath

boolean

Exceptions

\InvalidArgumentException

Return http base path, e.g. http://contenido.org/

getHttpBasePath() : string

Returns

string

Implementation of Singleton. Get instance of concrete Contenido_UrlBuilder_XYZ

getInstance() : \obj

access public
author Rudi Bieller

Returns

\objContenido_UrlBuilder_Frontcontent

Return built URL

getUrl() : string

access public
author Rudi Bieller

Returns

string

Set http base path, e.g. http://contenido.org/

setHttpBasePath($sBasePath) : void

access public
author Rudi Bieller

Parameters

$sBasePath

 Properties

 

$sHttpBasePath

$sHttpBasePath : string

access protected
desc Holds URL that is used as base for an absolute path, e.g. http://contenido.org/
 

$sUrl

$sUrl : string

access protected
desc Holds final value of built URL