build()
buildRedirect()
composeByComponents()
getInstance()
getUrlBuilder()
isExternalUrl()
isIdentifiableFrontContentUrl()
parse()
__construct()
$_instance
$_oUrlBuilder
$_sUrlBuilderName
build(mixed $param, boolean $bUseAbsolutePath, array $aConfig) : string
mixed
Either url or assoziative array containing parameter: - url: front_content.php?idcat=12&lang=1 - params: array('idcat' => 12, 'lang' => 1) Required values depend on used UrlBuilder, but a must have is 'lang'.
boolean
Flag to create absolute Urls
array
If not set, UrlBuilderConfig::getConfig() will be used by the URLBuilder
string
The Url build by UrlBuilderbuildRedirect(mixed $param, array $aConfig) : string
mixed
Either url or assoziative array containing parameter: - url: front_content.php?idcat=12&lang=1 - params: array('idcat' => 12, 'lang' => 1) Required values depend on used UrlBuilder, but a must have is 'lang'.
array
If not set, UrlBuilderConfig::getConfig() will be used by the URLBuilder
string
The redirect Url build by UrlBuildercomposeByComponents(array $aComponents) : string
array
Assoziative array created by parse_url()
string
$sUrl The composed UrlisExternalUrl(string $sUrl) : bool
string
Url to check
bool
True if url is a external url, otherwhise falseisIdentifiableFrontContentUrl(string $sUrl) : bool
Following urls will be identified as a internal url: - "/", "/?idart=123", "/?idcat=123", ... - "front_content.php", "front_content.php?idart=123", "front_content.php?idcat=123", ... - The path component of an client HTML base path: e. g. "/cms/", "/cms/?idart=123", "/cms/?idcat=123" - Also possible: "/cms/front_content.php", "/cms/front_content.php?idart=123", "/cms/front_content.php?idcat=123" All of them prefixed with protocol and client host (e. g. http://host/) will also be identified as a internal Url.
Other Urls, even internal Urls like /unknown/path/to/some/page.html will not be identified as internal url event if they are real working clean URLs.
string
Url to check
bool
True if url is identifiable internal url, otherwhise falseparse(string $sUrl) : array
string
The Url to strip down
array
Assoziative array created by using parse_url() having the key 'params' which includes the parameter value pairs.__construct()
Gets the UrlBuilder configuration and creates an UrlBuilder instance.
$_sUrlBuilderName : string