Public Member Functions | |
render () | |
setItemSorting ($sCnid, $sSortBy, $sSortDir=null) | |
getSorting ($sCnid) | |
generatePageNavigationUrl () | |
hasVisibleSubCats () | |
getSubCatList () | |
getArticleList () | |
getArticleCnt () | |
getRecommList () | |
getTitle () | |
getTemplateLocation () | |
getActiveCategory () | |
getTreeCatPath () | |
getPageNavigation () | |
getTitleSuffix () | |
Protected Member Functions | |
_processListArticles () | |
_loadArticles ($oVendor) | |
_getSeoObjectId () | |
_addPageNrParam ($sUrl, $iPage, $iLang=null) | |
_prepareMetaKeyword ($aCatPath) | |
_prepareMetaDescription ($aCatPath, $iLength=1024, $blDescTag=false) | |
Protected Attributes | |
$_sListType = 'vendor' | |
$_blVisibleSubCats = null | |
$_oSubCatList = null | |
$_iArticleCnt = null | |
$_oRecommList = null | |
$_sTplLocation = null | |
$_sCatTitle = null | |
$_sActCatPath = null | |
$_oPageNavigation = null | |
$_blShowSorting = true | |
$_iViewIndexState = 2 |
vendorlist.render | ( | ) |
Executes parent.render(), loads active vendor, prepares article list sorting rules. Loads list of articles which belong to this vendor Generates page navigation data such as previous/next window URL, number of available pages, generates metatags info (oxview._convertForMetaTags()) and returns name of template to render.
Template variables: articlelist, pageNavigation, subcatlist, meta_keywords, meta_description
Reimplemented from aList.
vendorlist._processListArticles | ( | ) | [protected] |
Iterates through list articles and performs list view specific tasks:
Reimplemented from oxUBase.
vendorlist.setItemSorting | ( | $ | sCnid, | |
$ | sSortBy, | |||
$ | sSortDir = null | |||
) |
Sets vendor item sorting config
string | $sCnid sortable vendor id | |
string | $sSortBy sort field | |
string | $sSortDir sort direction (optional) |
Reimplemented from oxView.
vendorlist.getSorting | ( | $ | sCnid | ) |
Returns vendor sorting config
string | $sCnid sortable item id |
Reimplemented from aList.
vendorlist._loadArticles | ( | $ | oVendor | ) | [protected] |
Loads and returns article list of active vendor.
object | $oVendor vendor object |
Reimplemented from aList.
vendorlist._getSeoObjectId | ( | ) | [protected] |
vendorlist._addPageNrParam | ( | $ | sUrl, | |
$ | iPage, | |||
$ | iLang = null | |||
) | [protected] |
Modifies url by adding page parameters. When seo is on, url is additionally formatted by SEO engine
string | $sUrl current url | |
int | $iPage page number |
Reimplemented from aList.
vendorlist.generatePageNavigationUrl | ( | ) |
vendorlist.hasVisibleSubCats | ( | ) |
vendorlist.getSubCatList | ( | ) |
vendorlist.getArticleList | ( | ) |
vendorlist.getArticleCnt | ( | ) |
Template variable getter. Returns active object's reviews
vendorlist.getRecommList | ( | ) |
Template variable getter. Returns recommlist's reviews
vendorlist.getTitle | ( | ) |
vendorlist.getTemplateLocation | ( | ) |
vendorlist.getActiveCategory | ( | ) |
vendorlist.getTreeCatPath | ( | ) |
Template variable getter. Returns template location
vendorlist.getPageNavigation | ( | ) |
vendorlist.getTitleSuffix | ( | ) |
vendorlist._prepareMetaKeyword | ( | $ | aCatPath | ) | [protected] |
Calls and returns result of parent:: _collectMetaKeyword();
mixed | $aCatPath category path |
Reimplemented from aList.
vendorlist._prepareMetaDescription | ( | $ | aCatPath, | |
$ | iLength = 1024 , |
|||
$ | blDescTag = false | |||
) | [protected] |
Metatags - description and keywords - generator for search engines. Uses string passed by parameters, cleans HTML tags, string dublicates, special chars. Also removes strings defined in $myConfig->aSkipTags (Admin area).
mixed | $aCatPath category path | |
int | $iLength max length of result, -1 for no truncation | |
bool | $blDescTag if true - performs additional dublicate cleaning |
Reimplemented from aList.
vendorlist.$_sListType = 'vendor' [protected] |
Reimplemented from oxView.
vendorlist.$_blVisibleSubCats = null [protected] |
vendorlist.$_oSubCatList = null [protected] |
vendorlist.$_iArticleCnt = null [protected] |
vendorlist.$_oRecommList = null [protected] |
Reimplemented from aList.
vendorlist.$_sTplLocation = null [protected] |
vendorlist.$_sCatTitle = null [protected] |
Reimplemented from aList.
vendorlist.$_sActCatPath = null [protected] |
vendorlist.$_oPageNavigation = null [protected] |
Reimplemented from aList.
vendorlist.$_blShowSorting = true [protected] |
Reimplemented from aList.
vendorlist.$_iViewIndexState = 2 [protected] |