You are here

public function FeedsImportBatch::getItemCount in Feeds 6

Same name and namespace in other branches
  1. 7 includes/FeedsBatch.inc \FeedsImportBatch::getItemCount()

Get number of items.

Deprecated

This method is deprecated. Access directly instead. For example: $count = count($batch->items);

File

includes/FeedsBatch.inc, line 345

Class

FeedsImportBatch
A FeedsImportBatch wraps the actual content retrieved from a FeedsSource. On import, it is created on the fetching stage and passed through the parsing and processing stage where it is normalized and consumed.

Code

public function getItemCount() {
  return count($this->items);
}