You are here

public function FeedsFileBatch::getFilePath in Feeds 6

Same name and namespace in other branches
  1. 7 plugins/FeedsFileFetcher.inc \FeedsFileBatch::getFilePath()

Implementation of FeedsImportBatch::getFilePath().

Overrides FeedsImportBatch::getFilePath

File

plugins/FeedsFileFetcher.inc, line 33
Home of the FeedsFileFetcher and related classes.

Class

FeedsFileBatch
Definition of the import batch object created on the fetching stage by FeedsFileFetcher.

Code

public function getFilePath() {
  if (!file_exists($this->file_path)) {
    throw new Exception(t('File @filepath is not accessible.', array(
      '@filepath' => $this->file_path,
    )));
  }
  return $this->file_path;
}