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 ()
 getTagCloudManager ()
 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

Definition at line 3 of file oxwarticledetails.php.


Member Function Documentation

oxwArticleDetails._additionalChecksForArticle ( myUtils,
myConfig 
) [protected]

Runs additional checks for article.

Parameters:
$myUtils 
$myConfig 
Returns:
null

Definition at line 993 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 216 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 198 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 715 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
Returns:
null

Definition at line 230 of file oxwarticledetails.php.

oxwArticleDetails._setSortingParameters (  )  [protected]

Set item sorting for widget based of retrieved parameters

Definition at line 912 of file oxwarticledetails.php.

oxwArticleDetails.canChangeTags (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 274 of file oxwarticledetails.php.

oxwArticleDetails.canRate (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 253 of file oxwarticledetails.php.

oxwArticleDetails.getAccessoires (  ) 

Template variable getter. Returns accessories of article

Returns:
object

Reimplemented from oxUBase.

Definition at line 665 of file oxwarticledetails.php.

oxwArticleDetails.getActPicture (  ) 

Template variable getter. Returns active picture

Returns:
object

Definition at line 545 of file oxwarticledetails.php.

oxwArticleDetails.getActZoomPic (  ) 

Template variable getter. Returns active zoom picture id

Returns:
array

Definition at line 186 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 681 of file oxwarticledetails.php.

oxwArticleDetails.getAttributes (  ) 

loading full list of attributes

Returns:
array $_aAttributes

Definition at line 288 of file oxwarticledetails.php.

oxwArticleDetails.getBidPrice (  ) 

Template variable getter. Returns bid price

Returns:
string

Definition at line 824 of file oxwarticledetails.php.

oxwArticleDetails.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 444 of file oxwarticledetails.php.

oxwArticleDetails.getCategory (  ) 

Template variable getter. Returns product's root category

Returns:
object

Definition at line 518 of file oxwarticledetails.php.

oxwArticleDetails.getCrossSelling (  ) 

Template variable getter. Returns cross selling

Returns:
object

Reimplemented from oxUBase.

Definition at line 616 of file oxwarticledetails.php.

oxwArticleDetails.getDefaultSorting (  ) 

Returns default category sorting for selected category

Returns:
array

Reimplemented from oxUBase.

Definition at line 1019 of file oxwarticledetails.php.

oxwArticleDetails.getIcons (  ) 

Template variable getter. Returns icons of current article

Returns:
array

Definition at line 567 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 473 of file oxwarticledetails.php.

oxwArticleDetails.getLinkType (  ) 

Returns current view link type

Returns:
int

Definition at line 343 of file oxwarticledetails.php.

oxwArticleDetails.getManufacturer (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 492 of file oxwarticledetails.php.

oxwArticleDetails.getMediaFiles (  ) 

Template variable getter. Returns media files of current product

Returns:
array

Definition at line 457 of file oxwarticledetails.php.

oxwArticleDetails.getPictureGallery (  ) 

Template variable getter. Returns picture gallery of current article

Returns:
array

Definition at line 531 of file oxwarticledetails.php.

oxwArticleDetails.getPicturesProduct (  ) 

Returns pictures product object

Returns:
oxArticle

Definition at line 858 of file oxwarticledetails.php.

oxwArticleDetails.getPriceAlarmStatus (  ) 

Return price alarm status (if it was send)

Returns:
integer

Definition at line 814 of file oxwarticledetails.php.

oxwArticleDetails.getProduct (  ) 

Get product.

Returns:
oxArticle

Reimplemented from oxUBase.

Definition at line 872 of file oxwarticledetails.php.

oxwArticleDetails.getRatingCount (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 798 of file oxwarticledetails.php.

oxwArticleDetails.getRatingValue (  ) 

Template variable getter. Returns rating value

Returns:
double

Definition at line 770 of file oxwarticledetails.php.

oxwArticleDetails.getReviews (  ) 

Template variable getter. Returns reviews of current article

Returns:
array

Definition at line 600 of file oxwarticledetails.php.

oxwArticleDetails.getSearchTitle (  ) 

Returns search title. It will be set in oxLocator

Returns:
string

Definition at line 725 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarProducts (  ) 

Template variable getter. Returns similar article list

Returns:
object

Reimplemented from oxUBase.

Definition at line 632 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarRecommListIds (  ) 

Return array of id to form recommend list.

Returns:
array

Reimplemented from oxUBase.

Definition at line 648 of file oxwarticledetails.php.

oxwArticleDetails.getTagCloudManager (  ) 

Returns tag cloud manager class

Returns:
oxTagCloud

Definition at line 313 of file oxwarticledetails.php.

oxwArticleDetails.getTagSeparator (  ) 

Returns tag separator

Returns:
string

Definition at line 979 of file oxwarticledetails.php.

oxwArticleDetails.getVariantList (  ) 

Returns variant lists of current product

Returns:
array

Definition at line 434 of file oxwarticledetails.php.

oxwArticleDetails.getVariantListExceptCurrent (  ) 

Returns variant lists of current product excludes currently viewed product

Returns:
array

Definition at line 374 of file oxwarticledetails.php.

oxwArticleDetails.getVariantSelections (  ) 

Returns variant selection

Returns:
oxVariantSelectList

Definition at line 842 of file oxwarticledetails.php.

oxwArticleDetails.getVendor (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 505 of file oxwarticledetails.php.

oxwArticleDetails.getZoomPics (  ) 

Template variable getter. Returns zoom pictures

Returns:
array

Definition at line 589 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 327 of file oxwarticledetails.php.

oxwArticleDetails.isMdVariantView (  ) 

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

Returns:
bool

Definition at line 961 of file oxwarticledetails.php.

oxwArticleDetails.isPersParam (  ) 

Checks should persistent parameter input field be displayed

Returns:
bool

Definition at line 759 of file oxwarticledetails.php.

oxwArticleDetails.isPriceAlarm (  ) 

Template variable getter. Returns if price alarm is disabled

Returns:
object

Definition at line 697 of file oxwarticledetails.php.

oxwArticleDetails.isReviewActive (  ) 

Template variable getter. Returns if review module is on

Returns:
bool

Definition at line 788 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 394 of file oxwarticledetails.php.

oxwArticleDetails.morePics (  ) 

Template variable getter. Returns true if there more pictures

Returns:
bool

Definition at line 556 of file oxwarticledetails.php.

oxwArticleDetails.ratingIsActive (  ) 

Checks if rating functionality is active

Returns:
bool

Definition at line 243 of file oxwarticledetails.php.

oxwArticleDetails.setCatTreePath ( sActCatPath  ) 

active category path setter

Parameters:
string $sActCatPath category tree path
Returns:
string

Definition at line 749 of file oxwarticledetails.php.

oxwArticleDetails.setSearchTitle ( sTitle  ) 

Returns search title setter

Parameters:
string $sTitle search title
Returns:
null

Definition at line 737 of file oxwarticledetails.php.

oxwArticleDetails.showZoomPics (  ) 

Template variable getter. Returns if to show zoom pictures

Returns:
bool

Definition at line 578 of file oxwarticledetails.php.


Member Data Documentation

oxwArticleDetails.$_aAlsoBoughtArts = null [protected]

Definition at line 120 of file oxwarticledetails.php.

oxwArticleDetails.$_aAttributes = null [protected]

Definition at line 84 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 16 of file oxwarticledetails.php.

oxwArticleDetails.$_aLastProducts = null [protected]

Definition at line 60 of file oxwarticledetails.php.

oxwArticleDetails.$_aMediaFiles = null [protected]

Definition at line 54 of file oxwarticledetails.php.

oxwArticleDetails.$_aPicGallery = null [protected]

Definition at line 90 of file oxwarticledetails.php.

oxwArticleDetails.$_aReviews = null [protected]

Definition at line 96 of file oxwarticledetails.php.

oxwArticleDetails.$_aSimilarRecommListIds = null [protected]

Definition at line 178 of file oxwarticledetails.php.

oxwArticleDetails.$_aVariantList = null [protected]

Definition at line 10 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanEditTags = null [protected]

Definition at line 42 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanRate = null [protected]

Definition at line 36 of file oxwarticledetails.php.

oxwArticleDetails.$_blIsInitialized = false [protected]

Definition at line 133 of file oxwarticledetails.php.

oxwArticleDetails.$_blMdView = null [protected]

Definition at line 147 of file oxwarticledetails.php.

oxwArticleDetails.$_blShowSorting = true [protected]

Reimplemented from oxUBase.

Definition at line 171 of file oxwarticledetails.php.

oxwArticleDetails.$_dRatingValue = null [protected]

Definition at line 153 of file oxwarticledetails.php.

oxwArticleDetails.$_iLinkType = null [protected]

Definition at line 140 of file oxwarticledetails.php.

oxwArticleDetails.$_iRatingCnt = null [protected]

Definition at line 159 of file oxwarticledetails.php.

oxwArticleDetails.$_oAccessoires = null [protected]

Definition at line 114 of file oxwarticledetails.php.

oxwArticleDetails.$_oCaptcha = null [protected]

Definition at line 48 of file oxwarticledetails.php.

oxwArticleDetails.$_oCategory = null [protected]

Definition at line 78 of file oxwarticledetails.php.

oxwArticleDetails.$_oCrossSelling = null [protected]

Definition at line 102 of file oxwarticledetails.php.

oxwArticleDetails.$_oManufacturer = null [protected]

Definition at line 72 of file oxwarticledetails.php.

oxwArticleDetails.$_oParentProd = null [protected]

Definition at line 29 of file oxwarticledetails.php.

oxwArticleDetails.$_oSimilarProducts = null [protected]

Definition at line 108 of file oxwarticledetails.php.

oxwArticleDetails.$_oVendor = null [protected]

Definition at line 66 of file oxwarticledetails.php.

oxwArticleDetails.$_sBidPrice = null [protected]

Definition at line 165 of file oxwarticledetails.php.

oxwArticleDetails.$_sSearchTitle = null [protected]

Definition at line 126 of file oxwarticledetails.php.

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

Reimplemented from oxView.

Definition at line 22 of file oxwarticledetails.php.


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