Craft Emails (2.x)

MailchimpService extends Component
in package

Table of Contents

CACHE_KEY  = 'emails.mailchimp_lists'
$_lists  : array<string|int, mixed>
$_mailchimp  : MailChimp
clearCaches()  : mixed
Clear mailchimp caches
getApi()  : MailChimp|null
Get api instance
getList()  : MailchimpList
Get a list by id
getLists()  : array<string|int, mixed>
Get all lists
isEnabled()  : bool
Is the api up and running

Constants

Properties

Methods

clearCaches()

Clear mailchimp caches

public clearCaches() : mixed
Return values
mixed

getApi()

Get api instance

public getApi() : MailChimp|null
Return values
MailChimp|null

getLists()

Get all lists

public getLists() : array<string|int, mixed>
Return values
array<string|int, mixed>

isEnabled()

Is the api up and running

public isEnabled() : bool
Return values
bool

Search results