Public Member Functions | |
render () | |
moveLeft () | |
moveRight () | |
inPopup () | |
getCompareItemsCnt () | |
getCompareItems () | |
setCompareItems ($aItems) | |
getCompArtList () | |
getAttributeList () | |
getSimilarRecommLists () | |
getPageNavigation () | |
getOrderCnt () | |
Protected Member Functions | |
_removeArticlesFromPage ($aItems, $oList) | |
_changeArtListOrder ($aItems, $oList) | |
Protected Attributes | |
$_iCntPages = null | |
$_iOrderCnt = null | |
$_iArticlesPerPage = 3 | |
$_iCompItemsCnt = null | |
$_aCompItems = null | |
$_oArtList = null | |
$_oAttributeList = null | |
$_oRecommList = null | |
$_oPageNavigation = null | |
$_sThisTemplate = 'compare.tpl' |
Compare.render | ( | ) |
Executes parent.render(). If filtering module is available loads comparable product list. Returns name of template to render compare._sThisTemplate
Template variables: articlelist, allartattr, pageNavigation, pgNr
Reimplemented from oxUBase.
Compare.moveLeft | ( | ) |
moves current article to the left in compare items array
Compare.moveRight | ( | ) |
moves current article to the right in compare items array
Compare.inPopup | ( | ) |
changes default template for compare in popup
Compare.getCompareItemsCnt | ( | ) |
Template variable getter. Returns article list count in comparison
Reimplemented from oxView.
Compare.getCompareItems | ( | ) |
Compare.setCompareItems | ( | $ | aItems | ) |
Compare.getCompArtList | ( | ) |
Compare.getAttributeList | ( | ) |
Template variable getter. Returns attribute list
Compare.getSimilarRecommLists | ( | ) |
Compare.getPageNavigation | ( | ) |
Template variable getter. Returns page navigation
Compare._removeArticlesFromPage | ( | $ | aItems, | |
$ | oList | |||
) | [protected] |
Cuts page articles
array | $aItems article array | |
object | $oList article list array |
Compare._changeArtListOrder | ( | $ | aItems, | |
$ | oList | |||
) | [protected] |
Changes order of list elements
array | $aItems article array | |
object | $oList article list array |
Compare.getOrderCnt | ( | ) |
changes default template for compare in popup
Compare.$_iCntPages = null [protected] |
Compare.$_iOrderCnt = null [protected] |
Compare.$_iArticlesPerPage = 3 [protected] |
Compare.$_iCompItemsCnt = null [protected] |
Reimplemented from oxView.
Compare.$_aCompItems = null [protected] |
Compare.$_oArtList = null [protected] |
Compare.$_oAttributeList = null [protected] |
Compare.$_oRecommList = null [protected] |
Compare.$_oPageNavigation = null [protected] |
Compare.$_sThisTemplate = 'compare.tpl' [protected] |
Reimplemented from oxView.