All Data Structures Functions Variables Pages
Public Member Functions
ImportMessageLogger Class Reference
Inheritance diagram for ImportMessageLogger:
MessageLogger

Public Member Functions

 countAfterRowImported ()
 
 countDataProviderGetDataImportCompleted ()
 
 setMessageOutputInterval ($interval)
 
 resetCounts ()
 
- Public Member Functions inherited from MessageLogger
 __construct ($messageStreamer=null)
 
 addInfoMessage ($message)
 
 addErrorMessage ($message)
 
 addDebugMessage ($message)
 
 getMessages ()
 
 printMessages ($return=false, $errorOnly=false)
 
 isErrorMessagePresent ()
 

Additional Inherited Members

- Static Public Member Functions inherited from MessageLogger
static getTypeLabel ($type)
 
- Data Fields inherited from MessageLogger
const ERROR = 1
 
const INFO = 2
 
const DEBUG = 3
 
 $logDateTimeStamp = true
 
- Protected Member Functions inherited from MessageLogger
 add ($message)
 
 shouldPrintDebugMessages ()
 
- Static Protected Member Functions inherited from MessageLogger
static getFormattedDateTimeStampForNow ()
 
- Protected Attributes inherited from MessageLogger
 $errorMessagePresent = false
 
 $messages = array()
 
 $messageStreamer
 
 $messageStreamers = array()
 

Detailed Description

Helper class for logging messages during the final sanitize and import process.

Definition at line 40 of file ImportMessageLogger.php.

Member Function Documentation

countAfterRowImported ( )

During import, add a count after a row has been imported. This can be used to provide paging information regarding how far an import is.

Definition at line 52 of file ImportMessageLogger.php.

countDataProviderGetDataImportCompleted ( )

Once the import is complete when using getData in ImportUtil::importByDataProvider, this can be called to provide the final count.

Definition at line 75 of file ImportMessageLogger.php.


The documentation for this class was generated from the following file:
Generated on Wed Apr 1 2020 07:10:58