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 | |
$_blTop5Action = true | |
$_blBargainAction = true | |
$_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 91 of file compare.php.
Compare.moveLeft | ( | ) |
moves current article to the left in compare items array
Definition at line 127 of file compare.php.
Compare.moveRight | ( | ) |
moves current article to the right in compare items array
Definition at line 166 of file compare.php.
Compare.inPopup | ( | ) |
changes default template for compare in popup
Definition at line 205 of file compare.php.
Compare.getCompareItemsCnt | ( | ) |
Template variable getter. Returns article list count in comparison
Reimplemented from oxUBase.
Definition at line 216 of file compare.php.
Compare.getCompareItems | ( | ) |
Compare.setCompareItems | ( | $ | aItems | ) |
Compare item $_aCompItems setter
array | $aItems compare items i new order |
Definition at line 250 of file compare.php.
Compare.getCompArtList | ( | ) |
Template variable getter. Returns comparison's article list in order per page
Definition at line 262 of file compare.php.
Compare.getAttributeList | ( | ) |
Template variable getter. Returns attribute list
Definition at line 286 of file compare.php.
Compare.getSimilarRecommLists | ( | ) |
Template variable getter. Returns recommendation list
Reimplemented from oxUBase.
Definition at line 303 of file compare.php.
Compare.getPageNavigation | ( | ) |
Template variable getter. Returns page navigation
Definition at line 320 of file compare.php.
Compare._removeArticlesFromPage | ( | $ | aItems, | |
$ | oList | |||
) | [protected] |
Cuts page articles
array | $aItems article array | |
object | $oList article list array |
Definition at line 337 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 363 of file compare.php.
Compare.getOrderCnt | ( | ) |
changes default template for compare in popup
Definition at line 395 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.$_blTop5Action = true [protected] |
Compare.$_blBargainAction = true [protected] |
Compare.$_sThisTemplate = 'compare.tpl' [protected] |