Definition at line 9 of file vendorlist.php.
Public Member Functions | |
render () | |
setItemSorting ($sCnid, $sSortBy, $sSortDir=null) | |
getSorting ($sCnid) | |
generatePageNavigationUrl () | |
hasVisibleSubCats () | |
getSubCatList () | |
getArticleList () | |
getTitle () | |
getTemplateLocation () | |
getActiveCategory () | |
getCatTreePath () | |
getTitleSuffix () | |
Protected Member Functions | |
_processListArticles () | |
_loadArticles ($oVendor) | |
_getSeoObjectId () | |
_addPageNrParam ($sUrl, $iPage, $iLang=null) | |
_prepareMetaKeyword ($sKeywords) | |
_prepareMetaDescription ($sMeta, $iLength=1024, $blDescTag=false) | |
Protected Attributes | |
$_sListType = 'vendor' | |
$_blVisibleSubCats = null | |
$_oSubCatList = null | |
$_oRecommList = null | |
$_sTplLocation = null | |
$_sCatTitle = null | |
$_oPageNavigation = null | |
$_blShowSorting = true | |
$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXFOLLOW |
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 (oxubase._convertForMetaTags()) and returns name of template to render.
Template variables: articlelist, pageNavigation, subcatlist, meta_keywords, meta_description
Reimplemented from aList.
Definition at line 82 of file vendorlist.php.
VendorList._processListArticles | ( | ) | [protected] |
Iterates through list articles and performs list view specific tasks:
Reimplemented from oxUBase.
Definition at line 128 of file vendorlist.php.
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 oxUBase.
Definition at line 147 of file vendorlist.php.
VendorList.getSorting | ( | $ | sCnid | ) |
Returns vendor sorting config
string | $sCnid sortable item id |
Reimplemented from aList.
Definition at line 159 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 171 of file vendorlist.php.
VendorList._getSeoObjectId | ( | ) | [protected] |
Returns active product id to load its seo meta info
Reimplemented from aList.
Definition at line 194 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 211 of file vendorlist.php.
VendorList.generatePageNavigationUrl | ( | ) |
Returns current view Url
Reimplemented from aList.
Definition at line 229 of file vendorlist.php.
VendorList.hasVisibleSubCats | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 243 of file vendorlist.php.
VendorList.getSubCatList | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 264 of file vendorlist.php.
VendorList.getArticleList | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 280 of file vendorlist.php.
VendorList.getTitle | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 301 of file vendorlist.php.
VendorList.getTemplateLocation | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 319 of file vendorlist.php.
VendorList.getActiveCategory | ( | ) |
Template variable getter. Returns active vendor
Reimplemented from aList.
Definition at line 335 of file vendorlist.php.
VendorList.getCatTreePath | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 353 of file vendorlist.php.
VendorList.getTitleSuffix | ( | ) |
Returns title suffix used in template
Reimplemented from aList.
Definition at line 369 of file vendorlist.php.
VendorList._prepareMetaKeyword | ( | $ | sKeywords | ) | [protected] |
Returns current view keywords seperated by comma (calls parent._collectMetaKeyword())
string | $sKeywords data to use as keywords |
Reimplemented from aList.
Definition at line 384 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 dublicate cleaning |
Reimplemented from aList.
Definition at line 399 of file vendorlist.php.
VendorList.$_sListType = 'vendor' [protected] |
VendorList.$_blVisibleSubCats = null [protected] |
Definition at line 21 of file vendorlist.php.
VendorList.$_oSubCatList = null [protected] |
Definition at line 27 of file vendorlist.php.
VendorList.$_oRecommList = null [protected] |
VendorList.$_sTplLocation = null [protected] |
Definition at line 40 of file vendorlist.php.
VendorList.$_sCatTitle = null [protected] |
VendorList.$_oPageNavigation = null [protected] |
VendorList.$_blShowSorting = true [protected] |
VendorList.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXFOLLOW [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.