public function EntityListMigrateSource::getNextRow in CRM Core 7
File
- modules/
crm_core_data_import/ plugins/ source/ CivicrmDataSourceHandler.inc, line 595
Class
- EntityListMigrateSource
- Class EntityListMigrateSource which contains list of entities.
Code
public function getNextRow() {
if (!empty($this->entityList[$this->currentId])) {
$row = $this
->fetchItem();
$this->currentId++;
return $row;
}
else {
return NULL;
}
}