Documentation

civicrm_cli_csv_deleter extends civicrm_cli_csv_file
in package

class for processing records to delete used by csv/delete.php

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
$header  : mixed
$separator  : mixed

Methods

__construct()  : mixed
_accessing_from_cli()  : bool
Ensure function is being run from the cli.
callApi()  : bool
convertLine()  : array<string|int, mixed>
initialize()  : bool
processline()  : mixed
run()  : mixed
Run CLI function.

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

convertLine()

public convertLine(mixed $data) : array<string|int, mixed>
Parameters
$data : mixed
Return values
array<string|int, mixed>

initialize()

public initialize() : bool
Return values
bool

processline()

public processline(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

run()

Run CLI function.

public run() : mixed

        
On this page

Search results