Public Member Functions | Protected Attributes

Wishlist Class Reference

Inheritance diagram for Wishlist:
Collaboration diagram for Wishlist:

List of all members.

Public Member Functions

 render ()
 getWishUser ()
 getWishList ()
 searchForWishList ()
 getWishListUsers ()
 getWishListSearchParam ()

Protected Attributes

 $_sThisTemplate = 'wishlist.tpl'
 $_oWishUser = null
 $_oWishList = null
 $_sSearchParam = null
 $_oWishListUsers = false
 $_blTop5Action = true
 $_blBargainAction = true

Detailed Description

The wishlist of someone else is displayed.

Definition at line 6 of file wishlist.php.


Member Function Documentation

Wishlist.getWishList (  ) 

return the articles which are in the wish list

Returns:
object | bool

Definition at line 116 of file wishlist.php.

Wishlist.getWishListSearchParam (  ) 

Returns wish list search parameter

Returns:
string

Definition at line 175 of file wishlist.php.

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 165 of file wishlist.php.

Wishlist.getWishUser (  ) 

return the user which is owner of the wish list

Returns:
object | bool

Definition at line 90 of file wishlist.php.

Wishlist.render (  ) 

If passed wishlist ID - loads wishlist owner object, then it's wishlist (oxuser.GetBasket()) and then loads each stored article. Returns name of template file to render wishlist._sThisTemplate.

Template variables: wishuser, wishlist

Session variables: wishid

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

Reimplemented from oxUBase.

Definition at line 68 of file wishlist.php.

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 145 of file wishlist.php.


Member Data Documentation

Wishlist.$_blBargainAction = true [protected]

Reimplemented from oxUBase.

Definition at line 53 of file wishlist.php.

Wishlist.$_blTop5Action = true [protected]

Reimplemented from oxUBase.

Definition at line 47 of file wishlist.php.

Wishlist.$_oWishList = null [protected]

wishlist object list

Returns:
object

Definition at line 27 of file wishlist.php.

Wishlist.$_oWishListUsers = false [protected]

Definition at line 41 of file wishlist.php.

Wishlist.$_oWishUser = null [protected]

user object list

Returns:
object

Definition at line 20 of file wishlist.php.

Wishlist.$_sSearchParam = null [protected]

Definition at line 34 of file wishlist.php.

Wishlist.$_sThisTemplate = 'wishlist.tpl' [protected]

Reimplemented from oxView.

Definition at line 13 of file wishlist.php.


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