Methods

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

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

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

Parameters

$aParams

array

$bUseAbsolutePath

bool

Exceptions

\cInvalidArgumentException

Return http base path, e.g.

getHttpBasePath() : string

http://contenido.org/

Returns

string

Implementation of Singleton.

getInstance() 
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

Return built URL

getUrl() : string

Returns

string

Set http base path, e.g.

setHttpBasePath($sBasePath) : void

http://contenido.org/

Parameters

$sBasePath

 Properties

 

$sHttpBasePath : string

http://contenido.org/

 

$sUrl : string