Public Member Functions | Protected Member Functions | Protected Attributes

oxwArticleDetails Class Reference

Inheritance diagram for oxwArticleDetails:
Collaboration diagram for oxwArticleDetails:

List of all members.

Public Member Functions

 getActZoomPic ()
 ratingIsActive ()
 canRate ()
 canChangeTags ()
 getAttributes ()
 isEditableTags ()
 getLinkType ()
 getVariantListExceptCurrent ()
 loadVariantInformation ()
 getVariantList ()
 getCaptcha ()
 getMediaFiles ()
 getLastProducts ($iCnt=4)
 getManufacturer ()
 getVendor ()
 getCategory ()
 getPictureGallery ()
 getActPicture ()
 morePics ()
 getIcons ()
 showZoomPics ()
 getZoomPics ()
 getReviews ()
 getCrossSelling ()
 getSimilarProducts ()
 getSimilarRecommListIds ()
 getAccessoires ()
 getAlsoBoughtTheseProducts ()
 isPriceAlarm ()
 getSearchTitle ()
 setSearchTitle ($sTitle)
 setCatTreePath ($sActCatPath)
 isPersParam ()
 getRatingValue ()
 isReviewActive ()
 getRatingCount ()
 getPriceAlarmStatus ()
 getBidPrice ()
 getVariantSelections ()
 getPicturesProduct ()
 getProduct ()
 isMdVariantView ()
 getTagSeparator ()
 getDefaultSorting ()

Protected Member Functions

 _getParentProduct ($sParentId)
 _getAddUrlParams ()
 _processProduct ($oProduct)
 _getSubject ($iLang)
 _setSortingParameters ()
 _additionalChecksForArticle ($myUtils, $myConfig)

Protected Attributes

 $_aVariantList = null
 $_aComponentNames = array('oxcmp_cur' => 1, 'oxcmp_shop' => 1, 'oxcmp_basket' => 1, 'oxcmp_user' => 1)
 $_sThisTemplate = 'widget/product/details.tpl'
 $_oParentProd = null
 $_blCanRate = null
 $_blCanEditTags = null
 $_oCaptcha = null
 $_aMediaFiles = null
 $_aLastProducts = null
 $_oVendor = null
 $_oManufacturer = null
 $_oCategory = null
 $_aAttributes = null
 $_aPicGallery = null
 $_aReviews = null
 $_oCrossSelling = null
 $_oSimilarProducts = null
 $_oAccessoires = null
 $_aAlsoBoughtArts = null
 $_sSearchTitle = null
 $_blIsInitialized = false
 $_iLinkType = null
 $_blMdView = null
 $_dRatingValue = null
 $_iRatingCnt = null
 $_sBidPrice = null
 $_blShowSorting = true
 $_aSimilarRecommListIds = null

Detailed Description

Article detailed information widget.

Definition at line 6 of file oxwarticledetails.php.


Member Function Documentation

oxwArticleDetails._additionalChecksForArticle ( myUtils,
myConfig 
) [protected]

Runs additional checks for article.

Parameters:
oxUtils $myUtils General utils
oxConfig $myConfig Main shop configuration

Definition at line 1053 of file oxwarticledetails.php.

oxwArticleDetails._getAddUrlParams (  )  [protected]

In case list type is "search" returns search parameters which will be added to product details link

Returns:
string | null

Definition at line 243 of file oxwarticledetails.php.

oxwArticleDetails._getParentProduct ( sParentId  )  [protected]

Returns current product parent article object if it is available

Parameters:
string $sParentId parent product id
Returns:
oxArticle

Definition at line 224 of file oxwarticledetails.php.

oxwArticleDetails._getSubject ( iLang  )  [protected]

returns object, associated with current view. (the object that is shown in frontend)

Parameters:
int $iLang language id
Returns:
object

Reimplemented from oxUBase.

Definition at line 770 of file oxwarticledetails.php.

oxwArticleDetails._processProduct ( oProduct  )  [protected]

Processes product by setting link type and in case list type is search adds search parameters to details link

Parameters:
object $oProduct product to process

Definition at line 255 of file oxwarticledetails.php.

oxwArticleDetails._setSortingParameters (  )  [protected]

Set item sorting for widget based of retrieved parameters

Definition at line 972 of file oxwarticledetails.php.

oxwArticleDetails.canChangeTags (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 299 of file oxwarticledetails.php.

oxwArticleDetails.canRate (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 278 of file oxwarticledetails.php.

oxwArticleDetails.getAccessoires (  ) 

Template variable getter. Returns accessories of article

Returns:
object

Reimplemented from oxUBase.

Definition at line 716 of file oxwarticledetails.php.

oxwArticleDetails.getActPicture (  ) 

Template variable getter. Returns active picture

Returns:
object

Definition at line 587 of file oxwarticledetails.php.

oxwArticleDetails.getActZoomPic (  ) 

Template variable getter. Returns active zoom picture id

Returns:
array

Definition at line 212 of file oxwarticledetails.php.

oxwArticleDetails.getAlsoBoughtTheseProducts (  ) 

Template variable getter. Returns list of customer also bought these products

Returns:
object

Reimplemented from oxUBase.

Definition at line 733 of file oxwarticledetails.php.

oxwArticleDetails.getAttributes (  ) 

loading full list of attributes

Returns:
array $_aAttributes

Definition at line 314 of file oxwarticledetails.php.

oxwArticleDetails.getBidPrice (  ) 

Template variable getter. Returns bid price

Returns:
string

Definition at line 879 of file oxwarticledetails.php.

oxwArticleDetails.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 478 of file oxwarticledetails.php.

oxwArticleDetails.getCategory (  ) 

Template variable getter. Returns product's root category

Returns:
object

Definition at line 558 of file oxwarticledetails.php.

oxwArticleDetails.getCrossSelling (  ) 

Template variable getter. Returns cross selling

Returns:
object

Reimplemented from oxUBase.

Definition at line 664 of file oxwarticledetails.php.

oxwArticleDetails.getDefaultSorting (  ) 

Returns default category sorting for selected category

Returns:
array

Reimplemented from oxUBase.

Definition at line 1079 of file oxwarticledetails.php.

oxwArticleDetails.getIcons (  ) 

Template variable getter. Returns icons of current article

Returns:
array

Definition at line 611 of file oxwarticledetails.php.

oxwArticleDetails.getLastProducts ( iCnt = 4  ) 

Template variable getter. Returns last seen products

Parameters:
int $iCnt product count
Returns:
array

Definition at line 509 of file oxwarticledetails.php.

oxwArticleDetails.getLinkType (  ) 

Returns current view link type

Returns:
int

Definition at line 376 of file oxwarticledetails.php.

oxwArticleDetails.getManufacturer (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 530 of file oxwarticledetails.php.

oxwArticleDetails.getMediaFiles (  ) 

Template variable getter. Returns media files of current product

Returns:
array

Definition at line 492 of file oxwarticledetails.php.

oxwArticleDetails.getPictureGallery (  ) 

Template variable getter. Returns picture gallery of current article

Returns:
array

Definition at line 572 of file oxwarticledetails.php.

oxwArticleDetails.getPicturesProduct (  ) 

Returns pictures product object

Returns:
oxArticle

Definition at line 916 of file oxwarticledetails.php.

oxwArticleDetails.getPriceAlarmStatus (  ) 

Return price alarm status (if it was send)

Returns:
integer

Definition at line 869 of file oxwarticledetails.php.

oxwArticleDetails.getProduct (  ) 

Get product.

Returns:
oxArticle

Reimplemented from oxUBase.

Definition at line 931 of file oxwarticledetails.php.

oxwArticleDetails.getRatingCount (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 851 of file oxwarticledetails.php.

oxwArticleDetails.getRatingValue (  ) 

Template variable getter. Returns rating value

Returns:
double

Definition at line 822 of file oxwarticledetails.php.

oxwArticleDetails.getReviews (  ) 

Template variable getter. Returns reviews of current article

Returns:
array

Definition at line 647 of file oxwarticledetails.php.

oxwArticleDetails.getSearchTitle (  ) 

Returns search title. It will be set in oxLocator

Returns:
string

Definition at line 780 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarProducts (  ) 

Template variable getter. Returns similar article list

Returns:
object

Reimplemented from oxUBase.

Definition at line 681 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarRecommListIds (  ) 

Return array of id to form recommend list.

Returns:
array

Reimplemented from oxUBase.

Definition at line 698 of file oxwarticledetails.php.

oxwArticleDetails.getTagSeparator (  ) 

Returns tag separator

Returns:
string

Definition at line 1040 of file oxwarticledetails.php.

oxwArticleDetails.getVariantList (  ) 

Returns variant lists of current product

Returns:
array

Definition at line 468 of file oxwarticledetails.php.

oxwArticleDetails.getVariantListExceptCurrent (  ) 

Returns variant lists of current product excludes currently viewed product

Returns:
array

Definition at line 407 of file oxwarticledetails.php.

oxwArticleDetails.getVariantSelections (  ) 

Returns variant selection

Returns:
oxVariantSelectList

Definition at line 898 of file oxwarticledetails.php.

oxwArticleDetails.getVendor (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 544 of file oxwarticledetails.php.

oxwArticleDetails.getZoomPics (  ) 

Template variable getter. Returns zoom pictures

Returns:
array

Definition at line 635 of file oxwarticledetails.php.

oxwArticleDetails.isEditableTags (  ) 

Returns if tags can be changed, if user is logged in and product exists.

Returns:
bool

Definition at line 359 of file oxwarticledetails.php.

oxwArticleDetails.isMdVariantView (  ) 

Should we show MD variant selection? - Not for 1 dimension variants.

Returns:
bool

Definition at line 1022 of file oxwarticledetails.php.

oxwArticleDetails.isPersParam (  ) 

Checks should persistent parameter input field be displayed

Returns:
bool

Definition at line 810 of file oxwarticledetails.php.

oxwArticleDetails.isPriceAlarm (  ) 

Template variable getter. Returns if price alarm is disabled

Returns:
object

Definition at line 750 of file oxwarticledetails.php.

oxwArticleDetails.isReviewActive (  ) 

Template variable getter. Returns if review module is on

Returns:
bool

Definition at line 841 of file oxwarticledetails.php.

oxwArticleDetails.loadVariantInformation (  ) 

loading full list of variants, if we are child and do not have any variants then let's load all parent variants as ours

Returns:
null

Definition at line 428 of file oxwarticledetails.php.

oxwArticleDetails.morePics (  ) 

Template variable getter. Returns true if there more pictures

Returns:
bool

Definition at line 599 of file oxwarticledetails.php.

oxwArticleDetails.ratingIsActive (  ) 

Checks if rating functionality is active

Returns:
bool

Definition at line 268 of file oxwarticledetails.php.

oxwArticleDetails.setCatTreePath ( sActCatPath  ) 

active category path setter

Parameters:
string $sActCatPath category tree path

Definition at line 800 of file oxwarticledetails.php.

oxwArticleDetails.setSearchTitle ( sTitle  ) 

Returns search title setter

Parameters:
string $sTitle search title

Definition at line 790 of file oxwarticledetails.php.

oxwArticleDetails.showZoomPics (  ) 

Template variable getter. Returns if to show zoom pictures

Returns:
bool

Definition at line 623 of file oxwarticledetails.php.


Member Data Documentation

oxwArticleDetails.$_aAlsoBoughtArts = null [protected]

Definition at line 140 of file oxwarticledetails.php.

oxwArticleDetails.$_aAttributes = null [protected]

Definition at line 98 of file oxwarticledetails.php.

oxwArticleDetails.$_aComponentNames = array('oxcmp_cur' => 1, 'oxcmp_shop' => 1, 'oxcmp_basket' => 1, 'oxcmp_user' => 1) [protected]

Reimplemented from oxWidget.

Definition at line 21 of file oxwarticledetails.php.

oxwArticleDetails.$_aLastProducts = null [protected]

Definition at line 70 of file oxwarticledetails.php.

oxwArticleDetails.$_aMediaFiles = null [protected]

Definition at line 63 of file oxwarticledetails.php.

oxwArticleDetails.$_aPicGallery = null [protected]

Definition at line 105 of file oxwarticledetails.php.

oxwArticleDetails.$_aReviews = null [protected]

Definition at line 112 of file oxwarticledetails.php.

oxwArticleDetails.$_aSimilarRecommListIds = null [protected]

Definition at line 204 of file oxwarticledetails.php.

oxwArticleDetails.$_aVariantList = null [protected]

Definition at line 14 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanEditTags = null [protected]

Definition at line 49 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanRate = null [protected]

Definition at line 42 of file oxwarticledetails.php.

oxwArticleDetails.$_blIsInitialized = false [protected]

Definition at line 155 of file oxwarticledetails.php.

oxwArticleDetails.$_blMdView = null [protected]

Definition at line 169 of file oxwarticledetails.php.

oxwArticleDetails.$_blShowSorting = true [protected]

Reimplemented from oxUBase.

Definition at line 197 of file oxwarticledetails.php.

oxwArticleDetails.$_dRatingValue = null [protected]

Definition at line 176 of file oxwarticledetails.php.

oxwArticleDetails.$_iLinkType = null [protected]

Definition at line 162 of file oxwarticledetails.php.

oxwArticleDetails.$_iRatingCnt = null [protected]

Definition at line 183 of file oxwarticledetails.php.

oxwArticleDetails.$_oAccessoires = null [protected]

Definition at line 133 of file oxwarticledetails.php.

oxwArticleDetails.$_oCaptcha = null [protected]

Definition at line 56 of file oxwarticledetails.php.

oxwArticleDetails.$_oCategory = null [protected]

Definition at line 91 of file oxwarticledetails.php.

oxwArticleDetails.$_oCrossSelling = null [protected]

Definition at line 119 of file oxwarticledetails.php.

oxwArticleDetails.$_oManufacturer = null [protected]

Definition at line 84 of file oxwarticledetails.php.

oxwArticleDetails.$_oParentProd = null [protected]

Definition at line 35 of file oxwarticledetails.php.

oxwArticleDetails.$_oSimilarProducts = null [protected]

Definition at line 126 of file oxwarticledetails.php.

oxwArticleDetails.$_oVendor = null [protected]

Definition at line 77 of file oxwarticledetails.php.

oxwArticleDetails.$_sBidPrice = null [protected]

Definition at line 190 of file oxwarticledetails.php.

oxwArticleDetails.$_sSearchTitle = null [protected]

Definition at line 147 of file oxwarticledetails.php.

oxwArticleDetails.$_sThisTemplate = 'widget/product/details.tpl' [protected]

Reimplemented from oxView.

Definition at line 28 of file oxwarticledetails.php.


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