OXID eShop CE  4.8.10
 All Classes 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)

Static Public Member Functions

static getInstance ()

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)

Protected Attributes

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

Static Protected Attributes

static $_instance = null
- Static Protected Attributes inherited from oxSeoEncoder
static $_aReservedWords = array( 'admin' )
static $_aReservedEntryKeys = null
static $_sSeparator = null
static $_sPrefix = null
static $_instance = null
static $_aFixedCache = array()
static $_sCacheKey = null
static $_aCache = array()
- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

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 153 of file oxseoencodervendor.php.

oxSeoEncoderVendor::_getUrlExtension ( )
protected

Returns target "extension" (/)

Returns
string

Reimplemented from oxSeoEncoder.

Definition at line 40 of file oxseoencodervendor.php.

static oxSeoEncoderVendor::getInstance ( )
static

Singleton method

Deprecated:
since v5.0 (2012-08-10); Use oxRegistry::get("oxSeoEncoderVendor") instead.
Returns
oxSeoEncoderVendor

Reimplemented from oxSeoEncoder.

Definition at line 30 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 97 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 54 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 122 of file oxseoencodervendor.php.

oxSeoEncoderVendor::onDeleteVendor (   $oVendor)

Deletes Vendor seo entry

Parameters
oxvendor$oVendorVendor object
Returns
null

Definition at line 137 of file oxseoencodervendor.php.

Member Data Documentation

oxSeoEncoderVendor::$_aRootVendorUri = null
protected

Definition at line 21 of file oxseoencodervendor.php.

oxSeoEncoderVendor::$_instance = null
staticprotected

Definition at line 14 of file oxseoencodervendor.php.


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