<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
*
*/
-/**
- * Files required for this package
- */
-
/**
* Handle a create event.
*
* @param array $ids
*
* @return array
- * API Success Array
+ * API Success Array
*/
function civicrm_api3_mailing_create($params, $ids = array()) {
if (CRM_Mailing_Info::workflowEnabled()) {
* @param array $ids
*
* @return array
- * API Success Array
+ * API Success Array
*/
function civicrm_api3_mailing_delete($params, $ids = array()) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
/**
* @deprecated api notice
* @return array
- * of deprecated actions
+ * Array of deprecated actions
*/
function _civicrm_api3_mailing_deprecation() {
return array('event_confirm' => 'Mailing api "event_confirm" action is deprecated. Use the mailing_event_confirm api instead.');
* Fix the reset dates on the email record based on when a mail was last delivered
* We only consider mailings that were completed and finished in the last 3 to 7 days
* Both the min and max days can be set via the params
+ * @param array $params
+ * @return array
*/
function civicrm_api3_mailing_update_email_resetdate($params) {
CRM_Mailing_Event_BAO_Delivered::updateEmailResetDate(