class civicrm_cli_csv_file extends civicrm_cli

base class used by both civicrm_cli_csv_import and civicrm_cli_csv_deleter to add or delete records based on those found in a csv file passed to the script.

Properties

$_required_arguments from civicrm_cli
$_additional_arguments from civicrm_cli
$_entity from civicrm_cli
$_action from civicrm_cli
$_output from civicrm_cli
$_joblog from civicrm_cli
$_semicolon from civicrm_cli
$_config from civicrm_cli
$_site from civicrm_cli
$_user from civicrm_cli
$_password from civicrm_cli
$_params from civicrm_cli
$_errors from civicrm_cli
$header
$separator

Methods

bool
initialize()

No description

bool
_accessing_from_cli()

Ensure function is being run from the cli.

bool
callApi()

No description

__construct()

No description

run()

Run CLI function.

array
convertLine($data)

No description

Details

in civicrm_cli at line 66
bool initialize()

Return Value

bool

in civicrm_cli at line 87
bool _accessing_from_cli()

Ensure function is being run from the cli.

Return Value

bool

in civicrm_cli at line 99
bool callApi()

Return Value

bool

at line 396
__construct()

at line 405
run()

Run CLI function.

at line 445
array convertLine($data)

Parameters

$data

Return Value

array