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) |
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.
__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.
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.