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.
| author | Murat Purc |
|---|---|
| package | plugin |
| subpackage | Mod Rewrite |
getConfig(string $key, mixed $default) : mixed
| inherited_from | \ModRewriteBase::getConfig() |
|---|
stringName of configuration key
mixedDefault value to return as a fallback
mixedDesired value mr configuration, either the full configuration
or one of the desired subpartisEnabled() : bool
| inherited_from | \ModRewriteBase::isEnabled() |
|---|
boolsetConfig(string $key, mixed $value)
| inherited_from | \ModRewriteBase::setConfig() |
|---|
stringName of configuration key
mixedThe value to set
setEnabled(bool $bEnabled)
| inherited_from | \ModRewriteBase::setEnabled() |
|---|
bool
toContenidoUrl(string $url) : string
stringAMR url
stringCONTENIDO urltoContenidoUrlName(string $urlName) : string
stringAMR url name
stringCONTENIDO url nametoContenidoUrlPath(string $urlPath) : string
stringAMR url path
stringCONTENIDO url pathtoModRewriteUrl(string $url) : string
stringAMR url
stringCONTENIDO urltoModRewriteUrlName(string $urlName) : string
stringCONTENIDO url name
stringAMR url nametoModRewriteUrlPath(string $urlPath) : string
stringCONTENIDO url path
stringAMR url path__clone()
__construct()
_toUrl(string $url, string $fromCatSep, string $toCatSep, string $fromCatWordSep, string $toCatWordSep, string $fromArtSep, string $toArtSep, string $fromArtWordSep, string $toArtWordSep) : string
| deprecated | No more used, is to delete |
|---|
stringSource url
stringSource category seperator
stringDestination category seperator
stringSource category word seperator
stringDestination category word seperator
stringSource article seperator
stringDestination article seperator
stringSource article word seperator
stringDestination article word seperator
stringDestination url_toUrlName(string $urlName, string $fromArtWordSep, string $toArtWordSep) : string
stringSource url name
stringSource article word seperator
stringDestination article word seperator
stringDestination url name_toUrlPath(string $urlPath, string $fromCatSep, string $toCatSep, string $fromCatWordSep, string $toCatWordSep, string $fromArtSep, string $toArtSep) : string
stringSource url path
stringSource category seperator
stringDestination category seperator
stringSource category word seperator
stringDestination category word seperator
stringSource article seperator
stringDestination article seperator
stringDestination url path$_artSep : string
$_artWordSep : string
$_catSep : string
$_catWordSep : string
$_instance : \ModRewriteUrlUtil
$_mrArtSep : string
$_mrArtWordSep : string
$_mrCatSep : string
$_mrCatWordSep : string
$_mrExt : string
g. .html)