EasyBlogMailchimp
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $key : mixed
- $lang : mixed
- $my : mixed
- $string : mixed
- $url : mixed
Methods
- __construct() : mixed
- addCampaignContent() : mixed
- Allows caller to add content to campaign
- createCampaign() : mixed
- Allows caller to create a campaign
- getError() : mixed
- getErrors() : mixed
- hasError() : mixed
- hasErrors() : mixed
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- notify() : mixed
- Creates a new campaign and send it immediately.
- sendCampaign() : mixed
- Allow callers to send campaign
- setError() : mixed
- subscribe() : mixed
- Allows caller to send a subscribe IPN to mailchimp
Properties
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$key
public
mixed
$key
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$string
public
mixed
$string
= \null
$url
public
mixed
$url
= 'api.mailchimp.com/3.0/'
Methods
__construct()
public
__construct() : mixed
addCampaignContent()
Allows caller to add content to campaign
public
addCampaignContent(mixed $campaignId, mixed $jsonData) : mixed
Parameters
- $campaignId : mixed
- $jsonData : mixed
Tags
createCampaign()
Allows caller to create a campaign
public
createCampaign(mixed $jsonData) : mixed
Parameters
- $jsonData : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
notify()
Creates a new campaign and send it immediately.
public
notify(mixed $emailTitle, mixed $emailData, mixed &$blog) : mixed
Parameters
- $emailTitle : mixed
- $emailData : mixed
- $blog : mixed
Tags
sendCampaign()
Allow callers to send campaign
public
sendCampaign(mixed $campaignId) : mixed
Parameters
- $campaignId : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
subscribe()
Allows caller to send a subscribe IPN to mailchimp
public
subscribe(mixed $email, mixed $firstName[, mixed $lastName = '' ]) : mixed
Parameters
- $email : mixed
- $firstName : mixed
- $lastName : mixed = ''