Public Member Functions | |
render () | |
generatePageNavigationUrl () | |
hasVisibleSubCats () | |
getSubCatList () | |
getArticleList () | |
getTitle () | |
getTreePath () | |
getActiveCategory () | |
getCatTreePath () | |
getTitleSuffix () | |
getAddUrlParams () | |
getBreadCrumb () | |
setVendorTree ($oVendorTree) | |
getAttributes () | |
Protected Member Functions | |
_getProductLinkType () | |
_loadArticles ($oVendor) | |
_getSeoObjectId () | |
_addPageNrParam ($sUrl, $iPage, $iLang=null) | |
_getVendorId () | |
_prepareMetaKeyword ($sKeywords, $blRemoveDuplicatedWords=true) | |
_prepareMetaDescription ($sMeta, $iLength=1024, $blDescTag=false) | |
_getSubject ($iLang) | |
Protected Attributes | |
$_sListType = 'vendor' | |
$_blVisibleSubCats = null | |
$_oSubCatList = null | |
$_sTplLocation = null | |
$_sCatTitle = null | |
$_oPageNavigation = null | |
$_blShowSorting = true | |
$_iViewIndexState = VIEW_INDEXSTATE_INDEX | |
$_oVendorTree = null |
List of articles for a selected vendor. Collects list of articles, according to it generates links for list gallery, meta tags (for search engines). Result - "vendorlist.tpl" template. OXID eShop -> (Any selected shop product category).
Definition at line 9 of file vendorlist.php.
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 | |
int | $iLang active language id |
Reimplemented from aList.
Definition at line 168 of file vendorlist.php.
VendorList._getProductLinkType | ( | ) | [protected] |
Returns product link type (OXARTICLE_LINKTYPE_VENDOR)
Reimplemented from aList.
Definition at line 113 of file vendorlist.php.
VendorList._getSeoObjectId | ( | ) | [protected] |
Returns active product id to load its seo meta info
Reimplemented from aList.
Definition at line 151 of file vendorlist.php.
VendorList._getSubject | ( | $ | iLang | ) | [protected] |
returns object, associated with current view. (the object that is shown in frontend)
int | $iLang language id |
Reimplemented from aList.
Definition at line 379 of file vendorlist.php.
VendorList._getVendorId | ( | ) | [protected] |
Returns request parameter of vendor id.
Definition at line 289 of file vendorlist.php.
VendorList._loadArticles | ( | $ | oVendor | ) | [protected] |
Loads and returns article list of active vendor.
object | $oVendor vendor object |
Reimplemented from aList.
Definition at line 125 of file vendorlist.php.
VendorList._prepareMetaDescription | ( | $ | sMeta, | |
$ | iLength = 1024 , |
|||
$ | blDescTag = false | |||
) | [protected] |
Returns current view meta description data (calls parent._collectMetaDescription())
string | $sMeta category path | |
int | $iLength max length of result, -1 for no truncation | |
bool | $blDescTag if true - performs additional duplicate cleaning |
Reimplemented from aList.
Definition at line 366 of file vendorlist.php.
VendorList._prepareMetaKeyword | ( | $ | sKeywords, | |
$ | blRemoveDuplicatedWords = true | |||
) | [protected] |
Returns current view keywords separated by comma (calls parent._collectMetaKeyword())
string | $sKeywords data to use as keywords | |
bool | $blRemoveDuplicatedWords remove duplicated words |
Reimplemented from aList.
Definition at line 351 of file vendorlist.php.
VendorList.generatePageNavigationUrl | ( | ) |
Returns current view Url
Reimplemented from aList.
Definition at line 187 of file vendorlist.php.
VendorList.getActiveCategory | ( | ) |
Template variable getter. Returns active vendor
Reimplemented from aList.
Definition at line 299 of file vendorlist.php.
VendorList.getAddUrlParams | ( | ) |
Returns additional URL parameters which must be added to list products dynamic urls
Reimplemented from aList.
Definition at line 389 of file vendorlist.php.
VendorList.getArticleList | ( | ) |
Get vendor article list
Reimplemented from aList.
Definition at line 240 of file vendorlist.php.
VendorList.getAttributes | ( | ) |
Template variable getter. Returns array of attribute values we do have here in this category
Reimplemented from aList.
Definition at line 462 of file vendorlist.php.
VendorList.getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
Reimplemented from aList.
Definition at line 405 of file vendorlist.php.
VendorList.getCatTreePath | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 318 of file vendorlist.php.
VendorList.getSubCatList | ( | ) |
Returns vendor subcategories
Reimplemented from aList.
Definition at line 223 of file vendorlist.php.
VendorList.getTitle | ( | ) |
Return vendor title
Reimplemented from aList.
Definition at line 260 of file vendorlist.php.
VendorList.getTitleSuffix | ( | ) |
Returns title suffix used in template
Reimplemented from aList.
Definition at line 335 of file vendorlist.php.
VendorList.getTreePath | ( | ) |
Template variable getter. Returns category path array
Reimplemented from aList.
Definition at line 277 of file vendorlist.php.
VendorList.hasVisibleSubCats | ( | ) |
Returns if vendor has visible sub-cats and load them.
Reimplemented from aList.
Definition at line 201 of file vendorlist.php.
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 meta tags info (oxUBase._convertForMetaTags()) and returns name of template to render.
Reimplemented from aList.
Definition at line 85 of file vendorlist.php.
VendorList.setVendorTree | ( | $ | oVendorTree | ) |
Vendor tree setter
oxVendorList | $oVendorTree vendor tree |
Definition at line 451 of file vendorlist.php.
VendorList.$_blShowSorting = true [protected] |
Reimplemented from aList.
Definition at line 59 of file vendorlist.php.
VendorList.$_blVisibleSubCats = null [protected] |
Definition at line 24 of file vendorlist.php.
VendorList.$_iViewIndexState = VIEW_INDEXSTATE_INDEX [protected] |
Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow
Reimplemented from oxUBase.
Definition at line 66 of file vendorlist.php.
VendorList.$_oPageNavigation = null [protected] |
Reimplemented from aList.
Definition at line 52 of file vendorlist.php.
VendorList.$_oSubCatList = null [protected] |
Definition at line 31 of file vendorlist.php.
VendorList.$_oVendorTree = null [protected] |
Definition at line 73 of file vendorlist.php.
VendorList.$_sCatTitle = null [protected] |
Reimplemented from aList.
Definition at line 45 of file vendorlist.php.
VendorList.$_sListType = 'vendor' [protected] |
Reimplemented from oxUBase.
Definition at line 17 of file vendorlist.php.
VendorList.$_sTplLocation = null [protected] |
Definition at line 38 of file vendorlist.php.