class CRM_Import_DataSource_CSV extends CRM_Import_DataSource

Constants

NUM_ROWS_TO_INSERT

Methods

array
getInfo()

Provides information about the data source.

preProcess(CRM_Core_Form $form)

Set variables up before form is built.

buildQuickForm(CRM_Core_Form $form)

This is function is called by the form object to get the DataSource's form snippet.

postProcess(array $params, string $db, CRM_Core_Form $form)

Process the form submission.

bool
checkPermission()

Determine if the current user has access to this data source.

Details

at line 43
array getInfo()

Provides information about the data source.

Return Value

array Description of this data source, including: - title: string, translated, required - permissions: array, optional

at line 52
preProcess(CRM_Core_Form $form)

Set variables up before form is built.

Parameters

CRM_Core_Form $form

at line 63
buildQuickForm(CRM_Core_Form $form)

This is function is called by the form object to get the DataSource's form snippet.

It should add all fields necessary to get the data uploaded to the temporary table in the DB.

Parameters

CRM_Core_Form $form

at line 94
postProcess(array $params, string $db, CRM_Core_Form $form)

Process the form submission.

Parameters

array $params
string $db
CRM_Core_Form $form

in CRM_Import_DataSource at line 83
bool checkPermission()

Determine if the current user has access to this data source.

Return Value

bool