Compare Class Reference

Inheritance diagram for Compare:
Inheritance graph
[legend]
Collaboration diagram for Compare:
Collaboration graph
[legend]

List of all members.

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'

Detailed Description

Comparing Products. Takes a few products and show attribute values to compare them.

Definition at line 7 of file compare.php.


Member Function Documentation

Compare._changeArtListOrder ( aItems,
oList 
) [protected]

Changes order of list elements

Parameters:
array $aItems article array
object $oList article list array
Returns:
array $oNewList

Definition at line 367 of file compare.php.

Compare._removeArticlesFromPage ( aItems,
oList 
) [protected]

Cuts page articles

Parameters:
array $aItems article array
object $oList article list array
Returns:
array $aNewItems

Definition at line 341 of file compare.php.

Compare.getAttributeList (  ) 

Template variable getter. Returns attribute list

Returns:
object

Definition at line 286 of file compare.php.

Compare.getCompareItems (  ) 

Compare item $_aCompItems getter

Returns:
null

Definition at line 232 of file compare.php.

Compare.getCompareItemsCnt (  ) 

Template variable getter. Returns article list count in comparison

Returns:
integer

Reimplemented from oxUBase.

Definition at line 216 of file compare.php.

Compare.getCompArtList (  ) 

Template variable getter. Returns comparison's article list in order per page

Returns:
object

Definition at line 262 of file compare.php.

Compare.getOrderCnt (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 397 of file compare.php.

Compare.getPageNavigation (  ) 

Template variable getter. Returns page navigation

Returns:
object

Definition at line 324 of file compare.php.

Compare.getSimilarRecommLists (  ) 

Template variable getter. Returns recommendation list

Returns:
object

Reimplemented from oxUBase.

Definition at line 303 of file compare.php.

Compare.inPopup (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 205 of file compare.php.

Compare.moveLeft (  ) 

moves current article to the left in compare items array

Returns:
null

Definition at line 127 of file compare.php.

Compare.moveRight (  ) 

moves current article to the right in compare items array

Returns:
null

Definition at line 166 of file compare.php.

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

Returns:
string $this->_sThisTemplate current template file name

Reimplemented from oxUBase.

Definition at line 91 of file compare.php.

Compare.setCompareItems ( aItems  ) 

Compare item $_aCompItems setter

Parameters:
array $aItems compare items i new order
Returns:
null

Definition at line 250 of file compare.php.


Member Data Documentation

Compare.$_aCompItems = null [protected]

Definition at line 37 of file compare.php.

Compare.$_blBargainAction = true [protected]

Reimplemented from oxUBase.

Definition at line 73 of file compare.php.

Compare.$_blTop5Action = true [protected]

Reimplemented from oxUBase.

Definition at line 67 of file compare.php.

Compare.$_iArticlesPerPage = 3 [protected]

Definition at line 25 of file compare.php.

Compare.$_iCntPages = null [protected]

Definition at line 13 of file compare.php.

Compare.$_iCompItemsCnt = null [protected]

Reimplemented from oxUBase.

Definition at line 31 of file compare.php.

Compare.$_iOrderCnt = null [protected]

Definition at line 19 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.$_oPageNavigation = null [protected]

Definition at line 61 of file compare.php.

Compare.$_oRecommList = null [protected]

Definition at line 55 of file compare.php.

Compare.$_sThisTemplate = 'compare.tpl' [protected]

Reimplemented from oxView.

Definition at line 79 of file compare.php.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2