Definition at line 7 of file oxseoencoderarticle.php.
Public Member Functions | |
getArticleUrl ($oArticle, $iLang=null, $iType=0) | |
getSeoCategories ($oArticle, $iLang=null) | |
onDeleteArticle ($oArticle) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
_getArticleUri ($oArticle, $iLang=null) | |
_prepareArticleTitle ($oArticle) | |
_getArticleVendorUri ($oArticle, $iLang=null) | |
_getArticleManufacturerUri ($oArticle, $iLang=null) | |
Static Protected Attributes | |
static | $_instance = null |
static oxSeoEncoderArticle.getInstance | ( | ) | [static] |
Singleton method
Reimplemented from oxSeoEncoder.
Definition at line 19 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 35 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 105 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 127 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 177 of file oxseoencoderarticle.php.
oxSeoEncoderArticle.getArticleUrl | ( | $ | oArticle, | |
$ | iLang = null , |
|||
$ | iType = 0 | |||
) |
Encodes article URLs into SEO format
Definition at line 227 of file oxseoencoderarticle.php.
oxSeoEncoderArticle.getSeoCategories | ( | $ | oArticle, | |
$ | iLang = null | |||
) |
Returns array of suitable categories for given article
oxArticle | $oArticle article to search | |
int | $iLang language |
Definition at line 258 of file oxseoencoderarticle.php.
oxSeoEncoderArticle.onDeleteArticle | ( | $ | oArticle | ) |
deletes article seo entries
oxarticle | $oArticle article to remove |
Definition at line 310 of file oxseoencoderarticle.php.
oxSeoEncoderArticle.$_instance = null [static, protected] |
Singleton instance.
Reimplemented from oxSeoEncoder.
Definition at line 12 of file oxseoencoderarticle.php.