$field = CRM_Utils_String::munge($params['field']);
$value = $params['value'];
- $fields = civicrm_api($entity, 'getFields', array('version' => 3, 'action' => 'create', "sequential"));
+ $fields = civicrm_api($entity, 'getFields', array(
+ 'version' => 3,
+ 'action' => 'create',
+ "sequential")
+ );
// getfields error, shouldn't happen.
if ($fields['is_error']) {
return $fields;
*/
/**
- * Add an IM for a contact.
+ * Add an IM for a contact.
*
* @param array $params
*
}
/**
- * Retrieve one or more IM
+ * Retrieve one or more IM.
*
* @param array $params
* An associative array of name/value pairs.
*
* @return array
* details of found IM
- *
*/
function civicrm_api3_im_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @subpackage API_Job
* @copyright CiviCRM LLC (c) 2004-2014
* $Id: Contact.php 30879 2010-11-22 15:45:55Z shot $
- *
*/
/**
- * Adjust metadata for "Create" action
+ * Adjust metadata for "Create" action.
+ *
+ * The metadata is used for setting defaults, documentation & validation.
*
- * The metadata is used for setting defaults, documentation & validation
* @param array $params
* Array or parameters determined by getfields.
*/
}
/**
- * create scheduled job
+ * Create scheduled job.
*
* @param array $params
* Associative array of property name/value pairs to insert in new job.
*
* @return array
- *
- * {@getfields Job_create}
*/
function civicrm_api3_job_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
/**
- * First check on Code documentation
+ * First check on Code documentation.
*
* @param array $params
*/
}
/**
- * Send the scheduled reminders for all contacts (either for activities or events)
+ * Send the scheduled reminders for all contacts (either for activities or events).
*
* @param array $params
* (reference ) input parameters.
}
}
/**
- * Adjust metadata for "send_reminder" action
+ * Adjust metadata for "send_reminder" action.
+ *
+ * The metadata is used for setting defaults, documentation & validation.
*
- * The metadata is used for setting defaults, documentation & validation
* @param array $params
* Array or parameters determined by getfields.
*/
);
}
/**
- * Execute a specific report instance and send the output via email
+ * Execute a specific report instance and send the output via email.
*
* @param array $params
* (reference ) input parameters.
/**
* Adjust Metadata for Get action
*
- * The metadata is used for setting defaults, documentation & validation
+ * The metadata is used for setting defaults, documentation & validation.
+ *
* @param array $params
* Array or parameters determined by getfields.
*/
}
/**
- * Mass update pledge statuses
+ * Mass update pledge statuses.
*
* @param array $params
+ *
* @return array
*/
function civicrm_api3_job_process_pledge($params) {
}
/**
- * Process mail queue
+ * Process mail queue.
*
* @param array $params
*
}
/**
- * Job to get mail responses from civiMailing
+ * Job to get mail responses from civiMailing.
*
* @param array $params
*