Mod rewrite test class.
author | Murat Purc |
---|---|
package | plugin |
subpackage | Mod Rewrite |
__construct(int $maxItems)
int
Max items (urls to articles/categories) to process
composeURL(array $arr, string $type)
The result is used to generate seo urls...
array
Assoziative array with some data as follows:
$arr['idcat']
$arr['idart']
$arr['idcatart']
$arr['idartlang']
string
Either 'c' or 'a' (category or article). If set to 'c' only the parameter idcat will be added to the URL
fetchFullStructure(int $idclient, int $idlang) : array
int
Client id
int
Language id
array
Full structure as follows
$arr[idcat] = Category dataset
$arr[idcat]['articles'][idart] = Article dataset
getReadableResolvedData(array $data) : string
array
Assoziative array with resolved data
string
Readable resolved datagetResolvedUrl() : bool
bool
Resolved URLgetRoutingFoundState() : bool
bool
resolveUrl(string $url) : array
string
Url to resolve
array
Assoziative array with resolved data$_aCfg : array
$_aCfgTab : array
$_bRoutingFound : bool
$_iMaxItems : int
$_sResolvedUrl : string