public function ingestAllFeeds()
    {
        $feeds = $this->getFeeds();

        if (count($feeds) > 0) {

            $updated = array();
            foreach ($feeds as $feed) {
                $updated[] = $this->updateFeed($feed, false);
            }

            $this->liftEmbargo();

            return count($updated);
        } else {
            return 0;
        }
    }
public function ingestAllFeeds()
    {
        $feeds = $this->getFeeds();

        if (count($feeds) > 0) {

            $updated = array();
            foreach ($feeds as $feed) {
                $updated[] = $this->updateFeed($feed, false);
            }

            $this->liftEmbargo();

            return count($updated);
        } else {
            return 0;
        }
    }
public function ingestAllFeeds ( ) { $ feeds = $ this -> getFeeds ( ) ; if ( count ( $ feeds ) > 0 ) { $ updated = array ( ) ; foreach ( $ feeds as $ feed ) { $ updated [ ] = $ this -> updateFeed ( $ feed , false ) ; } $ this -> liftEmbargo ( ) ; return count ( $ updated ) ; } else { return 0 ; } }
Ingest content of all feeds

@return int Number of handled feeds
Ingest content of all feeds