public function MailchimpCampaigns::getCampaign in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpCampaigns.php \Mailchimp\MailchimpCampaigns::getCampaign()
- 8 lib/mailchimp-api-php/tests/src/MailchimpCampaigns.php \Mailchimp\Tests\MailchimpCampaigns::getCampaign()
Gets information about a specific campaign.
Parameters
string $campaign_id: The ID of the campaign.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/campaig...
1 call to MailchimpCampaigns::getCampaign()
- MailchimpCampaigns::getCampaign in lib/
mailchimp-api-php/ tests/ src/ MailchimpCampaigns.php - @inheritdoc
1 method overrides MailchimpCampaigns::getCampaign()
- MailchimpCampaigns::getCampaign in lib/
mailchimp-api-php/ tests/ src/ MailchimpCampaigns.php - @inheritdoc
File
- lib/
mailchimp-api-php/ src/ MailchimpCampaigns.php, line 47
Class
- MailchimpCampaigns
- Mailchimp Campaigns library.
Namespace
MailchimpCode
public function getCampaign($campaign_id, $parameters = []) {
$tokens = [
'campaign_id' => $campaign_id,
];
return $this
->request('GET', '/campaigns/{campaign_id}', $tokens, $parameters);
}