oxSeoDecoder Class Reference

Inheritance diagram for oxSeoDecoder:

Inheritance graph
[legend]
Collaboration diagram for oxSeoDecoder:

Collaboration graph
[legend]

List of all members.


Detailed Description

Seo encoder base

Definition at line 7 of file oxseodecoder.php.


Public Member Functions

 parseStdUrl ($sUrl)
 decodeUrl ($sSeoUrl)
 processSeoCall ($sRequest=null, $sPath=null)

Protected Member Functions

 _getIdent ($sSeoUrl, $blIgnore=false)
 _decodeOldUrl ($sSeoUrl)
 _decodeSimpleUrl ($sParams)
 _getObjectUrl ($sSeoId, $sTable, $iLanguage, $sType)
 _getParams ($sRequest, $sPath)

Member Function Documentation

oxSeoDecoder.parseStdUrl ( sUrl  ) 

_parseStdUrl parses given url into array of params

Parameters:
string $sUrl given url
protected
Returns:
array

Definition at line 17 of file oxseodecoder.php.

oxSeoDecoder._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

Definition at line 44 of file oxseodecoder.php.

oxSeoDecoder.decodeUrl ( sSeoUrl  ) 

decodeUrl decodes given url into oxid eShop required parameters wich are returned as array

Parameters:
string $sSeoUrl SEO url
public
Returns:
array || false

Definition at line 58 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

Parameters:
string $sSeoUrl SEO url
public
Returns:
string || false

Definition at line 89 of file oxseodecoder.php.

oxSeoDecoder.processSeoCall ( sRequest = null,
sPath = null 
)

processSeoCall handles Server information and passes it to decoder

Parameters:
string $sRequest request
string $sPath path
public
Returns:
void

Definition at line 124 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

Parameters:
string $sParams request params (url chunk)
Returns:
string

Definition at line 162 of file oxseodecoder.php.

oxSeoDecoder._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

Definition at line 206 of file oxseodecoder.php.

oxSeoDecoder._getParams ( sRequest,
sPath 
) [protected]

Extracts SEO paramteters and returns as array

Parameters:
string $sRequest request
string $sPath path
Returns:
array $aParams extracted params

Definition at line 232 of file oxseodecoder.php.


The documentation for this class was generated from the following file:

Generated on Wed Apr 22 12:32:24 2009 for OXID eShop CE by  doxygen 1.5.5