You are here

public function MigrateSourceSpreadsheet::performRewind in Migrate 7.2

Implements MigrateSource::performRewind().

Return value

void

File

plugins/sources/spreadsheet.inc, line 216
Define a MigrateSource for importing from spreadsheet files.

Class

MigrateSourceSpreadsheet
Implements MigrateSource, to handle imports from XLS files.

Code

public function performRewind() {

  // Initialize the workbook if it isn't already.
  if (!isset($this->workbook)) {
    $this
      ->load();
  }
  $this->rowNumber = $this->headerRows + 1;
}