You are here

function CampaignMonitor::clientGeneric in Campaign Monitor 5.2

Same name and namespace in other branches
  1. 6.3 lib/CMBase.php \CampaignMonitor::clientGeneric()
  2. 6.2 lib/CMBase.php \CampaignMonitor::clientGeneric()
5 calls to CampaignMonitor::clientGeneric()
CampaignMonitor::clientGetCampaigns in lib/CMBase.php
*
CampaignMonitor::clientGetDetail in lib/CMBase.php
*
CampaignMonitor::clientGetLists in lib/CMBase.php
*
CampaignMonitor::clientGetSegments in lib/CMBase.php
*
CampaignMonitor::clientGetSuppressionList in lib/CMBase.php
*

File

lib/CMBase.php, line 937

Class

CampaignMonitor

Code

function clientGeneric($method, $client_id = null) {
  if (!$client_id) {
    $client_id = $this->client_id;
  }
  return $this
    ->makeCall('Client.' . $method, array(
    'params' => array(
      'ClientID' => $client_id,
    ),
  ));
}