Constuctor
ModRewriteTest
__construct
()
Creates an URL using passed data.
The result is used to generate seo urls...
void
composeURL
(array $arr, string $type)
-
array
$arr: Assoziative array with some data as follows:
$arr['idcat']
$arr['idart']
$arr['idcatart']
$arr['idartlang']
-
string
$type: Either 'c' or 'a' (category or article). If set to 'c' only the parameter idcat will be added to the URL
Fetchs full structure of the installation (categories and articles) and returns it back.
array
fetchFullStructure
([int $idclient = null], [int $idlang = null])
-
int
$idclient: Client id
-
int
$idlang: Language id
Creates a readable string from passed resolved data array.
string
getReadableResolvedData
( $data)
-
array
$data: Assoziative array with resolved data
Returns resolved URL
bool
getResolvedUrl
()
Returns flagz about found routing
bool
getRoutingFoundState
()
Resolves variables of an page (idcat, idart, idclient, idlang, etc.) by processing passed url using ModRewriteController
array
resolveUrl
(string $url)
-
string
$url: Url to resolve