|
| static | getItem (FileFetcher $fileFetcher, $importer=NULL) |
| |
Defines and provide a single item for an ImporterList.
Definition at line 12 of file ImporterListItem.php.
◆ __construct()
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::__construct |
( |
FileFetcher |
$fileFetcher, |
|
|
|
$importer = NULL |
|
) |
| |
Constructor method.
- Parameters
-
| \FileFetcher\FileFetcher | $fileFetcher | FileFetcher job object. |
| \Dkan\Datastore\Importer | null | $importer | Datastore importer job object, or NULL if one does not exist. |
Definition at line 97 of file ImporterListItem.php.
◆ getItem()
| static Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::getItem |
( |
FileFetcher |
$fileFetcher, |
|
|
|
$importer = NULL |
|
) |
| |
|
static |
Static function to build a full object with a single call.
- Parameters
-
| \FileFetcher\FileFetcher | $fileFetcher | The FileFetcher object. |
| \Dkan\Datastore\Importer | null | $importer | Importer object. |
Definition at line 110 of file ImporterListItem.php.
◆ $fileFetcher
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$fileFetcher |
◆ $fileFetcherBytes
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$fileFetcherBytes |
◆ $fileFetcherPercentDone
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$fileFetcherPercentDone |
◆ $fileFetcherStatus
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$fileFetcherStatus |
◆ $fileName
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$fileName |
◆ $importer
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$importer |
◆ $importerBytes
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$importerBytes |
◆ $importerPercentDone
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$importerPercentDone |
◆ $importerStatus
| Drupal\dkan_datastore\Service\ImporterList\ImporterListItem::$importerStatus |