Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ImportResultsUtil Class Reference

Public Member Functions

 __construct (Import $import)
 addRowDataResults (ImportRowDataResultsUtil $importRowDataResultsUtil)
 processStatusAndMessagesForEachRow ()

Static Public Member Functions

static convertSerializedMessagesToDisplayReadyString ($messages)

Protected Attributes

 $import
 $rowResultsData = array()

Detailed Description

Helper class for working with import results as rows are processed. As rows are processed, their individual row results can be collected in this class. Additionally methods in the class can be used to update the rows status and serialize messages for each row that is attempted to be imported.

Definition at line 42 of file ImportResultsUtil.php.


Constructor & Destructor Documentation

__construct ( Import import  ) 
Parameters:
object $import

Definition at line 59 of file ImportResultsUtil.php.


Member Function Documentation

addRowDataResults ( ImportRowDataResultsUtil importRowDataResultsUtil  ) 

Given an ImportRowDataResultsUtil, add it to the row results data collection.

Parameters:
object $importRowDataResultsUtil

Definition at line 68 of file ImportResultsUtil.php.

processStatusAndMessagesForEachRow (  ) 

After the rows have been imported or attempted to be imported, process the status and messages of each row to the temporary table where these rows are stored. This information can then be used later as feedback in the user interface on any issues that need resolving any of the rows.

Definition at line 78 of file ImportResultsUtil.php.

static convertSerializedMessagesToDisplayReadyString ( messages  )  [static]
Parameters:
array $messages
Returns:
null|string

Definition at line 104 of file ImportResultsUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 21 07:10:24 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8