You are here

function CampaignMonitor::subscribersGetUnsubscribed in Campaign Monitor 6.3

Same name and namespace in other branches
  1. 6.2 lib/CMBase.php \CampaignMonitor::subscribersGetUnsubscribed()

*

Parameters

mixed $date If a string, should be in the date() format of 'Y-m-d H:i:s', otherwise, a Unix timestamp.: * @param int $list_id (Optional) A valid List ID to check against. If not given, the default class property is used. * @see http://www.campaignmonitor.com/api/Subscribers.GetUnsubscribed.aspx

File

lib/CMBase.php, line 601

Class

CampaignMonitor
The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.

Code

function subscribersGetUnsubscribed($date = 0, $list_id = null) {
  return $this
    ->subscribersGetActive($date, $list_id, 'Subscribers.GetUnsubscribed');
}