You are here

function CampaignMonitor::clientGetSegments in Campaign Monitor 5.2

Same name and namespace in other branches
  1. 6.3 lib/CMBase.php \CampaignMonitor::clientGetSegments()
  2. 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 1035

Class

CampaignMonitor

Code

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