src/ShopWishlistBundle/pkgExtranet/objects/db/TShopWishlistDataExtranetUser.class.php
public function AddArticleIdToWishlist($sArticleId, $dAmount = 1)
    {
        $dNewAmountOnList = 0;
        $oWishlist = &$this->GetWishlist(true);
        $dNewAmountOnList = $oWishlist->AddArticle($sArticleId, $dAmount);

        return $dNewAmountOnList;
    }
public function AddArticleIdToWishlist($sArticleId, $dAmount = 1)
    {
        $dNewAmountOnList = 0;
        $oWishlist = &$this->GetWishlist(true);
        $dNewAmountOnList = $oWishlist->AddArticle($sArticleId, $dAmount);

        return $dNewAmountOnList;
    }
public function AddArticleIdToWishlist ( $ sArticleId , $ dAmount = 1 ) { $ dNewAmountOnList = 0 ; $ oWishlist = & $ this -> GetWishlist ( true ) ; $ dNewAmountOnList = $ oWishlist -> AddArticle ( $ sArticleId , $ dAmount ) ; return $ dNewAmountOnList ; }
add an article to the wishlist.

@param string $sArticleId
@param float  $dAmount

@return float - new amount on list
add an article to the wishlist .