Public Member Functions | |
parseStdUrl ($sUrl) | |
decodeUrl ($sSeoUrl) | |
processSeoCall ($sRequest=null, $sPath=null) | |
Protected Member Functions | |
_getIdent ($sSeoUrl, $blIgnore=false) | |
_decodeOldUrl ($sSeoUrl) | |
_addQueryString ($sUrl) | |
_getSeoUrl ($sObjectId, $iLang, $iShopId) | |
_decodeSimpleUrl ($sParams) | |
_getObjectUrl ($sSeoId, $sTable, $iLanguage, $sType) | |
_getParams ($sRequest, $sPath) |
Seo encoder base
Definition at line 7 of file oxseodecoder.php.
oxSeoDecoder._addQueryString | ( | $ | sUrl | ) | [protected] |
Appends and returns given url with $_SERVER["QUERY_STRING"] value
string | $sUrl url to append |
Definition at line 120 of file oxseodecoder.php.
oxSeoDecoder._decodeOldUrl | ( | $ | sSeoUrl | ) | [protected] |
Checks if url is stored in history table and if it was found - tryes to fetch new url from seo table
string | $sSeoUrl SEO url |
public
Definition at line 84 of file oxseodecoder.php.
oxSeoDecoder._decodeSimpleUrl | ( | $ | sParams | ) | [protected] |
Tries to fetch SEO url according to type II seo url data. If no specified data is found NULL will be returned
string | $sParams request params (url chunk) |
Definition at line 209 of file oxseodecoder.php.
oxSeoDecoder._getIdent | ( | $ | sSeoUrl, | |
$ | blIgnore = false | |||
) | [protected] |
Returns ident (md5 of seo url) to fetch seo data from DB
string | $sSeoUrl seo url to calculate ident | |
bool | $blIgnore if FALSE - blocks from direct access when default language seo url with language ident executed |
Definition at line 38 of file oxseodecoder.php.
oxSeoDecoder._getObjectUrl | ( | $ | sSeoId, | |
$ | sTable, | |||
$ | iLanguage, | |||
$ | sType | |||
) | [protected] |
Searches and returns (if available) current objects seo url
string | $sSeoId ident (or last chunk of url) | |
string | $sTable name of table to look for data | |
int | $iLanguage current language identifier | |
string | $sType type of object to search in seo table |
Definition at line 252 of file oxseodecoder.php.
oxSeoDecoder._getParams | ( | $ | sRequest, | |
$ | sPath | |||
) | [protected] |
Extracts SEO paramteters and returns as array
string | $sRequest request | |
string | $sPath path |
Definition at line 277 of file oxseodecoder.php.
oxSeoDecoder._getSeoUrl | ( | $ | sObjectId, | |
$ | iLang, | |||
$ | iShopId | |||
) | [protected] |
retrieve SEO url by its object id normally used for getting the redirect url from seo history
string | $sObjectId object id | |
int | $iLang language to fetch | |
int | $iShopId shop id |
Definition at line 142 of file oxseodecoder.php.
oxSeoDecoder.decodeUrl | ( | $ | sSeoUrl | ) |
decodeUrl decodes given url into oxid eShop required parameters wich are returned as array
string | $sSeoUrl SEO url |
public
Definition at line 52 of file oxseodecoder.php.
oxSeoDecoder.parseStdUrl | ( | $ | sUrl | ) |
_parseStdUrl parses given url into array of params
string | $sUrl given url |
protected
Definition at line 17 of file oxseodecoder.php.
oxSeoDecoder.processSeoCall | ( | $ | sRequest = null , |
|
$ | sPath = null | |||
) |
processSeoCall handles Server information and passes it to decoder
string | $sRequest request | |
string | $sPath path |
public
Definition at line 168 of file oxseodecoder.php.