public function Migration::processedCount in Migrate 6.2
Same name and namespace in other branches
- 7.2 includes/migration.inc \Migration::processedCount()
Get the number of source records processed.
Return value
int Number of processed records.
1 call to Migration::processedCount()
- Migration::isComplete in includes/
migration.inc - Reports whether this migration process is complete (i.e., all available source rows have been processed).
File
- includes/
migration.inc, line 813 - Defines the base class for import/rollback processes.
Class
- Migration
- The base class for all import objects. This is where most of the smarts of the migrate module resides. Migrations are created by deriving from this class, and in the constructor (after calling parent::__construct()) initializing at a minimum the name,…
Code
public function processedCount() {
try {
$count = $this->map
->processedCount();
} catch (Exception $e) {
$count = t('N/A');
self::displayMessage($e
->getMessage());
}
return $count;
}