class FeedsClearBatch in Feeds 6
Same name and namespace in other branches
- 7 includes/FeedsBatch.inc \FeedsClearBatch
Batch class for batched deleting of items.
Hierarchy
- class \FeedsBatch
- class \FeedsClearBatch
Expanded class hierarchy of FeedsClearBatch
File
- includes/
FeedsBatch.inc, line 353
View source
class FeedsClearBatch extends FeedsBatch {
// Number of items deleted.
public $deleted;
public function __construct() {
parent::__construct();
$this->progress = array(
FEEDS_CLEARING => FEEDS_BATCH_COMPLETE,
);
$this->total = array(
FEEDS_CLEARING => 0,
);
$this->deleted = 0;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsBatch:: |
protected | property | ||
FeedsBatch:: |
protected | property | ||
FeedsBatch:: |
public | function | Report progress. | |
FeedsBatch:: |
public | function | Get the total for a stage. | |
FeedsBatch:: |
public | function | Set progress for a stage. | |
FeedsBatch:: |
public | function | Set the total for a stage. | |
FeedsClearBatch:: |
public | property | ||
FeedsClearBatch:: |
public | function |
Overrides FeedsBatch:: |