Details Class Reference

Inheritance diagram for Details:

Inheritance graph
[legend]
Collaboration diagram for Details:

Collaboration graph
[legend]

List of all members.


Detailed Description

Article details information page. Collects detailed article information, possible variants, such information as crosselling, similarlist, picture gallery list, etc. OXID eShop -> (Any chosen product).

Public Member Functions

 loadVariantInformation ()
 getViewId ()
 getViewResetId ()
 init ()
 render ()
 canRate ()
 saveReview ()
 showLogin ()
 addToRecomm ()
 addTags ()
 editTags ()
 getAttributes ()
 getEditTags ()
 getTags ()
 getTagCloud ()
 getLoginFormAnchor ()
 getProduct ()
 getVariantList ()
 getCaptcha ()
 getMediaFiles ()
 getLastProducts ()
 getVendor ()
 getCategory ()
 drawParentUrl ()
 getParentName ()
 getParentUrl ()
 getPictureGallery ()
 getActPictureId ()
 getActPicture ()
 morePics ()
 getPictures ()
 getArtPic ($sPicNr)
 getIcons ()
 showZoomPics ()
 getZoomPics ()
 getActZoomPic ()
 getSelectLists ()
 getReviews ()
 getCrossSelling ()
 getSimilarProducts ()
 getSimilarRecommLists ()
 getAccessoires ()
 getAlsoBoughtThiesProducts ()
 isPriceAlarm ()
 getSearchTitle ()
 setSearchTitle ($sTitle)
 getCatTreePath ()
 setCatTreePath ($sActCatPath)
 noIndex ()
 getTitle ()

Protected Member Functions

 _getParentProduct ($sParentId)
 _getSeoObjectId ()
 getSubject ()

Protected Attributes

 $_aVariantList = array()
 $_sThisTemplate = 'details.tpl'
 $_oParent = null
 $_blCanRate = null
 $_blShowSorting = true
 $_blEditTags = null
 $_aTags = null
 $_sTagCloud = null
 $_aUserRecommList = null
 $_sLoginFormAnchor = null
 $_oCaptcha = null
 $_aMediaFiles = null
 $_aLastProducts = null
 $_oVendor = null
 $_oCategory = null
 $_aAttributes = null
 $_sParentName = null
 $_sParentUrl = null
 $_aPicGallery = null
 $_aSelectLists = null
 $_aReviews = null
 $_oCrossSelling = null
 $_oSimilarProducts = null
 $_oRecommList = null
 $_oAccessoires = null
 $_aAlsoBoughtArts = null
 $_sSearchTitle = null
 $_sCatTreePath = null

Member Function Documentation

Details._getParentProduct ( sParentId  )  [protected]

Returns current product parent article object if it is available

Parameters:
string $sParentId parent product id
Returns:
oxarticle

Details.loadVariantInformation (  ) 

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

Returns:
null

Details.getViewId (  ) 

Returns prefix ID used by template engine.

Returns:
string $this->_sViewID view id

Reimplemented from oxView.

Details.getViewResetId (  ) 

Returns view reset id

Returns:
string

Reimplemented from oxView.

Details.init (  ) 

Executes parent method parent.init() and newly loads article object if users language was changed.

Returns:
null

Reimplemented from oxUBase.

Details.render (  ) 

If possible loads additional article info (oxarticle.getCrossSelling(), oxarticle.getAccessoires(), oxarticle.getReviews(), oxarticle.GetSimilarProducts(), oxarticle.GetCustomerAlsoBoughtThisProducts()), forms variants details navigation URLs loads selectlists (oxarticle.GetSelectLists()), prerares HTML meta data (details._convertForMetaTags()). Returns name of template file details._sThisTemplate

Template variables: product, ispricealarm, reviews, crossselllist, accessoirelist, similarlist, customerwho, variants, amountprice, selectlist, sugsucc, meta_description, meta_keywords, blMorePic, parent_url, draw_parent_url, parentname, sBackUrl, allartattr, sSearchTitle

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

Reimplemented from oxUBase.

Reimplemented in RecommAdd.

Details.canRate (  ) 

Checks if rating runctionality is on and allwed to user

Returns:
bool

Details.saveReview (  ) 

Saves user ratings and review text (oxreview object)

Returns:
null

Details.showLogin (  ) 

Show login template

Returns:
null

Details.addToRecomm (  ) 

Adds article to selected recommlist

Returns:
null

Details.addTags (  ) 

Adds tag from parameter

Returns:
null;

Details.editTags (  ) 

Details._getSeoObjectId (  )  [protected]

Returns active product id to load its seo meta info

Returns:
string

Reimplemented from oxView.

Details.getAttributes (  ) 

loading full list of attributes

Returns:
array $_aAttributes

Details.getEditTags (  ) 

Returns if tags will be edit

Returns:
bool

Reimplemented from oxView.

Details.getTags (  ) 

Returns all tags

Returns:
array

Details.getTagCloud (  ) 

Returns tag cloud

Returns:
string

Details.getLoginFormAnchor (  ) 

Returns login form anchor

Returns:
array

Details.getProduct (  ) 

Returns current product

Returns:
object

Reimplemented from oxUBase.

Details.getVariantList (  ) 

Returns variant lists of current product

Returns:
array

Details.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Details.getMediaFiles (  ) 

Template variable getter. Returns media files of current product

Returns:
array

Details.getLastProducts (  ) 

Template variable getter. Returns last seen products

Returns:
array

Details.getVendor (  ) 

Template variable getter. Returns product's vendor

Returns:
object

Details.getCategory (  ) 

Template variable getter. Returns product's root category

Returns:
object

Details.drawParentUrl (  ) 

Template variable getter. Returns if draw parent url

Returns:
bool

Details.getParentName (  ) 

Template variable getter. Returns parent article name

Returns:
string

Details.getParentUrl (  ) 

Template variable getter. Returns parent article name

Returns:
string

Details.getPictureGallery (  ) 

Template variable getter. Returns picture galery of current article

Returns:
array

Details.getActPictureId (  ) 

Template variable getter. Returns id of active picture

Returns:
string

Details.getActPicture (  ) 

Template variable getter. Returns active picture

Returns:
object

Details.morePics (  ) 

Template variable getter. Returns true if there more pictures

Returns:
bool

Details.getPictures (  ) 

Template variable getter. Returns pictures of current article

Returns:
array

Details.getArtPic ( sPicNr  ) 

Template variable getter. Returns selected picture

Parameters:
string $sPicNr
Returns:
string

Details.getIcons (  ) 

Template variable getter. Returns icons of current article

Returns:
array

Details.showZoomPics (  ) 

Template variable getter. Returns if to show zoom pictures

Returns:
bool

Details.getZoomPics (  ) 

Template variable getter. Returns zoom pictures

Returns:
array

Details.getActZoomPic (  ) 

Template variable getter. Returns active zoom picture id

Returns:
array

Details.getSelectLists (  ) 

Template variable getter. Returns selectlists of current article

Returns:
array

Details.getReviews (  ) 

Template variable getter. Returns reviews of current article

Returns:
array

Details.getCrossSelling (  ) 

Template variable getter. Returns crosssellings

Returns:
object

Reimplemented from oxView.

Details.getSimilarProducts (  ) 

Template variable getter. Returns similar article list

Returns:
object

Reimplemented from oxView.

Details.getSimilarRecommLists (  ) 

Template variable getter. Returns recommlists

Returns:
object

Reimplemented from oxView.

Details.getAccessoires (  ) 

Template variable getter. Returns accessoires of article

Returns:
object

Reimplemented from oxView.

Details.getAlsoBoughtThiesProducts (  ) 

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

Returns:
object

Reimplemented from oxView.

Details.isPriceAlarm (  ) 

Template variable getter. Returns if pricealarm is disabled

Returns:
object

Details.getSubject (  )  [protected]

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

Returns:
object

Reimplemented from oxView.

Details.getSearchTitle (  ) 

Returns search title. It will be setted in oxlocator

Returns:
string

Details.setSearchTitle ( sTitle  ) 

Returns search title setter

Parameters:
string $sTitle
Returns:
null

Details.getCatTreePath (  ) 

Template variable getter. Returns category path

Returns:
string

Details.setCatTreePath ( sActCatPath  ) 

active category path setter

Parameters:
string $sActCatPath
Returns:
string

Details.noIndex (  ) 

If product details are accessed by vendor url view must not be indexable

Returns:
int

Reimplemented from oxView.

Details.getTitle (  ) 

Returns current view title. Default is null

Returns:
null

Reimplemented from oxView.


Member Data Documentation

Details.$_aVariantList = array() [protected]

Details.$_sThisTemplate = 'details.tpl' [protected]

Reimplemented from oxView.

Reimplemented in RecommAdd.

Details.$_oParent = null [protected]

Reimplemented from oxView.

Details.$_blCanRate = null [protected]

Details.$_blShowSorting = true [protected]

Reimplemented from oxView.

Details.$_blEditTags = null [protected]

Details.$_aTags = null [protected]

Details.$_sTagCloud = null [protected]

Details.$_aUserRecommList = null [protected]

Reimplemented in RecommAdd.

Details.$_sLoginFormAnchor = null [protected]

Details.$_oCaptcha = null [protected]

Details.$_aMediaFiles = null [protected]

Details.$_aLastProducts = null [protected]

Details.$_oVendor = null [protected]

Details.$_oCategory = null [protected]

Details.$_aAttributes = null [protected]

Details.$_sParentName = null [protected]

Details.$_sParentUrl = null [protected]

Details.$_aPicGallery = null [protected]

Details.$_aSelectLists = null [protected]

Details.$_aReviews = null [protected]

Details.$_oCrossSelling = null [protected]

Details.$_oSimilarProducts = null [protected]

Details.$_oRecommList = null [protected]

Details.$_oAccessoires = null [protected]

Details.$_aAlsoBoughtArts = null [protected]

Details.$_sSearchTitle = null [protected]

Details.$_sCatTreePath = null [protected]


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

Generated on Wed Oct 29 23:40:56 2008 for OXID eShop CE by  doxygen 1.5.5