Contenido_UrlBuilder_MR
Extends abstract Contenido_UriBuilder class and implements singleton pattern.
Usage:
cInclude('classes', 'uri/class.uriBuilder.MR.php'); $url = 'front_content.php?idart=123'; $mrUriBuilder = cUriBuilderMR::getInstance(); $mrUriBuilder->buildUrl(array($url)); $newUrl = $mrUriBuilder->getUrl();
deprecated | [2012-09-06] Use cUriBuilderMR instead of this class. |
---|---|
author | Murat Purc |
package | CONTENIDO Plugins |
buildUrl(array $params, boolean $bUseAbsolutePath) : string
Index keys of $aParams will be used as "a", corresponding values as "1" in this sample.
inherited_from | \cUriBuilderMR::buildUrl() |
---|
array
Parameter array, provides only following parameters:
$params[0] = 'front_content.php?idart=123...'
boolean
Flag to use absolute path (not used at the moment)
\cInvalidArgumentException |
---|
string
New build urlgetHttpBasePath() : string
http://contenido.org/
inherited_from | \cUriBuilder::getHttpBasePath() |
---|---|
inherited_from | \cUriBuilderMR::getHttpBasePath() |
string
getInstance() : \cUriBuilderMR
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 cUriBuilderMR instead of this function |
---|
\cBadMethodCallException |
If child class has not implemented this function |
---|
getUrl() : string
inherited_from | \cUriBuilder::getUrl() |
---|---|
inherited_from | \cUriBuilderMR::getUrl() |
string
setHttpBasePath($sBasePath) : void
http://contenido.org/
inherited_from | \cUriBuilder::setHttpBasePath() |
---|---|
inherited_from | \cUriBuilderMR::setHttpBasePath() |
__construct()
deprecated | 2012-09-06 this function is not supported any longer use function located in cUriBuilderMR instead of this function |
---|
_buildUrl(array $aParams) : string
inherited_from | \cUriBuilderMR::_buildUrl() |
---|
array
Parameter array
string
New build pretty url_createUrlQueryPart(array $aArgs) : string
All non CONTENIDO related parameter will be excluded from composition.
inherited_from | \cUriBuilderMR::_createUrlQueryPart() |
---|
array
Assoziative parameter array
string
Composed query part for the URL like
'?foo=bar¶m=value'_getArticleName(array $aPretty, array $aArgs) : string
inherited_from | \cUriBuilderMR::_getArticleName() |
---|
array
Pretty url array
array
Additional arguments
string
Articlename_getClientParameter(array $aArgs) : mixed
inherited_from | \cUriBuilderMR::_getClientParameter() |
---|
array
Additional arguments
mixed
Client id, client name or null_getLanguageParameter(array $aArgs) : mixed
inherited_from | \cUriBuilderMR::_getLanguageParameter() |
---|
array
Additional arguments
mixed
Language id, language name or null_getPath(array $aPretty) : string
inherited_from | \cUriBuilderMR::_getPath() |
---|
array
Pretty url array
string
Path$sHttpBasePath : string
http://contenido.org/
inherited_from | \cUriBuilder::$$sHttpBasePath |
---|---|
inherited_from | \cUriBuilderMR::$$sHttpBasePath |
$sUrl : string
inherited_from | \cUriBuilder::$$sUrl |
---|---|
inherited_from | \cUriBuilderMR::$$sUrl |
$_aMrCfg : array
inherited_from | \cUriBuilderMR::$$_aMrCfg |
---|
$_bIsXHTML : bool
inherited_from | \cUriBuilderMR::$$_bIsXHTML |
---|
$_bMREnabled : bool
inherited_from | \cUriBuilderMR::$$_bMREnabled |
---|
$_sAmp : string
inherited_from | \cUriBuilderMR::$$_sAmp |
---|