

Definition at line 7 of file oxseoencoderarticle.php.
Public Member Functions | |
| getArticleMainUrl ($oArticle, $iLang=null) | |
| getArticleUrl ($oArticle, $iLang=null, $iType=0) | |
| onDeleteArticle ($oArticle) | |
Static Public Member Functions | |
| static | getInstance () |
Protected Member Functions | |
| _getUrlExtension () | |
| _getProductForLang ($oArticle, $iLang) | |
| _getArticleTagUri ($oArticle, $iLang=null) | |
| _createArticleCategoryUri ($oArticle, $oCategory, $iLang=null) | |
| _getArticleUri ($oArticle, $iLang=null) | |
| _getArticleMainUri ($oArticle, $iLang=null) | |
| _prepareArticleTitle ($oArticle) | |
| _getArticleVendorUri ($oArticle, $iLang=null) | |
| _getArticleManufacturerUri ($oArticle, $iLang=null) | |
Static Protected Attributes | |
| static | $_instance = null |
| static | $_aTitleCache = array() |
| static oxSeoEncoderArticle.getInstance | ( | ) | [static] |
Singleton method
Reimplemented from oxSeoEncoder.
Definition at line 28 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getUrlExtension | ( | ) | [protected] |
Returns target "extension" (.html)
Reimplemented from oxSeoEncoder.
Definition at line 47 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getProductForLang | ( | $ | oArticle, | |
| $ | iLang | |||
| ) | [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 61 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getArticleTagUri | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) | [protected] |
Returns SEO uri for passed article and active tag
| object | $oArticle article object | |
| object | $iLang language id [optional] |
Definition at line 80 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._createArticleCategoryUri | ( | $ | oArticle, | |
| $ | oCategory, | |||
| $ | iLang = null | |||
| ) | [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 114 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getArticleUri | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) | [protected] |
Returns SEO uri for passed article
| oxarticle | $oArticle article object | |
| int | $iLang language |
Definition at line 148 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getArticleMainUri | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) | [protected] |
Returns SEO uri for passed article
| oxarticle | $oArticle article object | |
| int | $iLang language |
Definition at line 197 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._prepareArticleTitle | ( | $ | oArticle | ) | [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 243 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getArticleVendorUri | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) | [protected] |
Returns vendor seo uri for current article
| oxarticle | $oArticle article object | |
| int | $iLang language id (optional) |
Definition at line 283 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle._getArticleManufacturerUri | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) | [protected] |
Returns manufacturer seo uri for current article
| oxarticle | $oArticle article object | |
| int | $iLang language id (optional) |
Definition at line 329 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle.getArticleMainUrl | ( | $ | oArticle, | |
| $ | iLang = null | |||
| ) |
return article main url, with path of its default category
| <type> | $oArticle | |
| <type> | $iLang |
Definition at line 374 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle.getArticleUrl | ( | $ | oArticle, | |
| $ | iLang = null, |
|||
| $ | iType = 0 | |||
| ) |
Encodes article URLs into SEO format
Definition at line 391 of file oxseoencoderarticle.php.
| oxSeoEncoderArticle.onDeleteArticle | ( | $ | oArticle | ) |
deletes article seo entries
| oxarticle | $oArticle article to remove |
Definition at line 424 of file oxseoencoderarticle.php.
oxSeoEncoderArticle.$_instance = null [static, protected] |
oxSeoEncoderArticle.$_aTitleCache = array() [static, protected] |
Definition at line 21 of file oxseoencoderarticle.php.
1.5.5