You are here

public function MigrateSourceSpreadsheet::unload in Migrate 7.2

Unloads the workbook.

2 calls to MigrateSourceSpreadsheet::unload()
MigrateSourceSpreadsheet::getNextRow in plugins/sources/spreadsheet.inc
Implements MigrateSource::getNextRow().
MigrateSourceSpreadsheet::__construct in plugins/sources/spreadsheet.inc
Simple initialization.

File

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

Class

MigrateSourceSpreadsheet
Implements MigrateSource, to handle imports from XLS files.

Code

public function unload() {
  $this->workbook
    ->disconnectWorksheets();
  unset($this->workbook);
}