Class ModRewriteUrlUtil
Mod Rewrite url utility class. Handles convertion of Urls from CONTENIDO core based url composition pattern to AMR (Advanced Mod Rewrite) url composition pattern and vice versa.
- ModRewriteBase
- ModRewriteUrlUtil
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>
Located at plugins/mod_rewrite/classes/class.modrewriteurlutil.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at plugins/mod_rewrite/classes/class.modrewriteurlutil.php
private
|
|
private
|
|
public static
|
|
public
string
|
|
public
string
|
|
private
string
|
#
_toUrlPath( string $urlPath, string $fromCatSep, string $toCatSep, string $fromCatWordSep, string $toCatWordSep, string $fromArtSep, string $toArtSep )
Converts passed url path to a another url path (CONTENIDO to AMR and vice versa). |
public
string
|
|
public
string
|
|
private
string
|
#
_toUrlName( string $urlName, string $fromArtWordSep, string $toArtWordSep )
Converts passed url name to a another url name (CONTENIDO to AMR and vice versa). |
public
string
|
|
public
string
|
getConfig(),
isEnabled(),
setConfig(),
setEnabled()
|
private static
|
$_instance |
|
#
Self instance (singleton implementation) |
private
string
|
$_catWordSep | '-' |
#
CONTENIDO category word separator |
private
string
|
$_mrCatWordSep |
|
#
AMR category word separator |
private
string
|
$_catSep | '/' |
#
CONTENIDO category separator |
private
string
|
$_mrCatSep |
|
#
AMR category separator |
private
string
|
$_artSep | '/' |
#
CONTENIDO article separator |
private
string
|
$_mrArtSep |
|
#
AMR article separator |
private
string
|
$_artWordSep | '-' |
#
CONTENIDO article word separator |
private
string
|
$_mrArtWordSep |
|
#
AMR article word separator |
private
string
|
$_mrExt |
|
#
AMR extension used for articlenames (e. g. .html) |