source/Application/Controller/WishListController.php
public function getWishList()
    {
        if ($this->_oWishList === null) {
            $this->_oWishList = false;

            // passing wishlist information
            if ($oUser = $this->getWishUser()) {
                $oWishlistBasket = $oUser->getBasket('wishlist');
                $this->_oWishList = $oWishlistBasket->getArticles();

                if (!$oWishlistBasket->isVisible()) {
                    $this->_oWishList = false;
                }
            }
        }

        return $this->_oWishList;
    }
public function getWishList()
    {
        if ($this->_oWishList === null) {
            $this->_oWishList = false;

            // passing wishlist information
            if ($oUser = $this->getWishUser()) {
                $oWishlistBasket = $oUser->getBasket('wishlist');
                $this->_oWishList = $oWishlistBasket->getArticles();

                if (!$oWishlistBasket->isVisible()) {
                    $this->_oWishList = false;
                }
            }
        }

        return $this->_oWishList;
    }
public function getWishList ( ) { if ( $ this -> _oWishList === null ) { $ this -> _oWishList = false ; // passing wishlist information if ( $ oUser = $ this -> getWishUser ( ) ) { $ oWishlistBasket = $ oUser -> getBasket ( 'wishlist' ) ; $ this -> _oWishList = $ oWishlistBasket -> getArticles ( ) ; if ( ! $ oWishlistBasket -> isVisible ( ) ) { $ this -> _oWishList = false ; } } } return $ this -> _oWishList ; }
return the articles which are in the wish list

@return object | bool
return the articles which are in the wish list