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

Public Member Functions

 getContentUri ($oCont, $iLang=null, $blRegenerate=false)
 getContentUrl ($oCont, $iLang=null)
 onDeleteContent ($sId)
- 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)

Additional Inherited Members

- Protected Attributes inherited from oxSeoEncoder
 $_iIdLength = 255
 $_sAddParams = null
 $_iMaxUrlLength = null
- 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 oxseoencodercontent.php.

Member Function Documentation

oxSeoEncoderContent::_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 105 of file oxseoencodercontent.php.

oxSeoEncoderContent::_getUrlExtension ( )
protected

Returns target "extension" (/)

Returns
string

Reimplemented from oxSeoEncoder.

Definition at line 15 of file oxseoencodercontent.php.

oxSeoEncoderContent::getContentUri (   $oCont,
  $iLang = null,
  $blRegenerate = false 
)

Returns SEO uri for content object. Includes parent category path info if content is assigned to it

Parameters
oxcontent$oContcontent category object
int$iLanglanguage
bool$blRegenerateif TRUE forces seo url regeneration
Returns
string

Definition at line 30 of file oxseoencodercontent.php.

oxSeoEncoderContent::getContentUrl (   $oCont,
  $iLang = null 
)

encodeContentUrl encodes content link

Parameters
oxContent$oContcategory object
int$iLanglanguage
Returns
string|bool

Definition at line 75 of file oxseoencodercontent.php.

oxSeoEncoderContent::onDeleteContent (   $sId)

deletes content seo entries

Parameters
string$sIdcontent ids

Definition at line 89 of file oxseoencodercontent.php.


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