class Mailchimp in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/Mailchimp.php \Mailchimp\Mailchimp
- 8 lib/mailchimp-api-php/tests/src/Mailchimp.php \Mailchimp\Tests\Mailchimp
Test Mailchimp library.
@package Mailchimp\Tests
Hierarchy
Expanded class hierarchy of Mailchimp
9 string references to 'Mailchimp'
- mailchimp.info.yml in ./
mailchimp.info.yml - mailchimp.info.yml
- mailchimp.links.menu.yml in ./
mailchimp.links.menu.yml - mailchimp.links.menu.yml
- mailchimp.routing.yml in ./
mailchimp.routing.yml - mailchimp.routing.yml
- MailchimpSignupForm::form in modules/
mailchimp_signup/ src/ Form/ MailchimpSignupForm.php - Gets the actual form array to be built.
- mailchimp_campaign.info.yml in modules/
mailchimp_campaign/ mailchimp_campaign.info.yml - modules/mailchimp_campaign/mailchimp_campaign.info.yml
File
- lib/
mailchimp-api-php/ tests/ src/ Mailchimp.php, line 10
Namespace
Mailchimp\TestsView source
class Mailchimp extends \Mailchimp\Mailchimp {
/**
* @inheritdoc
*/
public function __construct($api_key = 'apikey', $api_user = 'apikey', $http_options = []) {
$this->client = new MailchimpTestHttpClient();
}
public function getClient() {
return $this->client;
}
public function getEndpoint() {
return $this->endpoint;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Mailchimp:: |
private | property | The Mailchimp API key to authenticate with. | |
Mailchimp:: |
private | property | The Mailchimp API username to authenticate with. | |
Mailchimp:: |
private | property | Array of pending batch operations. | |
Mailchimp:: |
protected | property | The HTTP client. | |
Mailchimp:: |
private | property | A Mailchimp API error code to return with every API response. | |
Mailchimp:: |
protected | property | The REST API endpoint. | |
Mailchimp:: |
public | property | API version. | |
Mailchimp:: |
protected | function | Adds a pending batch operation. | |
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
constant | |||
Mailchimp:: |
public | function | Gets Mailchimp account information for the authenticated account. | |
Mailchimp:: |
public | function | Gets the status of a batch request. | |
Mailchimp:: |
public | function | ||
Mailchimp:: |
private | function | Gets the ID of the data center associated with an API key. | |
Mailchimp:: |
private | function | Instantiates a default HTTP client based on the local environment. | |
Mailchimp:: |
public | function | ||
Mailchimp:: |
public | function | Processes all pending batch operations. | |
Mailchimp:: |
public | function | Makes a request to the Mailchimp API. | |
Mailchimp:: |
public | function | Sets a custom HTTP client to be used for all API requests. | |
Mailchimp:: |
public | function | Sets a Mailchimp error code to be returned by all requests. | |
Mailchimp:: |
constant | |||
Mailchimp:: |
public | function |
@inheritdoc Overrides Mailchimp:: |