You are here

class FeedsClearBatch in Feeds 6

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

Batch class for batched deleting of items.

Hierarchy

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

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