Public Member Functions | Protected Member Functions | Protected Attributes

Compare Class Reference

Inheritance diagram for Compare:
Collaboration diagram for Compare:

List of all members.

Public Member Functions

 moveLeft ()
 moveRight ()
 inPopup ()
 getCompareItemsCnt ()
 getCompareItems ()
 setCompareItems ($aItems)
 setNoPaging ()
 getCompArtList ()
 getAttributeList ()
 getSimilarRecommLists ()
 getPageNavigation ()
 getOrderCnt ()
 getBreadCrumb ()

Protected Member Functions

 _setArticlesPerPage ($iNumber)
 _removeArticlesFromPage ($aItems, $oList)
 _changeArtListOrder ($aItems, $oList)

Protected Attributes

 $_iCntPages = 1
 $_iOrderCnt = null
 $_iArticlesPerPage = 3
 $_iCompItemsCnt = null
 $_aCompItems = null
 $_oArtList = null
 $_oAttributeList = null
 $_oRecommList = null
 $_oPageNavigation = null
 $_blTop5Action = false
 $_blBargainAction = true
 $_blShowTagCloud = false
 $_sThisTemplate = 'page/compare/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 362 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 336 of file compare.php.

Compare._setArticlesPerPage ( iNumber  )  [protected]

$_iArticlesPerPage setter

Parameters:
int $iNumber article count in compare page
Returns:
null

Definition at line 233 of file compare.php.

Compare.getAttributeList (  ) 

Template variable getter. Returns attribute list

Returns:
object

Definition at line 281 of file compare.php.

Compare.getBreadCrumb (  ) 

Returns Bread Crumb - you are here page1/page2/page3...

Returns:
array

Reimplemented from oxUBase.

Definition at line 408 of file compare.php.

Compare.getCompareItems (  ) 

Compare item $_aCompItems getter

Returns:
null

Definition at line 198 of file compare.php.

Compare.getCompareItemsCnt (  ) 

Template variable getter. Returns article list count in comparison

Returns:
integer

Reimplemented from oxUBase.

Definition at line 182 of file compare.php.

Compare.getCompArtList (  ) 

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

Returns:
object

Definition at line 255 of file compare.php.

Compare.getOrderCnt (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 392 of file compare.php.

Compare.getPageNavigation (  ) 

Template variable getter. Returns page navigation

Returns:
object

Reimplemented from oxUBase.

Definition at line 319 of file compare.php.

Compare.getSimilarRecommLists (  ) 

Template variable getter. Returns recommendation list

Returns:
object

Reimplemented from oxUBase.

Definition at line 298 of file compare.php.

Compare.inPopup (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 171 of file compare.php.

Compare.moveLeft (  ) 

moves current article to the left in compare items array

Returns:
null

Definition at line 93 of file compare.php.

Compare.moveRight (  ) 

moves current article to the right in compare items array

Returns:
null

Definition at line 132 of file compare.php.

Compare.setCompareItems ( aItems  ) 

Compare item $_aCompItems setter

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

Definition at line 220 of file compare.php.

Compare.setNoPaging (  ) 

turn off paging

Returns:
null

Definition at line 243 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.$_blShowTagCloud = false [protected]

Reimplemented from oxUBase.

Definition at line 79 of file compare.php.

Compare.$_blTop5Action = false [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 = 1 [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 = 'page/compare/compare.tpl' [protected]

Reimplemented from oxView.

Definition at line 86 of file compare.php.


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