function CampaignMonitor::clientGeneric in Campaign Monitor 6.3
Same name and namespace in other branches
- 5.2 lib/CMBase.php \CampaignMonitor::clientGeneric()
- 6.2 lib/CMBase.php \CampaignMonitor::clientGeneric()
6 calls to CampaignMonitor::clientGeneric()
File
- lib/
CMBase.php, line 853
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
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,
),
));
}