OXID eShop CE
4.8.11
|
Public Member Functions | |
getArticleRecommUri ($oArticle, $iLang) | |
getArticleTagUri ($oArticle, $iLang, $blRegenerate=false) | |
getArticleUri ($oArticle, $iLang, $blRegenerate=false) | |
getArticleMainUri ($oArticle, $iLang) | |
getArticleVendorUri ($oArticle, $iLang, $blRegenerate=false) | |
getArticleManufacturerUri ($oArticle, $iLang, $blRegenerate=false) | |
getArticleMainUrl ($oArticle, $iLang=null) | |
getArticleUrl ($oArticle, $iLang=null, $iType=0) | |
onDeleteArticle ($oArticle) | |
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 () | |
_getProductForLang ($oArticle, $iLang) | |
_getRecomm ($oArticle, $iLang) | |
_getListType () | |
_getTag ($oArticle, $iLang) | |
_createArticleCategoryUri ($oArticle, $oCategory, $iLang) | |
_getCategory ($oArticle, $iLang) | |
_getMainCategory ($oArticle) | |
_prepareArticleTitle ($oArticle) | |
_getVendor ($oArticle, $iLang) | |
_getManufacturer ($oArticle, $iLang) | |
_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) |
Static Protected Attributes | |
static | $_instance = null |
static | $_aTitleCache = array() |
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 |
Additional Inherited Members | |
Protected Attributes inherited from oxSeoEncoder | |
$_iIdLength = 255 | |
$_sAddParams = null | |
$_iMaxUrlLength = null |
Seo encoder for articles
Definition at line 7 of file oxseoencoderarticle.php.
|
protected |
create article uri for given category and save it
oxArticle | $oArticle | article object |
oxCategory | $oCategory | category object |
int | $iLang | language to generate uri for |
Definition at line 191 of file oxseoencoderarticle.php.
|
protected |
Returns alternative uri used while updating seo
string | $sObjectId | object id |
int | $iLang | language id |
Reimplemented from oxSeoEncoder.
Definition at line 645 of file oxseoencoderarticle.php.
|
protected |
Returns active category if available
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 275 of file oxseoencoderarticle.php.
|
protected |
|
protected |
Returns products main category id
oxArticle | $oArticle | product |
Definition at line 294 of file oxseoencoderarticle.php.
|
protected |
Returns active manufacturer if available
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 539 of file oxseoencoderarticle.php.
|
protected |
Checks if current article is in same language as preferred (language id passed by param). In case languages are not the same - reloads article object in different language
oxArticle | $oArticle | article to check language |
int | $iLang | user defined language id |
Definition at line 54 of file oxseoencoderarticle.php.
|
protected |
Returns active recommendation list object if available
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 117 of file oxseoencoderarticle.php.
|
protected |
Returns active tag if available
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 172 of file oxseoencoderarticle.php.
|
protected |
Returns target "extension" (.html)
Reimplemented from oxSeoEncoder.
Definition at line 40 of file oxseoencoderarticle.php.
|
protected |
Returns active vendor if available
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 462 of file oxseoencoderarticle.php.
|
protected |
Returns seo title for current article (if oxTitle field is empty, oxArtnum is used). Additionally - if oxVarSelect is set - title is appended with its value
oxArticle | $oArticle | article object |
Definition at line 376 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleMainUri | ( | $oArticle, | |
$iLang | |||
) |
Returns SEO uri for passed article
oxArticle | $oArticle | article object |
int | $iLang | language id |
Definition at line 333 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleMainUrl | ( | $oArticle, | |
$iLang = null |
|||
) |
return article main url, with path of its default category
oxArticle | $oArticle | product |
int | $iLang | language id |
Definition at line 570 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleManufacturerUri | ( | $oArticle, | |
$iLang, | |||
$blRegenerate = false |
|||
) |
Returns manufacturer seo uri for current article
oxArticle | $oArticle | article object |
int | $iLang | language id |
bool | $blRegenerate | if TRUE forces seo url regeneration |
Definition at line 493 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleRecommUri | ( | $oArticle, | |
$iLang | |||
) |
Returns SEO uri for passed article and active tag
oxArticle | $oArticle | article object |
int | $iLang | language id |
Definition at line 74 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleTagUri | ( | $oArticle, | |
$iLang, | |||
$blRegenerate = false |
|||
) |
Returns SEO uri for passed article and active tag
oxArticle | $oArticle | article object |
int | $iLang | language id |
bool | $blRegenerate | if TRUE forces seo url regeneration |
Definition at line 146 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleUri | ( | $oArticle, | |
$iLang, | |||
$blRegenerate = false |
|||
) |
Returns SEO uri for passed article
oxArticle | $oArticle | article object |
int | $iLang | language id |
bool | $blRegenerate | if TRUE forces seo url regeneration |
Definition at line 233 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleUrl | ( | $oArticle, | |
$iLang = null , |
|||
$iType = 0 |
|||
) |
Encodes article URLs into SEO format
Definition at line 588 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::getArticleVendorUri | ( | $oArticle, | |
$iLang, | |||
$blRegenerate = false |
|||
) |
Returns vendor seo uri for current article
oxArticle | $oArticle | article object |
int | $iLang | language id |
bool | $blRegenerate | if TRUE forces seo url regeneration |
Definition at line 415 of file oxseoencoderarticle.php.
|
static |
Singleton method
Reimplemented from oxSeoEncoder.
Definition at line 30 of file oxseoencoderarticle.php.
oxSeoEncoderArticle::onDeleteArticle | ( | $oArticle | ) |
deletes article seo entries
oxArticle | $oArticle | article to remove |
Definition at line 629 of file oxseoencoderarticle.php.
|
staticprotected |
Definition at line 21 of file oxseoencoderarticle.php.
|
staticprotected |
Definition at line 14 of file oxseoencoderarticle.php.