CRM_Import_DataSource
abstract class CRM_Import_DataSource
This class defines the DataSource interface but must be subclassed to be useful.
Methods
array
getInfo()
Provides information about the data source.
buildQuickForm(CRM_Core_Form $form)
This is function is called by the form object to get the DataSource's form snippet.
bool
checkPermission()
Determine if the current user has access to this data source.
Details
at line 51
abstract array
getInfo()
Provides information about the data source.
at line 58
abstract
preProcess(CRM_Core_Form $form)
Set variables up before form is built.
at line 67
abstract
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.
at line 76
abstract
postProcess(array $params, string $db, CRM_Core_Form $form)
Process the form submission.
at line 83
bool
checkPermission()
Determine if the current user has access to this data source.