Class cUriBuilderMR
Class to build frontend urls for advandced mod rewrite plugin.
Extends abstract Contenido_UriBuilder class and implements the 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
Todo: 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
Todo: standardize handling of fragments
Located at classes/uri/class.uribuilder.mr.php
private
|
|
public static
|
|
public
string
|
|
private
string
|
|
public static
string
|
|
private
string
|
#
_createUrlQueryPart( array $aArgs )
Loops through given parameter array and creates the query part of the URL. |
private
mixed
|
|
private
mixed
|
|
private
string
|
|
private
string
|
getHttpBasePath(),
getUrl(),
setHttpBasePath()
|
private static
|
$_instance |
|
#
Self instance |
private static
string
|
$_cachedRootDir |
|
#
Cached rootdir. |
private
string
|
$_sAmp | '&' |
#
Ampersand 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
|