protected function CampaignMonitorManager::createListObj in Campaign Monitor 8.2
Create API list object.
Parameters
string $listId: The Campaign Monitor list ID.
Return value
\CS_REST_Lists The Campaign Monitor list object.
6 calls to CampaignMonitorManager::createListObj()
- CampaignMonitorManager::createList in src/
CampaignMonitorManager.php - Create a new list at the Campaign Monitor servers.
- CampaignMonitorManager::deleteList in src/
CampaignMonitorManager.php - Delete a list from Campaign Monitor.
- CampaignMonitorManager::getCustomFields in src/
CampaignMonitorManager.php - Fetch custom fields for a given list.
- CampaignMonitorManager::getListDetails in src/
CampaignMonitorManager.php - Gets list details from Campaign Monitor.
- CampaignMonitorManager::getListStats in src/
CampaignMonitorManager.php - Fetch stats about a given list including subscribers and unsubscribers.
File
- src/
CampaignMonitorManager.php, line 215
Class
- CampaignMonitorManager
- Manager for Campaignmonitor.
Namespace
Drupal\campaignmonitorCode
protected function createListObj($listId) {
return new \CS_REST_Lists($listId, $this->apiKey);
}