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 
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 Sat Jan 18 07:10:59 2020