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

ImportDataProvider Class Reference

Public Member Functions

 getTableName ()
 __construct ($tableName, $excludeFirstRow=false, array $config=array(), $filteredByStatus=null, $filteredByAnalysisStatus=null)
 hasHeaderRow ()
 calculateTotalItemCount ()
 getCountByWhere ($where)
 getCountDataByGroupByColumnName ($groupbyColumnName, $where=null)

Protected Member Functions

 fetchData ()
 fetchKeys ()
 resolveWhereClause (&$where)

Detailed Description

A data provider that manages import data during the import process. The data provider will retrieve data from the temporary import table that is created when a csv is uploaded.

Definition at line 41 of file ImportDataProvider.php.


Constructor & Destructor Documentation

__construct ( tableName,
excludeFirstRow = false,
array $  config = array(),
filteredByStatus = null,
filteredByAnalysisStatus = null 
)
Parameters:
string $tableName
bool $excludeFirstRow
array $config
null|int $filteredByStatus
null|int $filteredByAnalysisStatus

Definition at line 63 of file ImportDataProvider.php.


Member Function Documentation

fetchData (  )  [protected]

See the yii documentation.

Definition at line 88 of file ImportDataProvider.php.

calculateTotalItemCount (  ) 

See the yii documentation. This function is made public for unit testing.

Definition at line 116 of file ImportDataProvider.php.

fetchKeys (  )  [protected]

See the yii documentation.

Definition at line 126 of file ImportDataProvider.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 07:10:53 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