FeedDiscussionsPlugin::AddFeed PHP Method

AddFeed() protected method

protected AddFeed ( $FeedURL, $Feed )
    protected function AddFeed($FeedURL, $Feed)
    {
        $FeedKey = self::EncodeFeedKey($FeedURL);
        $Feed['URL'] = $FeedURL;
        $EncodedFeed = json_encode($Feed);
        $this->SetUserMeta(0, "Feed.{$FeedKey}", $EncodedFeed);
        // regenerate the internal feed list
        $this->GetFeeds(TRUE, TRUE);
    }