You are here

class FeedsClearBatch in Feeds 7

Same name and namespace in other branches
  1. 6 includes/FeedsBatch.inc \FeedsClearBatch

Batch class for batched deleting of items.

Hierarchy

Expanded class hierarchy of FeedsClearBatch

File

includes/FeedsBatch.inc, line 320

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->deleted = 0;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FeedsBatch::$progress protected property
FeedsBatch::$total protected property
FeedsBatch::getProgress public function Report progress.
FeedsBatch::getTotal public function Get the total for a stage.
FeedsBatch::setProgress public function Set progress for a stage.
FeedsBatch::setTotal public function Set the total for a stage.
FeedsClearBatch::$deleted public property
FeedsClearBatch::__construct public function Overrides FeedsBatch::__construct