Documentation

civicrm_cli_csv_exporter extends civicrm_cli
in package

class used by csv/export.php to export records from the database in a csv file format.

Table of Contents

Properties

$_action  : mixed
$_additional_arguments  : mixed
$_config  : mixed
$_entity  : mixed
$_errors  : mixed
$_joblog  : mixed
$_output  : mixed
$_params  : array<string|int, mixed>
array that is passed to civicrm_api
$_password  : mixed
$_required_arguments  : array<string|int, mixed>
via the command line
$_semicolon  : mixed
$_site  : string
optional arguments
$_user  : mixed
$separator  : mixed

Methods

__construct()  : mixed
_accessing_from_cli()  : bool
Ensure function is being run from the cli.
callApi()  : bool
initialize()  : bool
run()  : mixed
Run the script.

Properties

$_additional_arguments

public mixed $_additional_arguments = array()

$_params

array that is passed to civicrm_api

public array<string|int, mixed> $_params = array('version' => 3)

$_required_arguments

via the command line

public array<string|int, mixed> $_required_arguments = array('action', 'entity')

$_semicolon

public mixed $_semicolon = \FALSE

$_site

optional arguments

public string $_site = 'localhost'

Methods

_accessing_from_cli()

Ensure function is being run from the cli.

public _accessing_from_cli() : bool
Return values
bool

callApi()

public callApi() : bool
Return values
bool

initialize()

public initialize() : bool
Return values
bool

        
On this page

Search results