Class ImportCSV
CSV importer for WP Google Maps Pro
This handles importing of files.
- WPGMZA\Import
-
WPGMZA\ImportCSV
public
|
#
__construct( string $file = '', string $file_url = '', array $options = array() )
Import constructor. |
protected
|
|
protected
string
|
#
condense_row_ids( $ids )
Turns an array of numerical values, eg 2, 3, 4, 7, 8, 9, 10 and condenses them down insto a string eg 2 - 4, 7 - 10 |
public
string
|
|
protected
|
|
protected
|
|
public
string
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
protected
string
|
$import_type
Import type. |
#
''
|
protected
array
|
$header_map
Header map. |
#
array()
|
protected
|
$failure_message_by_handle
Error messages by handle |
|
protected
|
$failed_rows_by_handle
|
$db_defaults,
$file,
$file_data,
$file_url,
$options
|