You are here

public function MigrateSQLMap::valid in Migrate 6.2

Same name and namespace in other branches
  1. 7.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 638
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);
}