You are here

function CampaignMonitor::clientGetCampaigns in Campaign Monitor 6.3

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

*

Parameters

int $client_id (Optional) A valid Client ID to check against. If not given, the default class property is used.: * @return mixed A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/Client.GetCampaigns.aspx

File

lib/CMBase.php, line 940

Class

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

Code

function clientGetCampaigns($client_id = null) {
  return $this
    ->clientGeneric('GetCampaigns', $client_id);
}