Definition at line 8 of file oxseodecoder.php.
Public Member Functions | |
parseStdUrl ($sUrl) | |
decodeUrl ($sSeoUrl) | |
processSeoCall ($sRequest=null, $sPath=null) | |
fetchSeoUrl ($sStdUrl, $iLanguage=null) | |
Protected Member Functions | |
_decodeOldUrl ($sSeoUrl) | |
_decodeSimpleUrl ($sParams) | |
_getObjectUrl ($sSeoId, $sTable, $iLanguage, $sType) | |
_getParams ($sRequest, $sPath) |
oxSeoDecoder.parseStdUrl | ( | $ | sUrl | ) |
_parseStdUrl parses given url into array of params
string | $sUrl given url |
Definition at line 18 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 |
Definition at line 45 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 |
Definition at line 76 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 |
Definition at line 108 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 146 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 186 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 212 of file oxseodecoder.php.
oxSeoDecoder.fetchSeoUrl | ( | $ | sStdUrl, | |
$ | iLanguage = null | |||
) |
Searches for seo url in seo table. If not found - FALSE is returned
string | $sStdUrl standard url | |
integer | $iLanguage language |
Definition at line 234 of file oxseodecoder.php.