Methods

Builds a URL in front_content.php style.

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

Depending on which array keys of $aParams are set, the URL is built differently. Valid array keys are: idcat, idart and idcatart. Additional array keys will also be added to the generated url. Internally, the method first tries to create URLs in this order: front_content.php?idcat=1&idart=1 front_content.php?idcat=1 front_content.php?idart=1 front_content.php?idcatart=1

author Rudi Bieller

Parameters

$aParams

array

$bUseAbsolutePath

boolean

$aConfig

array

Is not used at the moment

Exceptions

\InvalidArgumentException
\Exception

Return http base path, e.g.

getHttpBasePath() : string
Inherited

http://contenido.org/

inherited_from \Contenido_UrlBuilder::getHttpBasePath()

Returns

string

Get instance of Contenido_UrlBuilder_Frontcontent

getInstance() : \obj
Static

Get instance of concrete Contenido_UrlBuilder_XYZ

access public
author Rudi Bieller

Returns

\objContenido_UrlBuilder_Frontcontent

Return built URL

getUrl() : string
Inherited
access public
author Rudi Bieller
inherited_from \Contenido_UrlBuilder::getUrl()

Returns

string

Set http base path, e.g.

setHttpBasePath($sBasePath) : void
Inherited

http://contenido.org/

access public
author Rudi Bieller
inherited_from \Contenido_UrlBuilder::setHttpBasePath()

Parameters

$sBasePath

Constructor

__construct() : void
access private
author Rudi Bieller

 Properties

 

$sHttpBasePath : string
Inherited
access protected
desc Holds URL that is used as base for an absolute path, e.g. http://contenido.org/
inherited_from \Contenido_UrlBuilder::$$sHttpBasePath
 

$sUrl : string
Inherited
access protected
desc Holds final value of built URL
inherited_from \Contenido_UrlBuilder::$$sUrl
   

$_sAmp : string