OXID eShop CE  4.10.2
 All Classes Namespaces Files Functions Variables Pages
oxSeoEncoderVendor Class Reference
+ Inheritance diagram for oxSeoEncoderVendor:
+ Collaboration diagram for oxSeoEncoderVendor:

Public Member Functions

 getVendorUri ($oVendor, $iLang=null, $blRegenerate=false)
 getVendorPageUrl ($oVendor, $iPage, $iLang=null, $blFixed=null)
 getVendorUrl ($oVendor, $iLang=null)
 onDeleteVendor ($oVendor)
- Public Member Functions inherited from oxSeoEncoder
 addLanguageParam ($sSeoUrl, $iLang)
 __construct ()
 getDynamicObjectId ($iShopId, $sStdUrl)
 encodeString ($sString, $blReplaceChars=true, $iLang=false)
 setSeparator ($sSeparator=null)
 setPrefix ($sPrefix)
 setIdLength ($iIdlength=null)
 setReservedWords ($aReservedWords)
 markAsExpired ($sId, $iShopId=null, $iExpStat=1, $iLang=null, $sParams=null)
 encodeStaticUrls ($aStaticUrl, $iShopId, $iLang)
 copyStaticUrls ($iShopId)
 getStaticUrl ($sStdUrl, $iLang=null, $iShopId=null)
 addSeoEntry ($sObjectId, $iShopId, $iLang, $sStdUrl, $sSeoUrl, $sType, $blFixed=1, $sKeywords= '', $sDescription= '', $sParams= '', $blExclude=false, $sAltObjectId=null)
 deleteSeoEntry ($sObjectId, $iShopId, $iLang, $sType)
 getMetaData ($sObjectId, $sMetaType, $iShopId=null, $iLang=null)
 getDynamicUrl ($sStdUrl, $sSeoUrl, $iLang)
 fetchSeoUrl ($sStdUrl, $iLanguage=null)
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getUrlExtension ()
 _getAltUri ($sObjectId, $iLang)
- Protected Member Functions inherited from oxSeoEncoder
 _processSeoUrl ($sSeoUrl, $sObjectId=null, $iLang=null, $blExclude=false)
 _copyToHistory ($sId, $iShopId, $iLang, $sType=null, $sNewId=null)
 _getDynamicUri ($sStdUrl, $sSeoUrl, $iLang)
 _getFullUrl ($sSeoUrl, $iLang=null, $blSsl=false)
 _getSeoIdent ($sSeoUrl)
 _getStaticUri ($sStdUrl, $iShopId, $iLang)
 _getUniqueSeoUrl ($sSeoUrl, $sObjectId=null, $iObjectLang=null)
 _isFixed ($sType, $sId, $iLang, $iShopId=null, $sParams=null, $blStrictParamsCheck=true)
 _getCacheKey ($sType, $iLang=null, $iShopId=null, $sParams=null)
 _loadFromCache ($sCacheIdent, $sType, $iLang=null, $iShopId=null, $sParams=null)
 _saveInCache ($sCacheIdent, $sCache, $sType, $iLang=null, $iShopId=null, $sParams=null)
 _loadFromDb ($sType, $sId, $iLang, $iShopId=null, $sParams=null, $blStrictParamsCheck=true)
 _getReservedEntryKeys ()
 _prepareUri ($sUri, $iLang=false)
 _prepareTitle ($sTitle, $blSkipTruncate=false, $iLang=false)
 _saveToDb ($sType, $sObjectId, $sStdUrl, $sSeoUrl, $iLang, $iShopId=null, $blFixed=null, $sParams=null)
 _trimUrl ($sUrl, $iLang=null)
 _getMaxUrlLength ()
 _getPageUri ($oObject, $sType, $sStdUrl, $sSeoUrl, $sParams, $iLang=null, $blFixed=false)
 _getStaticObjectId ($iShopId, $sStdUrl)
 _replaceSpecialChars ($sStringWithSpecialChars)

Protected Attributes

 $_aRootVendorUri = null
- Protected Attributes inherited from oxSeoEncoder
 $_iIdLength = 255
 $_sAddParams = null
 $_iMaxUrlLength = null

Additional Inherited Members

- Static Protected Attributes inherited from oxSeoEncoder
static $_aReservedWords = array('admin')
static $_aReservedEntryKeys = null
static $_sSeparator = null
static $_sPrefix = null
static $_aFixedCache = array()
static $_sCacheKey = null
static $_aCache = array()

Detailed Description

Seo encoder base

Definition at line 7 of file oxseoencodervendor.php.

Member Function Documentation

oxSeoEncoderVendor::_getAltUri (   $sObjectId,
  $iLang 
)
protected

Returns alternative uri used while updating seo

Parameters
string$sObjectIdobject id
int$iLanglanguage id
Returns
string

Reimplemented from oxSeoEncoder.

Definition at line 136 of file oxseoencodervendor.php.

oxSeoEncoderVendor::_getUrlExtension ( )
protected

Returns target "extension" (/)

Returns
string

Reimplemented from oxSeoEncoder.

Definition at line 22 of file oxseoencodervendor.php.

oxSeoEncoderVendor::getVendorPageUrl (   $oVendor,
  $iPage,
  $iLang = null,
  $blFixed = null 
)

Returns vendor SEO url for specified page

Parameters
oxvendor$oVendorvendor object
int$iPagepage tu prepare number
int$iLanglanguage
bool$blFixedfixed url marker (default is null)
Returns
string

Definition at line 80 of file oxseoencodervendor.php.

oxSeoEncoderVendor::getVendorUri (   $oVendor,
  $iLang = null,
  $blRegenerate = false 
)

Returns part of SEO url excluding path

Parameters
oxVendor$oVendorvendor object
int$iLanglanguage
bool$blRegenerateif TRUE forces seo url regeneration
Returns
string

Definition at line 36 of file oxseoencodervendor.php.

oxSeoEncoderVendor::getVendorUrl (   $oVendor,
  $iLang = null 
)

Encodes vendor categoru URLs into SEO format

Parameters
oxvendor$oVendorVendor object
int$iLanglanguage
Returns
null

Definition at line 106 of file oxseoencodervendor.php.

oxSeoEncoderVendor::onDeleteVendor (   $oVendor)

Deletes Vendor seo entry

Parameters
oxvendor$oVendorVendor object

Definition at line 120 of file oxseoencodervendor.php.

Member Data Documentation

oxSeoEncoderVendor::$_aRootVendorUri = null
protected

Definition at line 15 of file oxseoencodervendor.php.


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