* name/value pairs to insert in new 'survey'
*
* @throws Exception
- * @return array api result array
+ * @return array
+ * api result array
* {@getfields mailing_event_confirm_create}
- * @access public
*/
function civicrm_api3_mailing_event_queue_create($params) {
if (!array_key_exists('id', $params) && !array_key_exists('email_id', $params) && !array_key_exists('phone_id', $params)) {
- throw new API_Exception("Mandatory key missing from params array: id, email_id, or phone_id field is required" );
+ throw new API_Exception("Mandatory key missing from params array: id, email_id, or phone_id field is required");
}
civicrm_api3_verify_mandatory($params,
'CRM_Mailing_DAO_MailingJob',
return _civicrm_api3_basic_create('CRM_Mailing_Event_BAO_Queue', $params);
}
+/**
+ * @param array $params
+ * @return array
+ */
function civicrm_api3_mailing_event_queue_get($params) {
return _civicrm_api3_basic_get('CRM_Mailing_Event_BAO_Queue', $params);
}
+/**
+ * @param array $params
+ * @return array
+ * @throws \API_Exception
+ */
function civicrm_api3_mailing_event_queue_delete($params) {
return _civicrm_api3_basic_delete('CRM_Mailing_Event_BAO_Queue', $params);
}