Contenido_UrlBuilder_CustomPath

deprecated [2012-09-06] Use cUriBuilderCustomPath instead of this class.

 Methods

Constructor

__construct() : void
deprecated 2012-09-06 this function is not supported any longer use function located in cUriBuilderCustomPath instead of this function

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

buildUrl(array $aParams, bool $bUseAbsolutePath, array $aConfig) : void
Inherited

Index keys of $aParams will be used as "a", corresponding values as "1" in this sample. For creating the location string $aParams needs to have keys idcat, level, lang and at least one custom key. If level is not set, level 0 will be used as default.

inherited_from \cUriBuilderCustomPath::buildUrl()

Parameters

$aParams

array

Required keys are: idcat, level, lang and at least one custom key.

$bUseAbsolutePath

bool

$aConfig

array

If not set, will use UriBuilderConfig::getConfig()

Exceptions

\cInvalidArgumentException

Return http base path, e.g.

getHttpBasePath() : string
Inherited

http://contenido.org/

inherited_from \cUriBuilder::getHttpBasePath()
inherited_from \cUriBuilderCustomPath::getHttpBasePath()

Returns

string

Get instance of self

getInstance() : \obj
Static

It is meant to be an abstract function but not declared as abstract, because PHP Strict Standards are against abstract static functions.

deprecated 2012-09-06 this function is not supported any longer use function located in cUriBuilderCustomPath instead of this function

Exceptions

\cBadMethodCallException If child class has not implemented this function

Returns

\objcUriBuilderFrontcontent

Return built URL

getUrl() : string
Inherited
inherited_from \cUriBuilder::getUrl()
inherited_from \cUriBuilderCustomPath::getUrl()

Returns

string

Set http base path, e.g.

setHttpBasePath($sBasePath) : void
Inherited

http://contenido.org/

inherited_from \cUriBuilder::setHttpBasePath()
inherited_from \cUriBuilderCustomPath::setHttpBasePath()

Parameters

$sBasePath

 Properties

 

$sHttpBasePath : string
Inherited

http://contenido.org/

inherited_from \cUriBuilder::$$sHttpBasePath
inherited_from \cUriBuilderCustomPath::$$sHttpBasePath
 

$sUrl : string
Inherited
inherited_from \cUriBuilder::$$sUrl
inherited_from \cUriBuilderCustomPath::$$sUrl
 

$_instance : \cUriBuilderCustomPath
Inherited
inherited_from \cUriBuilderCustomPath::$$_instance
 

$aConfig : array
Inherited
inherited_from \cUriBuilderCustomPath::$$aConfig