Public Member Functions | Protected Attributes

Account_Wishlist Class Reference

Inheritance diagram for Account_Wishlist:
Collaboration diagram for Account_Wishlist:

List of all members.

Public Member Functions

 render ()
 showSuggest ()
 getWishList ()
 getWishProductList ()
 getSimilarRecommLists ()
 sendWishList ()
 isWishListEmailSent ()
 setEnteredData ($oData)
 getEnteredData ()
 togglePublic ()
 searchForWishList ()
 getWishListUsers ()
 getWishListSearchParam ()
 getBreadCrumb ()

Protected Attributes

 $_sThisTemplate = 'page/account/wishlist.tpl'
 $_blShowSuggest = null
 $_oWishList = null
 $_aRecommList = null
 $_oEditval = null
 $_iSendWishList = null
 $_sSearchParam = null
 $_oWishListUsers = false
 $_blEmailSent = false
 $_aEditValues = false
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW

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.


Member Function Documentation

Account_Wishlist.getBreadCrumb (  ) 

Returns Bread Crumb - you are here page1/page2/page3...

Returns:
array

Reimplemented from Account.

Definition at line 316 of file account_wishlist.php.

Account_Wishlist.getEnteredData (  ) 

Terurns user entered values for sending email.

Returns:
array

Definition at line 247 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 oxUBase.

Definition at line 166 of file account_wishlist.php.

Account_Wishlist.getWishList (  ) 

Show the Wishlist

Returns:
oxuserbasket | bool

Definition at line 130 of file account_wishlist.php.

Account_Wishlist.getWishListSearchParam (  ) 

Returns wish list search parameter

Returns:
string

Definition at line 306 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 296 of file account_wishlist.php.

Account_Wishlist.getWishProductList (  ) 

Returns array of producst assigned to user wish list

Returns:
array | bool

Definition at line 150 of file account_wishlist.php.

Account_Wishlist.isWishListEmailSent (  ) 

If email was sent.

Returns:
bool

Definition at line 225 of file account_wishlist.php.

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

Returns:
string $_sThisTemplate current template file name

Reimplemented from Account.

Definition at line 99 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).

Returns:
bool

Definition at line 275 of file account_wishlist.php.

Account_Wishlist.sendWishList (  ) 

Sends wishlist mail to recipient. On errors returns false.

Returns:
bool

Definition at line 193 of file account_wishlist.php.

Account_Wishlist.setEnteredData ( oData  ) 

Wishlist data setter

Parameters:
object $oData suggest data object
Returns:
null

Definition at line 237 of file account_wishlist.php.

Account_Wishlist.showSuggest (  ) 

check if the wishlist is allowed

Returns:
bool

Definition at line 117 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 258 of file account_wishlist.php.


Member Data Documentation

Account_Wishlist.$_aEditValues = false [protected]

Definition at line 82 of file account_wishlist.php.

Account_Wishlist.$_aRecommList = null [protected]

Definition at line 40 of file account_wishlist.php.

Account_Wishlist.$_blEmailSent = false [protected]

Definition at line 75 of file account_wishlist.php.

Account_Wishlist.$_blShowSuggest = null [protected]

Definition at line 26 of file account_wishlist.php.

Account_Wishlist.$_iSendWishList = null [protected]

Definition at line 54 of file account_wishlist.php.

Account_Wishlist.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected]

Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow

Reimplemented from Account.

Definition at line 89 of file account_wishlist.php.

Account_Wishlist.$_oEditval = null [protected]

Definition at line 47 of file account_wishlist.php.

Account_Wishlist.$_oWishList = null [protected]

Definition at line 33 of file account_wishlist.php.

Account_Wishlist.$_oWishListUsers = false [protected]

Definition at line 68 of file account_wishlist.php.

Account_Wishlist.$_sSearchParam = null [protected]

Reimplemented from Account.

Definition at line 61 of file account_wishlist.php.

Account_Wishlist.$_sThisTemplate = 'page/account/wishlist.tpl' [protected]

Reimplemented from Account.

Definition at line 19 of file account_wishlist.php.


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