Documentation

cli.class.php

This files provides several classes for doing command line work with CiviCRM. civicrm_cli is the base class. It's used by cli.php.

In addition, there are several additional classes that inherit civicrm_cli to do more precise functions.

Table of Contents

Classes

civicrm_cli
base class for doing all command line operations via civicrm used by cli.php
civicrm_cli_csv_exporter
class used by csv/export.php to export records from the database in a csv file format.
civicrm_cli_csv_file
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.
civicrm_cli_csv_importer
class for processing records to add used by csv/import.php
civicrm_cli_csv_deleter
class for processing records to delete used by csv/delete.php

        
On this page

Search results