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

Class oxwArticleDetails

Article details widget is detailed and defined here

Definition at line 8 of file oxwarticledetails.php.


Member Function Documentation

oxwArticleDetails._additionalChecksForArticle ( myUtils,
myConfig 
) [protected]

Runs additional checks for article.

Parameters:
object $myUtils - my utilities
object $myConfig - my config
Returns:
null

Definition at line 1000 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 221 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 203 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 720 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 235 of file oxwarticledetails.php.

oxwArticleDetails._setSortingParameters (  )  [protected]

Set item sorting for widget based of retrieved parameters

Returns:
null

Definition at line 919 of file oxwarticledetails.php.

oxwArticleDetails.canChangeTags (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 279 of file oxwarticledetails.php.

oxwArticleDetails.canRate (  ) 

Checks if rating functionality is on and allowed to user

Returns:
bool

Definition at line 258 of file oxwarticledetails.php.

oxwArticleDetails.getAccessoires (  ) 

Template variable getter. Returns accessories of article

Returns:
object

Reimplemented from oxUBase.

Definition at line 670 of file oxwarticledetails.php.

oxwArticleDetails.getActPicture (  ) 

Template variable getter. Returns active picture

Returns:
object

Definition at line 550 of file oxwarticledetails.php.

oxwArticleDetails.getActZoomPic (  ) 

Template variable getter. Returns active zoom picture id

Returns:
array

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

oxwArticleDetails.getAttributes (  ) 

loading full list of attributes

Returns:
array $_aAttributes

Definition at line 293 of file oxwarticledetails.php.

oxwArticleDetails.getBidPrice (  ) 

Template variable getter. Returns bid price

Returns:
string

Definition at line 829 of file oxwarticledetails.php.

oxwArticleDetails.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 449 of file oxwarticledetails.php.

oxwArticleDetails.getCategory (  ) 

Template variable getter. Returns product's root category

Returns:
object

Definition at line 523 of file oxwarticledetails.php.

oxwArticleDetails.getCrossSelling (  ) 

Template variable getter. Returns cross selling

Returns:
object

Reimplemented from oxUBase.

Definition at line 621 of file oxwarticledetails.php.

oxwArticleDetails.getDefaultSorting (  ) 

Returns default category sorting for selected category

Returns:
array

Reimplemented from oxUBase.

Definition at line 1026 of file oxwarticledetails.php.

oxwArticleDetails.getIcons (  ) 

Template variable getter. Returns icons of current article

Returns:
array

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

oxwArticleDetails.getLinkType (  ) 

Returns current view link type

Returns:
int

Definition at line 348 of file oxwarticledetails.php.

oxwArticleDetails.getManufacturer (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 497 of file oxwarticledetails.php.

oxwArticleDetails.getMediaFiles (  ) 

Template variable getter. Returns media files of current product

Returns:
array

Definition at line 462 of file oxwarticledetails.php.

oxwArticleDetails.getPictureGallery (  ) 

Template variable getter. Returns picture gallery of current article

Returns:
array

Definition at line 536 of file oxwarticledetails.php.

oxwArticleDetails.getPicturesProduct (  ) 

Returns pictures product object

Returns:
oxArticle

Definition at line 863 of file oxwarticledetails.php.

oxwArticleDetails.getPriceAlarmStatus (  ) 

Return price alarm status (if it was send)

Returns:
integer

Definition at line 819 of file oxwarticledetails.php.

oxwArticleDetails.getProduct (  ) 

Get product.

Returns:
oxArticle

Reimplemented from oxUBase.

Definition at line 877 of file oxwarticledetails.php.

oxwArticleDetails.getRatingCount (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 803 of file oxwarticledetails.php.

oxwArticleDetails.getRatingValue (  ) 

Template variable getter. Returns rating value

Returns:
double

Definition at line 775 of file oxwarticledetails.php.

oxwArticleDetails.getReviews (  ) 

Template variable getter. Returns reviews of current article

Returns:
array

Definition at line 605 of file oxwarticledetails.php.

oxwArticleDetails.getSearchTitle (  ) 

Returns search title. It will be set in oxLocator

Returns:
string

Definition at line 730 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarProducts (  ) 

Template variable getter. Returns similar article list

Returns:
object

Reimplemented from oxUBase.

Definition at line 637 of file oxwarticledetails.php.

oxwArticleDetails.getSimilarRecommListIds (  ) 

Return array of id to form recommend list.

Returns:
array

Reimplemented from oxUBase.

Definition at line 653 of file oxwarticledetails.php.

oxwArticleDetails.getTagCloudManager (  ) 

Returns tag cloud manager class

Returns:
oxTagCloud

Definition at line 318 of file oxwarticledetails.php.

oxwArticleDetails.getTagSeparator (  ) 

Returns tag separator

Returns:
string

Definition at line 986 of file oxwarticledetails.php.

oxwArticleDetails.getVariantList (  ) 

Returns variant lists of current product

Returns:
array

Definition at line 439 of file oxwarticledetails.php.

oxwArticleDetails.getVariantListExceptCurrent (  ) 

Returns variant lists of current product excludes currently viewed product

Returns:
array

Definition at line 379 of file oxwarticledetails.php.

oxwArticleDetails.getVariantSelections (  ) 

Returns variant selection

Returns:
oxVariantSelectList

Definition at line 847 of file oxwarticledetails.php.

oxwArticleDetails.getVendor (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Definition at line 510 of file oxwarticledetails.php.

oxwArticleDetails.getZoomPics (  ) 

Template variable getter. Returns zoom pictures

Returns:
array

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

oxwArticleDetails.isMdVariantView (  ) 

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

Returns:
bool

Definition at line 968 of file oxwarticledetails.php.

oxwArticleDetails.isPersParam (  ) 

Checks should persistent parameter input field be displayed

Returns:
bool

Definition at line 764 of file oxwarticledetails.php.

oxwArticleDetails.isPriceAlarm (  ) 

Template variable getter. Returns if price alarm is disabled

Returns:
object

Definition at line 702 of file oxwarticledetails.php.

oxwArticleDetails.isReviewActive (  ) 

Template variable getter. Returns if review module is on

Returns:
bool

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

oxwArticleDetails.morePics (  ) 

Template variable getter. Returns true if there more pictures

Returns:
bool

Definition at line 561 of file oxwarticledetails.php.

oxwArticleDetails.ratingIsActive (  ) 

Checks if rating functionality is active

Returns:
bool

Definition at line 248 of file oxwarticledetails.php.

oxwArticleDetails.setCatTreePath ( sActCatPath  ) 

active category path setter

Parameters:
string $sActCatPath category tree path
Returns:
string

Definition at line 754 of file oxwarticledetails.php.

oxwArticleDetails.setSearchTitle ( sTitle  ) 

Returns search title setter

Parameters:
string $sTitle search title
Returns:
null

Definition at line 742 of file oxwarticledetails.php.

oxwArticleDetails.showZoomPics (  ) 

Template variable getter. Returns if to show zoom pictures

Returns:
bool

Definition at line 583 of file oxwarticledetails.php.


Member Data Documentation

oxwArticleDetails.$_aAlsoBoughtArts = null [protected]

Definition at line 125 of file oxwarticledetails.php.

oxwArticleDetails.$_aAttributes = null [protected]

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

oxwArticleDetails.$_aMediaFiles = null [protected]

Definition at line 59 of file oxwarticledetails.php.

oxwArticleDetails.$_aPicGallery = null [protected]

Definition at line 95 of file oxwarticledetails.php.

oxwArticleDetails.$_aReviews = null [protected]

Definition at line 101 of file oxwarticledetails.php.

oxwArticleDetails.$_aSimilarRecommListIds = null [protected]

Definition at line 183 of file oxwarticledetails.php.

oxwArticleDetails.$_aVariantList = null [protected]

Definition at line 15 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanEditTags = null [protected]

Definition at line 47 of file oxwarticledetails.php.

oxwArticleDetails.$_blCanRate = null [protected]

Definition at line 41 of file oxwarticledetails.php.

oxwArticleDetails.$_blIsInitialized = false [protected]

Definition at line 138 of file oxwarticledetails.php.

oxwArticleDetails.$_blMdView = null [protected]

Definition at line 152 of file oxwarticledetails.php.

oxwArticleDetails.$_blShowSorting = true [protected]

Reimplemented from oxUBase.

Definition at line 176 of file oxwarticledetails.php.

oxwArticleDetails.$_dRatingValue = null [protected]

Definition at line 158 of file oxwarticledetails.php.

oxwArticleDetails.$_iLinkType = null [protected]

Definition at line 145 of file oxwarticledetails.php.

oxwArticleDetails.$_iRatingCnt = null [protected]

Definition at line 164 of file oxwarticledetails.php.

oxwArticleDetails.$_oAccessoires = null [protected]

Definition at line 119 of file oxwarticledetails.php.

oxwArticleDetails.$_oCaptcha = null [protected]

Definition at line 53 of file oxwarticledetails.php.

oxwArticleDetails.$_oCategory = null [protected]

Definition at line 83 of file oxwarticledetails.php.

oxwArticleDetails.$_oCrossSelling = null [protected]

Definition at line 107 of file oxwarticledetails.php.

oxwArticleDetails.$_oManufacturer = null [protected]

Definition at line 77 of file oxwarticledetails.php.

oxwArticleDetails.$_oParentProd = null [protected]

Definition at line 34 of file oxwarticledetails.php.

oxwArticleDetails.$_oSimilarProducts = null [protected]

Definition at line 113 of file oxwarticledetails.php.

oxwArticleDetails.$_oVendor = null [protected]

Definition at line 71 of file oxwarticledetails.php.

oxwArticleDetails.$_sBidPrice = null [protected]

Definition at line 170 of file oxwarticledetails.php.

oxwArticleDetails.$_sSearchTitle = null [protected]

Definition at line 131 of file oxwarticledetails.php.

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

Reimplemented from oxView.

Definition at line 27 of file oxwarticledetails.php.


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