

Public Member Functions | |
| getCategoryUri ($oCat, $iLang=null) | |
| getCategoryPageUrl ($oCategory, $iPage, $iLang=null, $blFixed=false) | |
| getCategoryUrl ($oCategory, $iLang=null) | |
| markRelatedAsExpired ($oCategory) | |
Static Public Member Functions | |
| static | getInstance () |
Protected Member Functions | |
| _categoryUrlLoader ($oCat, $iLang) | |
Protected Attributes | |
| $_aCatCache = array() | |
Static Protected Attributes | |
| static | $_instance = null |
Private Member Functions | |
| _getCategoryCacheId ($oCat, $iLang) | |
| static oxSeoEncoderCategory.getInstance | ( | ) | [static] |
| oxSeoEncoderCategory._categoryUrlLoader | ( | $ | oCat, | |
| $ | iLang | |||
| ) | [protected] |
_categoryUrlLoader loads category from db returns false if cat needs to be encoded (load failed)
| oxCategory | $oCat category object | |
| int | $iLang active language id |
| oxSeoEncoderCategory._getCategoryCacheId | ( | $ | oCat, | |
| $ | iLang | |||
| ) | [private] |
_getCatecgoryCacheId return string for isntance cache id
| oxCategory | $oCat category object | |
| int | $iLang active language |
| oxSeoEncoderCategory.getCategoryUri | ( | $ | oCat, | |
| $ | iLang = null | |||
| ) |
Returns SEO uri for passed category
| oxcategory | $oCat category object |
| oxSeoEncoderCategory.getCategoryPageUrl | ( | $ | oCategory, | |
| $ | iPage, | |||
| $ | iLang = null, |
|||
| $ | blFixed = false | |||
| ) |
Returns category SEO url for specified page
| oxcategory | $oCategory category object | |
| int | $iPage page tu prepare number | |
| bool | $blFixed fixed url marker (default is false) |
| oxSeoEncoderCategory.getCategoryUrl | ( | $ | oCategory, | |
| $ | iLang = null | |||
| ) |
Category URL encoder. If category has external URLs, skip encoding for this category. If SEO id is not set, generates and saves SEO id for category (oxSeoEncoder._getSeoId()). If category has subcategories, it iterates through them.
| oxCategory | $oCategory Category object |
| oxSeoEncoderCategory.markRelatedAsExpired | ( | $ | oCategory | ) |
Marks related to category objects as expired
| oxCategory | $oCategory Category object |
oxSeoEncoderCategory.$_instance = null [static, protected] |
Singleton instance.
Reimplemented from oxSeoEncoder.
oxSeoEncoderCategory.$_aCatCache = array() [protected] |
1.5.5