class civicrm_cli

base class for doing all command line operations via civicrm used by cli.php

Properties

$_required_arguments
$_additional_arguments
$_entity
$_action
$_output
$_joblog
$_semicolon
$_config
$_site
$_user
$_password
$_params
$_errors

Methods

bool
initialize()

No description

bool
_accessing_from_cli()

Ensure function is being run from the cli.

bool
callApi()

No description

Details

at line 66
bool initialize()

Return Value

bool

at line 87
bool _accessing_from_cli()

Ensure function is being run from the cli.

Return Value

bool

at line 99
bool callApi()

Return Value

bool