* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_acl_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Array of retrieved Acl property values.
+ * API result array
*/
function civicrm_api3_acl_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Array of deleted values.
+ * API result array
*/
function civicrm_api3_acl_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_acl_role_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Array of retrieved AclRole property values.
+ * API result array
*/
function civicrm_api3_acl_role_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Array of deleted values.
+ * API result array
*/
function civicrm_api3_acl_role_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_action_schedule_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'ActionSchedule');
*
* @throws API_Exception
* @return array
- * Array containing 'is_error' to denote success or failure and details of the created activity.
+ * API result array
*/
function civicrm_api3_activity_create($params) {
* Array per getfields documentation.
*
* @return array
+ * API result array
*/
function civicrm_api3_activity_get($params) {
if (!empty($params['contact_id'])) {
* @throws API_Exception
*
* @return array
+ * API result array
*/
function civicrm_api3_activity_delete($params) {
* @param array $params
*
* @return array
- * Api Result
+ * API result array
*/
function civicrm_api3_activity_contact_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* An associative array of name/value pairs.
*
* @return array
- * details of found tags else error
+ * API result array
*/
function civicrm_api3_activity_contact_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Array per getfields metadata.
*
* @return array
+ * API result array
*/
function civicrm_api3_address_create(&$params) {
/**
* Array per getfields metadata.
*
* @return array
- * api result array
+ * API result array
*/
function civicrm_api3_address_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Array per getfields metadata.
*
* @return array
- * details of found addresses else error
+ * API result array
*/
function civicrm_api3_address_get(&$params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, TRUE, 'Address');
/**
* Retrieve custom searches.
*
- * FIXME This is a bare-minimum placeholder
- *
* @param array $params
*
* @return array
- * details of found Option Values
+ * API result array
*/
function civicrm_api3_custom_search_get($params) {
require_once 'api/v3/OptionValue.php';
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_custom_search_create($params) {
require_once 'api/v3/OptionValue.php';
}
/**
- * Deletes an existing ReportTemplate.
+ * Deletes an existing CustomSearch.
*
* @param array $params
*
* @return array
- * Api result
+ * API result array
*/
function civicrm_api3_custom_search_delete($params) {
require_once 'api/v3/OptionValue.php';
* An associative array of name/value property values of MembershipBlock.
*
* @return array
- * newly created or updated membership block property values.
+ * API result array
*/
function civicrm_api3_membership_block_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* {getfields MembershipBlock_get}
*
* @return array
- * api result array of all found membership block property values.
+ * API result array
*/
function civicrm_api3_membership_block_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * api result array
+ * API result array
*/
function civicrm_api3_membership_block_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_open_i_d_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * API result Array
+ * API result array
*/
function civicrm_api3_open_i_d_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* An associative array of name/value pairs.
*
* @return array
- * details of found OpenID
+ * API result array
*/
function civicrm_api3_open_i_d_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Details of found Option Values
+ * API result array
*/
function civicrm_api3_option_value_get($params) {
*
* @throws API_Exception
* @return array
+ * API result array
*/
function civicrm_api3_option_value_create($params) {
$result = _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Api result
+ * API result array
*/
function civicrm_api3_option_value_delete($params) {
// We will get the option group id before deleting so we can flush pseudoconstants.
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_payment_processor_create($params) {
if (empty($params['id']) && empty($params['payment_instrument_id'])) {
* @param array $params
*
* @return array
- * API result Array
+ * API result array
*/
function civicrm_api3_payment_processor_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Array of name/value pairs.
*
* @return array
- * details of found PaymentProcessor
+ * API result array
*/
function civicrm_api3_payment_processor_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Array per getfields metadata.
*
* @return array
- * details of found phones else error
+ * API result array
*/
function civicrm_api3_phone_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Input parameters.
*
* @return array
- * Details of found instances
+ * API result array
*/
function civicrm_api3_report_instance_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_report_instance_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @return array
- * Api result
+ * API result array
*/
function civicrm_api3_report_instance_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
/**
* Retrieve a report template.
*
- * FIXME This is a bare-minimum placeholder
- *
* @param array $params
*
* @return array
- * details of found Option Values
+ * API result array
*/
function civicrm_api3_report_template_get($params) {
require_once 'api/v3/OptionValue.php';
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_report_template_create($params) {
require_once 'api/v3/OptionValue.php';
* @param array $params
*
* @return array
- * Api result
+ * API result array
*/
function civicrm_api3_report_template_delete($params) {
require_once 'api/v3/OptionValue.php';
* Input parameters.
*
* @return array
- * details of found instances
+ * API result array
*/
function civicrm_api3_report_template_getrows($params) {
civicrm_api3_verify_one_mandatory($params, NULL, array('report_id', 'instance_id'));
* @param array $params
*
* @return array
+ * API result array
*/
function civicrm_api3_report_template_getstatistics($params) {
list($rows, $reportInstance, $metadata) = _civicrm_api3_report_template_getrows($params);
* Array per getfields metadata.
*
* @return array
+ * API result array
*/
function civicrm_api3_tag_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* Array per getfields metadata.
*
* @return array
- * details of found tags else error
+ * API result array
*/
function civicrm_api3_tag_get($params) {
* @param array $params
*
* @return array
- * API result array.
+ * API result array
* @todo convert to using basic create - BAO function non-std
*/
function civicrm_api3_website_create($params) {
* @param array $params
*
* @return array
- * API result
+ * API result array
* @throws \API_Exception
*/
function civicrm_api3_website_delete($params) {
* @param array $params
*
* @return array
- * details of found websites
+ * API result array
*/
function civicrm_api3_website_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, TRUE, 'Website');