Class cUriBuilderMR
Class to build frontend urls for advandced mod rewrite plugin. 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();
- cUriBuilder
- cUriBuilderMR
Package: Plugin\ModRewrite
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Todo: Add handling of absolute paths, standardize handling of fragments
Located at classes/uri/class.uribuilder.mr.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Todo: Add handling of absolute paths, standardize handling of fragments
Located at classes/uri/class.uribuilder.mr.php
private
|
|
public static
|
|
public
string
|
|
private
string
|
|
private
string
|
#
_createUrlQueryPart( array $aArgs )
Loops thru passed parameter array and creates the query part of the URL. All non CONTENIDO related parameter will be excluded from composition. |
private
mixed
|
|
private
mixed
|
|
private
string
|
|
private
string
|
getHttpBasePath(),
getUrl(),
setHttpBasePath()
|
private static
|
$_instance |
|
#
Self instance |
private
string
|
$_sAmp | '&' |
#
Ampersant used for composing several parameter value pairs |
private
boolean
|
$_bIsXHTML | false |
#
Is XHTML output? |
private
boolean
|
$_bMREnabled | false |
#
Is mod rewrite enabled? |
private
array
|
$_aMrCfg | null |
#
Mod Rewrite configuration |
$sHttpBasePath,
$sUrl
|