◆ _addQueryString()
OxidEsales\EshopCommunity\Core\SeoDecoder::_addQueryString |
( |
|
$sUrl | ) |
|
|
protected |
Appends and returns given url with $_SERVER["QUERY_STRING"] value
- Parameters
-
- Returns
- string
◆ _decodeOldUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::_decodeOldUrl |
( |
|
$seoUrl | ) |
|
|
protected |
Checks if url is stored in history table and if it was found - tries to fetch new url from seo table
- Parameters
-
@access public
- Returns
- string || false
◆ _decodeSimpleUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::_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
- Parameters
-
string | $sParams | request params (url chunk) |
- Returns
- string
◆ _getIdent()
OxidEsales\EshopCommunity\Core\SeoDecoder::_getIdent |
( |
|
$sSeoUrl, |
|
|
|
$blIgnore = false |
|
) |
| |
|
protected |
Returns ident (md5 of seo url) to fetch seo data from DB
- Parameters
-
string | $sSeoUrl | seo url to calculate ident |
bool | $blIgnore | if FALSE - blocks from direct access when default language seo url with language ident executed |
- Returns
- string
◆ _getObjectUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::_getObjectUrl |
( |
|
$sSeoId, |
|
|
|
$sTable, |
|
|
|
$iLanguage, |
|
|
|
$sType |
|
) |
| |
|
protected |
Searches and returns (if available) current objects seo url
- Parameters
-
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 |
- Returns
- string
◆ _getParams()
OxidEsales\EshopCommunity\Core\SeoDecoder::_getParams |
( |
|
$sRequest, |
|
|
|
$sPath |
|
) |
| |
|
protected |
Extracts SEO paramteters and returns as array
- Parameters
-
string | $sRequest | request |
string | $sPath | path |
- Returns
- array $aParams extracted params
◆ _getSeoUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::_getSeoUrl |
( |
|
$sObjectId, |
|
|
|
$iLang, |
|
|
|
$iShopId |
|
) |
| |
|
protected |
retrieve SEO url by its object id normally used for getting the redirect url from seo history
- Parameters
-
string | $sObjectId | object id |
int | $iLang | language to fetch |
int | $iShopId | shop id |
- Returns
- string
◆ convertSeoPageStringToActualPageNumber()
OxidEsales\EshopCommunity\Core\SeoDecoder::convertSeoPageStringToActualPageNumber |
( |
|
$seoPageNumber | ) |
|
|
private |
Converts seo url pagination number to actual page number.
- Parameters
-
- Returns
- int
◆ decodeUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::decodeUrl |
( |
|
$seoUrl | ) |
|
decodeUrl decodes given url into oxid eShop required parameters which are returned as array
- Parameters
-
@access public
- Returns
- array || false
◆ extractPageNumberFromSeoUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::extractPageNumberFromSeoUrl |
( |
|
$seoUrl | ) |
|
|
private |
Splits seo url into:
- seo url without page number
- page number
- Parameters
-
- Returns
- array
◆ parseStdUrl()
OxidEsales\EshopCommunity\Core\SeoDecoder::parseStdUrl |
( |
|
$sUrl | ) |
|
_parseStdUrl parses given url into array of params
- Parameters
-
@access protected
- Returns
- array
◆ processSeoCall()
OxidEsales\EshopCommunity\Core\SeoDecoder::processSeoCall |
( |
|
$sRequest = null , |
|
|
|
$sPath = null |
|
) |
| |
processSeoCall handles Server information and passes it to decoder
- Parameters
-
string | $sRequest | request |
string | $sPath | path |
@access public
The documentation for this class was generated from the following file: