Свойство | Тип | Описание | |
---|---|---|---|
$lists | * @var \Spatie\Newsletter\NewsletterListCollection | ||
$mailChimp |
Метод | Описание | |
---|---|---|
__construct ( |
||
createCampaign ( string $fromName, string $replyTo, string $subject, string $html = '', string $listName = '', array $options = [], array $contentOptions = [] ) : array | boolean | ||
delete ( $email, string $listName = '' ) : array | false | ||
getApi ( ) : |
||
getLastError ( ) : array | false | ||
getMember ( string $email, string $listName = '' ) : array | boolean | ||
hasMember ( string $email, string $listName = '' ) : boolean | ||
lastActionSucceeded ( ) : boolean | ||
subscribe ( string $email, array $mergeFields = [], string $listName = '', array $options = [] ) : array | boolean | ||
subscribeOrUpdate ( string $email, array $mergeFields = [], string $listName = '', array $options = [] ) : array | boolean | ||
unsubscribe ( $email, string $listName = '' ) : array | false | ||
updateContent ( $campaignId, $html, $options = [] ) |
Метод | Описание | |
---|---|---|
getSubscriberHash ( string $email ) : string | ||
getSubscriptionOptions ( $email, $mergeFields, $options ) : array |
public __construct ( |
||
$mailChimp | ||
$lists |
public createCampaign ( string $fromName, string $replyTo, string $subject, string $html = '', string $listName = '', array $options = [], array $contentOptions = [] ) : array | boolean | ||
$fromName | string | |
$replyTo | string | |
$subject | string | |
$html | string | |
$listName | string | |
$options | array | |
$contentOptions | array | |
Результат | array | boolean |
protected getSubscriberHash ( string $email ) : string | ||
string | ||
Результат | string |
protected getSubscriptionOptions ( $email, $mergeFields, $options ) : array | ||
$mergeFields | ||
$options | ||
Результат | array |
public unsubscribe ( $email, string $listName = '' ) : array | false | ||
$listName | string | |
Результат | array | false |
protected NewsletterListCollection,Spatie\Newsletter $lists | ||
Результат |