src/ShopWishlistBundle/pkgExtranet/objects/db/TShopWishlistDataExtranetUser.class.php
public function RemoveArticleFromWishlist($sPkgShopWishlistArticleId)
    {
        $oWishlist = &$this->GetWishlist(true);
        $oWishlistItem = TdbPkgShopWishlistArticle::GetNewInstance();
        /** @var $oWishlistItem TdbPkgShopWishlistArticle */
        if ($oWishlistItem->LoadFromFields(array('pkg_shop_wishlist_id' => $oWishlist->id, 'id' => $sPkgShopWishlistArticleId))) {
            $oWishlistItem->AllowEditByAll(true);
            $oWishlistItem->Delete();
        }
    }
public function RemoveArticleFromWishlist($sPkgShopWishlistArticleId)
    {
        $oWishlist = &$this->GetWishlist(true);
        $oWishlistItem = TdbPkgShopWishlistArticle::GetNewInstance();
        /** @var $oWishlistItem TdbPkgShopWishlistArticle */
        if ($oWishlistItem->LoadFromFields(array('pkg_shop_wishlist_id' => $oWishlist->id, 'id' => $sPkgShopWishlistArticleId))) {
            $oWishlistItem->AllowEditByAll(true);
            $oWishlistItem->Delete();
        }
    }
public function RemoveArticleFromWishlist ( $ sPkgShopWishlistArticleId ) { $ oWishlist = & $ this -> GetWishlist ( true ) ; $ oWishlistItem = TdbPkgShopWishlistArticle :: GetNewInstance ( ) ; /** @var $oWishlistItem TdbPkgShopWishlistArticle */ if ( $ oWishlistItem -> LoadFromFields ( array ( 'pkg_shop_wishlist_id' => $ oWishlist -> id , 'id' => $ sPkgShopWishlistArticleId ) ) ) { $ oWishlistItem -> AllowEditByAll ( true ) ; $ oWishlistItem -> Delete ( ) ; } }
remove an article form the wishlist.

@param string $sPkgShopWishlistArticleId - the id of the item on the list
remove an article form the wishlist .