Methods

Builds a URL in front_content.php style.

buildUrl(array $aParams, bool $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

Parameters

$aParams

array

$bUseAbsolutePath

bool

$aConfig

array

Is not used at the moment

Exceptions

\cInvalidArgumentException
\cException

Return http base path, e.g.

getHttpBasePath() : string
Inherited

http://contenido.org/

inherited_from \cUriBuilder::getHttpBasePath()

Returns

string

Get instance of self

getInstance() : \cUriBuilderFrontcontent
Static

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

Exceptions

\cBadMethodCallException If child class has not implemented this function

Returns

Return built URL

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

Returns

string

Set http base path, e.g.

setHttpBasePath($sBasePath) : void
Inherited

http://contenido.org/

inherited_from \cUriBuilder::setHttpBasePath()

Parameters

$sBasePath

Constructor

__construct() : void

 Properties

 

$sHttpBasePath : string
Inherited

http://contenido.org/

inherited_from \cUriBuilder::$$sHttpBasePath
 

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

$_instance : \cUriBuilderFrontcontent
 

$_sAmp : string