Definition at line 7 of file compare.php.
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.
Definition at line 79 of file compare.php.
Compare.moveLeft | ( | ) |
moves current article to the left in compare items array
Definition at line 115 of file compare.php.
Compare.moveRight | ( | ) |
moves current article to the right in compare items array
Definition at line 154 of file compare.php.
Compare.inPopup | ( | ) |
changes default template for compare in popup
Definition at line 193 of file compare.php.
Compare.getCompareItemsCnt | ( | ) |
Template variable getter. Returns article list count in comparison
Reimplemented from oxView.
Definition at line 204 of file compare.php.
Compare.getCompareItems | ( | ) |
Compare.setCompareItems | ( | $ | aItems | ) |
Compare item $_aCompItems setter
$aItems | array compare items i new order |
Definition at line 238 of file compare.php.
Compare.getCompArtList | ( | ) |
Template variable getter. Returns comparison's article list in order per page
Definition at line 250 of file compare.php.
Compare.getAttributeList | ( | ) |
Template variable getter. Returns attribute list
Definition at line 274 of file compare.php.
Compare.getSimilarRecommLists | ( | ) |
Template variable getter. Returns recommendation list
Reimplemented from oxView.
Definition at line 291 of file compare.php.
Compare.getPageNavigation | ( | ) |
Template variable getter. Returns page navigation
Definition at line 308 of file compare.php.
Compare._removeArticlesFromPage | ( | $ | aItems, | |
$ | oList | |||
) | [protected] |
Cuts page articles
array | $aItems article array | |
object | $oList article list array |
Definition at line 325 of file compare.php.
Compare._changeArtListOrder | ( | $ | aItems, | |
$ | oList | |||
) | [protected] |
Changes order of list elements
array | $aItems article array | |
object | $oList article list array |
Definition at line 351 of file compare.php.
Compare.getOrderCnt | ( | ) |
changes default template for compare in popup
Definition at line 383 of file compare.php.
Compare.$_iCntPages = null [protected] |
Definition at line 13 of file compare.php.
Compare.$_iOrderCnt = null [protected] |
Definition at line 19 of file compare.php.
Compare.$_iArticlesPerPage = 3 [protected] |
Definition at line 25 of file compare.php.
Compare.$_iCompItemsCnt = null [protected] |
Compare.$_aCompItems = null [protected] |
Definition at line 37 of file compare.php.
Compare.$_oArtList = null [protected] |
Definition at line 43 of file compare.php.
Compare.$_oAttributeList = null [protected] |
Definition at line 49 of file compare.php.
Compare.$_oRecommList = null [protected] |
Definition at line 55 of file compare.php.
Compare.$_oPageNavigation = null [protected] |
Definition at line 61 of file compare.php.
Compare.$_sThisTemplate = 'compare.tpl' [protected] |