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

Public Member Functions

 getTagUri ($sTag, $iLang=null, $sOxid=null)
 getStdTagUri ($sTag, $blIncludeIndex=true)
 getTagUrl ($sTag, $iLang=null)
 getTagPageUrl ($sTag, $iPage, $iLang=null, $blFixed=false)
- 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

 _getDynamicTagUri ($sTag, $sStdUrl, $sSeoUrl, $iLang, $sOxid=null)
 _prepareTag ($sTag)
- 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)
 _getUrlExtension ()
 _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)
 _getAltUri ($sObjectId, $iLang)
 _replaceSpecialChars ($sStringWithSpecialChars)

Protected Attributes

 $_oTagPrepareUtil = 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

Deprecated:
v5.3 (2016-05-04); Tags will be moved to own module.

Definition at line 8 of file oxseoencodertag.php.

Member Function Documentation

oxSeoEncoderTag::_getDynamicTagUri (   $sTag,
  $sStdUrl,
  $sSeoUrl,
  $iLang,
  $sOxid = null 
)
protected

Returns dynamic object SEO URI

Parameters
string$sTagtag
string$sStdUrlstandart url
string$sSeoUrlseo uri
int$iLangactive language
string$sOxidobject id [optional]
Returns
string

Definition at line 43 of file oxseoencodertag.php.

oxSeoEncoderTag::_prepareTag (   $sTag)
protected

Prepares tag for search in db

Parameters
string$sTagtag to prepare
Returns
string

Definition at line 77 of file oxseoencodertag.php.

oxSeoEncoderTag::getStdTagUri (   $sTag,
  $blIncludeIndex = true 
)

Returns standard tag url

Parameters
string$sTagtag
bool$blIncludeIndexif you need only parameters set this param to false (optional)
Returns
string

Definition at line 94 of file oxseoencodertag.php.

oxSeoEncoderTag::getTagPageUrl (   $sTag,
  $iPage,
  $iLang = null,
  $blFixed = false 
)

Returns tag SEO url for specified page

Parameters
string$sTagmanufacturer object
int$iPagepage tu prepare number
int$iLanglanguage
bool$blFixedfixed url marker (default is false)
Returns
string

Definition at line 132 of file oxseoencodertag.php.

oxSeoEncoderTag::getTagUri (   $sTag,
  $iLang = null,
  $sOxid = null 
)

Returns SEO uri for tag.

Parameters
string$sTagtag
int$iLanglanguage
string$sOxidobject id [optional]
Returns
string

Definition at line 27 of file oxseoencodertag.php.

oxSeoEncoderTag::getTagUrl (   $sTag,
  $iLang = null 
)

Returns full url for passed tag

Parameters
string$sTagtag
int$iLanglanguage
Returns
string

Definition at line 113 of file oxseoencodertag.php.

Member Data Documentation

oxSeoEncoderTag::$_oTagPrepareUtil = null
protected

Definition at line 16 of file oxseoencodertag.php.


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