/** * Show the Wishlist * * @return oxuserbasket | bool */ public function getWishList() { if ($this->_oWishList === null) { $this->_oWishList = false; if ($oUser = $this->getUser()) { $this->_oWishList = $oUser->getBasket('wishlist'); if ($this->_oWishList->isEmpty()) { $this->_oWishList = false; } } } return $this->_oWishList; }