Account_Wishlist Class Reference

Inheritance diagram for Account_Wishlist:
[legend]
Collaboration diagram for Account_Wishlist:
[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.

Definition at line 12 of file account_wishlist.php.


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.

Definition at line 103 of file account_wishlist.php.

Account_Wishlist.showSuggest (  ) 

check if the wishlist is allowed

Returns:
bool

Definition at line 129 of file account_wishlist.php.

Account_Wishlist.getWishList (  ) 

Show the Wishlist

Returns:
oxuserbasket | bool

Definition at line 142 of file account_wishlist.php.

Account_Wishlist.getWishProductList (  ) 

Returns array of producst assigned to user wish list

Returns:
array | bool

Definition at line 165 of file account_wishlist.php.

Account_Wishlist.getSimilarRecommLists (  ) 

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

Returns:
array

Reimplemented from oxView.

Definition at line 182 of file account_wishlist.php.

Account_Wishlist.sendWishList (  ) 

Sends wishlist mail to recipient. On errors returns false.

Template variables: editval, error, success

Returns:
bool

Definition at line 209 of file account_wishlist.php.

Account_Wishlist.isWishListEmailSent (  ) 

If email was sent.

Returns:
bool

Definition at line 254 of file account_wishlist.php.

Account_Wishlist.getEnteredData (  ) 

Terurns user entered values for sending email.

Returns:
array

Definition at line 264 of file account_wishlist.php.

Account_Wishlist.togglePublic (  ) 

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

Returns:
bool

Definition at line 275 of file account_wishlist.php.

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

Definition at line 297 of file account_wishlist.php.

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

Definition at line 321 of file account_wishlist.php.

Account_Wishlist.getWishListSearchParam (  ) 

Returns wish list search parameter

Returns:
string

Definition at line 331 of file account_wishlist.php.


Member Data Documentation

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

Reimplemented from Account.

Definition at line 19 of file account_wishlist.php.

Account_Wishlist.$_blShowSuggest = null [protected]

Definition at line 26 of file account_wishlist.php.

Account_Wishlist.$_oWishList = null [protected]

Definition at line 33 of file account_wishlist.php.

Account_Wishlist.$_aRecommList = null [protected]

Definition at line 40 of file account_wishlist.php.

Account_Wishlist.$_oEditval = null [protected]

Definition at line 47 of file account_wishlist.php.

Account_Wishlist.$_iSendWishList = null [protected]

Definition at line 54 of file account_wishlist.php.

Account_Wishlist.$_sSearchParam = null [protected]

Reimplemented from Account.

Definition at line 61 of file account_wishlist.php.

Account_Wishlist.$_oWishListUsers = false [protected]

Definition at line 68 of file account_wishlist.php.

Account_Wishlist.$_blEmailSent = false [protected]

Definition at line 75 of file account_wishlist.php.

Account_Wishlist.$_aEditValues = false [protected]

Definition at line 82 of file account_wishlist.php.

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.

Definition at line 90 of file account_wishlist.php.


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

Generated on Thu Dec 4 12:04:59 2008 for OXID eShop CE by  doxygen 1.5.5