Skip to content
Snippets Groups Projects
Commit adbac5d6 authored by Alex Barth's avatar Alex Barth
Browse files

Clarify purpose of counter variables.

parent 63010875
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,19 @@ ...@@ -2,14 +2,19 @@
// $Id$ // $Id$
/** /**
* A FeedsBatch object holds the state of an import or clear batch. Used in * A FeedsBatch object holds the state of an import or clear batch.
* FeedsSource class. *
* Used in FeedsSource class. Counter variables are public for easier access.
*/ */
class FeedsBatch { class FeedsBatch {
// Public counters for easier access. // Maximum number of items in this batch. This is not necessarily the current
// number of items in this batch
public $total; public $total;
// Number of items created.
public $created; public $created;
// Number of items updated or replaced.
public $updated; public $updated;
// Number of items deleted.
public $deleted; public $deleted;
public function __construct() { public function __construct() {
$this->total = 0; $this->total = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment