package API\Import
inherited_from \APIImport

 Methods

Import()

Import($column_map, $import_options = array(), $validate_only = FALSE
Inherited

Parameters

$column_map

$import_options

$validate_only

__construct()

__construct() 
inherited_from \APIImport::__construct()

__construct()

__construct() 
Inherited

convertAPIReturnHandlerToValidatorObject()

convertAPIReturnHandlerToValidatorObject($api_retarr, $validator_obj = FALSE
Inherited

Parameters

$api_retarr

$validator_obj

convertToMultipleRecords()

convertToMultipleRecords($data) 
Inherited

Parameters

$data

convertToSingleRecord()

convertToSingleRecord($data) 
Inherited

Parameters

$data

downloaded a result_set as a csv.

exportRecords($format, $file_name, $result, $filter_columns) : array | boolean
Inherited

Parameters

$format

$file_name

$result

$filter_columns

Returns

arrayboolean

generateColumnMap()

generateColumnMap() 
Inherited

getAMFMessageID()

getAMFMessageID() 
Inherited

getCurrentCompanyObject()

getCurrentCompanyObject() 
Inherited

getCurrentUserObject()

getCurrentUserObject() 
Inherited

getCurrentUserPreferenceObject()

getCurrentUserPreferenceObject() 
Inherited

getImportObject()

getImportObject() 
Inherited

getImportObjects()

getImportObjects() 
Inherited

getMainClassObject()

getMainClassObject() 
Inherited

getNextInsertID()

getNextInsertID() 
Inherited

getOptions()

getOptions($name = FALSE, $parent = NULL
Inherited

Parameters

$name

$parent

getPagerData()

getPagerData() 
Inherited

getParsedData()

getParsedData() 
Inherited

getPermissionChildren()

getPermissionChildren() 
Inherited

getPermissionObject()

getPermissionObject() 
Inherited

getProgressBarObject()

getProgressBarObject() 
Inherited

getProtocolVersion()

getProtocolVersion() 
Inherited

getRawData()

getRawData($limit = NULL
Inherited

Parameters

$limit

getVariableToFunctionMap()

getVariableToFunctionMap($name, $parent = NULL
Inherited

Parameters

$name

$parent

handlePermissionFilterColumns()

handlePermissionFilterColumns($filter_columns, $allowed_columns) 
Inherited

Parameters

$filter_columns

$allowed_columns

handleRecordValidationResults()

handleRecordValidationResults($validator, $validator_stats, $key, $save_result) 
Inherited

Parameters

$validator

$validator_stats

$key

$save_result

initializeFilterAndPager()

initializeFilterAndPager($data, $disable_paging = FALSE
Inherited

Parameters

$data

$disable_paging

mergeColumnMap()

mergeColumnMap($saved_column_map) 
Inherited

Parameters

$saved_column_map

returnFileValidationError()

returnFileValidationError() 
Inherited

returnHandler()

returnHandler($retval = TRUE, $code = FALSE, $description = FALSE, $details = FALSE, $validator_stats = FALSE, $user_generic_status_batch_id = FALSE, $request_data = FALSE
Inherited

Parameters

$retval

$code

$description

$details

$validator_stats

$user_generic_status_batch_id

$request_data

setAMFMessageID()

setAMFMessageID($id) 
Inherited

Parameters

$id

setMainClassObject()

setMainClassObject($obj) 
Inherited

Parameters

$obj

setPagerObject()

setPagerObject($lf) 
Inherited

Parameters

$lf

setRawData()

setRawData($data) 
Inherited

Parameters

$data

setValidationArray()

setValidationArray($primary_validator, $secondary_validator, $tertiary_validator = FALSE
Inherited

Parameters

$primary_validator

$secondary_validator

$tertiary_validator

stripReturnHandler()

stripReturnHandler($retarr) 
Inherited

Parameters

$retarr

 Properties

 

$data

$data 

Default

array()
 

$import_obj

$import_obj 

Default

NULL
 

$AMF_message_id

$AMF_message_id 

Default

NULL
 

$current_company

$current_company 

Default

NULL
 

$current_user

$current_user 

Default

NULL
 

$current_user_prefs

$current_user_prefs 

Default

NULL
 

$main_class

$main_class 

Default

'ImportAccrual'
 

$main_class_obj

$main_class_obj 

Default

NULL
 

$pager_obj

$pager_obj 

Default

NULL
 

$permission

$permission 

Default

NULL
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL