account_wishlist Class Reference

Inheritance diagram for account_wishlist:

Inheritance graph
[legend]
Collaboration diagram for account_wishlist:

Collaboration graph
[legend]

List of all members.


Detailed Description

Current user wishlist manager. When user is logged in in this manager window he can modify his own wishlist status - remove articles from wishlist or store them to shopping basket, view detail information. Additionally user can view wishlist of some other user by entering users login name in special field. OXID eShop -> MY ACCOUNT -> Newsletter.

Public Member Functions

 render ()
 showSuggest ()
 getWishList ()
 getWishProductList ()
 getSimilarRecommLists ()
 sendWishList ()
 isWishListEmailSent ()
 getEnteredData ()
 togglePublic ()
 searchForWishList ()
 getWishListUsers ()
 getWishListSearchParam ()

Protected Attributes

 $_sThisTemplate = 'account_wishlist.tpl'
 $_blShowSuggest = null
 $_oWishList = null
 $_aRecommList = null
 $_oEditval = null
 $_iSendWishList = null
 $_sSearchParam = null
 $_oWishListUsers = false
 $_blEmailSent = false
 $_aEditValues = false
 $_iViewIndexState = 1

Member Function Documentation

account_wishlist.render (  ) 

If user is logged in loads his wishlist articles (articles may be accessed by oxuser.GetBasket()), loads similar articles (is available) for the last article in list loaded by oxarticle.GetSimilarProducts() and returns name of template to render account_wishlist._sThisTemplate

Template variables: blshowsuggest, wishlist

Returns:
string $_sThisTemplate current template file name

Reimplemented from account.

account_wishlist.showSuggest (  ) 

check if the wishlist is allowed

Returns:
bool

account_wishlist.getWishList (  ) 

Show the Wishlist

Returns:
oxuserbasket | bool

account_wishlist.getWishProductList (  ) 

Returns array of producst assigned to user wish list

Returns:
array | bool

account_wishlist.getSimilarRecommLists (  ) 

Template variable getter. Returns an string if there is something in the list

Returns:
array

Reimplemented from oxView.

account_wishlist.sendWishList (  ) 

Sends wishlist mail to recipient. On errors returns false.

Template variables: editval, error, success

Returns:
bool

account_wishlist.isWishListEmailSent (  ) 

If email was sent.

Returns:
bool

account_wishlist.getEnteredData (  ) 

Terurns user entered values for sending email.

Returns:
array

account_wishlist.togglePublic (  ) 

Changes wishlist status - public/non public. Returns false on error (if user is not logged in).

Returns:
bool

account_wishlist.searchForWishList (  ) 

Searches for wishlist of another user. Returns false if no searching conditions set (no login name defined).

Template variables: wish_result, search

Returns:
bool

account_wishlist.getWishListUsers (  ) 

Returns a list of users which were found according to search condition. If no users were found - false is returned

Returns:
oxlist | bool

account_wishlist.getWishListSearchParam (  ) 

Returns wish list search parameter

Returns:
string


Member Data Documentation

account_wishlist.$_sThisTemplate = 'account_wishlist.tpl' [protected]

Reimplemented from account.

account_wishlist.$_blShowSuggest = null [protected]

account_wishlist.$_oWishList = null [protected]

account_wishlist.$_aRecommList = null [protected]

account_wishlist.$_oEditval = null [protected]

account_wishlist.$_iSendWishList = null [protected]

account_wishlist.$_sSearchParam = null [protected]

Reimplemented from account.

account_wishlist.$_oWishListUsers = false [protected]

account_wishlist.$_blEmailSent = false [protected]

account_wishlist.$_aEditValues = false [protected]

account_wishlist.$_iViewIndexState = 1 [protected]

Current view search engine indexing state: 0 - index without limitations 1 - no index / no follow 2 - no index / follow

Reimplemented from account.


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

Generated on Wed Oct 29 23:38:47 2008 for OXID eShop CE by  doxygen 1.5.5