getConfig()
getInstance()
isEnabled()
setConfig()
setEnabled()
toContenidoUrl()
toContenidoUrlName()
toContenidoUrlPath()
toModRewriteUrl()
toModRewriteUrlName()
toModRewriteUrlPath()
__clone()
__construct()
_toUrl()
_toUrlName()
_toUrlPath()
$_artSep
$_artWordSep
$_catSep
$_catWordSep
$_instance
$_mrArtSep
$_mrArtWordSep
$_mrCatSep
$_mrCatWordSep
$_mrExt
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.
Provides some common features such as common debugging, globals/configuration access for childs.
author | Murat Purc |
---|---|
package | Contenido Backend plugins |
subpackage | ModRewrite |
getConfig(string $key, $default) : mixed
inherited_from | \ModRewriteBase::getConfig() |
---|
string
Name of configuration key
mixed
Desired value mr configuration, either the full configuration or one of the desired subpartisEnabled() : bool
inherited_from | \ModRewriteBase::isEnabled() |
---|
bool
setConfig(string $key, mixed $value)
inherited_from | \ModRewriteBase::setConfig() |
---|
string
Name of configuration key
mixed
The value to set
setEnabled($bEnabled)
pparam | bool $bEnabled |
---|---|
inherited_from | \ModRewriteBase::setEnabled() |
toContenidoUrl(string $url) : string
string
AMR url
string
Contenido urltoContenidoUrlName(string $urlName) : string
string
AMR url name
string
Contenido url nametoContenidoUrlPath(string $urlPath) : string
string
AMR url path
string
Contenido url pathtoModRewriteUrl(string $url) : string
string
AMR url
string
Contenido urltoModRewriteUrlName(string $urlName) : string
string
Contenido url name
string
AMR url nametoModRewriteUrlPath(string $urlPath) : string
string
Contenido url path
string
AMR url path__clone()
__construct()
_toUrl($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 |
---|
string
Source category seperator
string
Destination category seperator
string
Source category word seperator
string
Destination category word seperator
string
Source article seperator
string
Destination article seperator
string
Source article word seperator
string
Destination article word seperator
string
Destination url_toUrlName(string $urlName, string $fromArtWordSep, string $toArtWordSep) : string
string
Source url name
string
Source article word seperator
string
Destination article word seperator
string
Destination url name_toUrlPath(string $urlPath, string $fromCatSep, string $toCatSep, string $fromCatWordSep, string $toCatWordSep, string $fromArtSep, string $toArtSep) : string
string
Source url path
string
Source category seperator
string
Destination category seperator
string
Source category word seperator
string
Destination category word seperator
string
Source article seperator
string
Destination article seperator
string
Destination url path$_artSep : string
$_artWordSep : string
$_catSep : string
$_catWordSep : string
$_mrArtSep : string
$_mrArtWordSep : string
$_mrCatSep : string
$_mrCatWordSep : string
$_mrExt : string