You are here

function CampaignMonitor::listGetStats in Campaign Monitor 6.2

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

* Gets statistics for a subscriber list *

Parameters

$list_id The ID of the list whose statistics will be returned.: * @return mixed A parsed response from the server, or null if something * @see http://www.campaignmonitor.com/api/method/list-getstats/

File

lib/CMBase.php, line 1410

Class

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

Code

function listGetStats($list_id) {
  return $this
    ->makeCall('List.GetStats', array(
    'params' => array(
      'ListID' => $list_id,
    ),
  ));
}