src/ShopBundle/pkgExtranet/objects/db/TShopDataExtranetUser.class.php
public function RemoveArticleFromNoticeList($sArticleId)
    {
        $this->GetNoticeListArticles();
        if (array_key_exists($sArticleId, $this->aNoticeList)) {
            unset($this->aNoticeList[$sArticleId]);
            if ($this->IsLoggedIn()) {
                $noticeListItemObject = TdbShopUserNoticeList::GetNewInstance();
                if (true === $noticeListItemObject->LoadFromFields(
                    array(
                        'data_extranet_user_id' => $this->id,
                        'shop_article_id' => $sArticleId,
                    )
                )) {
                    $noticeListItemObject->Delete();
                }
            } else {
                $this->CommitNoticeListToCookie();
            }
        }
    }
public function RemoveArticleFromNoticeList($sArticleId)
    {
        $this->GetNoticeListArticles();
        if (array_key_exists($sArticleId, $this->aNoticeList)) {
            unset($this->aNoticeList[$sArticleId]);
            if ($this->IsLoggedIn()) {
                $noticeListItemObject = TdbShopUserNoticeList::GetNewInstance();
                if (true === $noticeListItemObject->LoadFromFields(
                    array(
                        'data_extranet_user_id' => $this->id,
                        'shop_article_id' => $sArticleId,
                    )
                )) {
                    $noticeListItemObject->Delete();
                }
            } else {
                $this->CommitNoticeListToCookie();
            }
        }
    }
public function RemoveArticleFromNoticeList ( $ sArticleId ) { $ this -> GetNoticeListArticles ( ) ; if ( array_key_exists ( $ sArticleId , $ this -> aNoticeList ) ) { unset ( $ this -> aNoticeList [ $ sArticleId ] ) ; if ( $ this -> IsLoggedIn ( ) ) { $ noticeListItemObject = TdbShopUserNoticeList :: GetNewInstance ( ) ; if ( true === $ noticeListItemObject -> LoadFromFields ( array ( 'data_extranet_user_id' => $ this -> id , 'shop_article_id' => $ sArticleId , ) ) ) { $ noticeListItemObject -> Delete ( ) ; } } else { $ this -> CommitNoticeListToCookie ( ) ; } } }
remove an article form the notice list.

@param string $sArticleId
remove an article form the notice list .