You are here

public function MigrateSQLMap::valid in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/sqlmap.inc \MigrateSQLMap::valid()

Implementation of Iterator::valid() - called at the top of the loop, returning TRUE to process the loop and FALSE to terminate it.

File

plugins/sources/sqlmap.inc, line 758
Defines a Drupal db-based implementation of MigrateMap.

Class

MigrateSQLMap
@file Defines a Drupal db-based implementation of MigrateMap.

Code

public function valid() {

  // TODO: Check numProcessed against itemlimit
  return !is_null($this->currentRow);
}