function CampaignMonitor::clientGetSegments in Campaign Monitor 6.3
Same name and namespace in other branches
- 5.2 lib/CMBase.php \CampaignMonitor::clientGetSegments()
- 6.2 lib/CMBase.php \CampaignMonitor::clientGetSegments()
*
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.GetSegments.aspx
1 call to CampaignMonitor::clientGetSegments()
- CampaignMonitor::clientGetSegmentsDropdown in lib/
CMBase.php - * Creates an associative array with list_id:List_Label => (list_id) List_label pairings. * Remember that you'll need to split the key on ':' only once to get the appropriate ListID * and Segment Name. * *
File
- lib/
CMBase.php, line 951
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function clientGetSegments($client_id = null) {
return $this
->clientGeneric('GetSegments', $client_id);
}