modules/Import/Importer.php

Show: inherited
Table of Contents

\Importer

Package:

Properties

Methods

methodpublic__construct(  $importSource,  $bean ) : void

methodpubliccheckRelatedIDsAfterSave(  $focus ) : void

upon bean save, the relationships are saved by SugarBean->save_relationship_changes() method, but those values depend on the request object and is not reliable during import. This function makes sure any defined related or parent id's are processed and their relationship saved.

methodpublicgetImportableModules( ) : void
static

methodpublichandleImportErrors( int $errno, string $errstr, string $errfile, string $errline ) : void
static

Replaces PHP error handler in Step4

methodpublicimport( ) : void

methodpublicretrieveAdvancedMapping( ) : void

methodpublicsetFieldKeyTranslator(  $translator ) : void

Sets a translation map from sugar field key to external source key used while importing a row. This allows external sources to return a data set that is an associative array rather than numerically indexed.

Documentation was generated by DocBlox 0.18.1.