|
| _accountAction ($sEmail, $sMethod) |
|
| _prepareUser ($oAccount) |
|
| _checkForErrors ($s, $sErrorCurl) |
|
| _request ($sURI, $sMethod, $aData, &$sError) |
|
|
| $sHostnameAPI = 'https://{dc}.api.mailchimp.com/3.0' |
|
| $aFields |
|
|
static | getInstance ($sName) |
|
static | getTitle ($sUri) |
|
static | getTitleKey ($sUri) |
|
| $_aModule |
|
| $_oDb |
|
| $_oTemplate |
|
| $_oConfig |
|
◆ _checkForErrors()
BxMailchimpModule::_checkForErrors |
( |
| $s, |
|
|
| $sErrorCurl ) |
|
protected |
- Returns
- json error object on error or empty string on success
◆ _request()
BxMailchimpModule::_request |
( |
| $sURI, |
|
|
| $sMethod, |
|
|
| $aData, |
|
|
& | $sError ) |
|
protected |
Perform JSON request to the API endpoint and get JSON response
- Returns
- false on error
◆ actionAccountRemove()
BxMailchimpModule::actionAccountRemove |
( |
| $sEmail | ) |
|
remove user from mailchimp by email or account id
◆ actionAccountUpdate()
BxMailchimpModule::actionAccountUpdate |
( |
| $sEmail | ) |
|
update user by email or account id
◆ actionBulkAdd()
BxMailchimpModule::actionBulkAdd |
( |
| $iLimit = BX_MAILCHIMP_LIMIT | ) |
|
Add members in bulk from local database to mailchimp
◆ actionStats()
BxMailchimpModule::actionStats |
( |
| ) |
|
Test query to return some stats
◆ serviceRemoveAccount()
BxMailchimpModule::serviceRemoveAccount |
( |
| $mixed | ) |
|
remove user from mailchimp by email or account id
◆ serviceUpdateAccount()
BxMailchimpModule::serviceUpdateAccount |
( |
| $sEmail | ) |
|
update user in mailchimp by email or account id
◆ $aFields
BxMailchimpModule::$aFields |
|
protected |
Initial value:= array(
'ACCOUNT_ID' => 'number',
'PROFILE_ID' => 'number',
'MEMBERSHIP' => 'text',
'STATUS' => 'text',
'TYPE' => 'text',
'PROFILES' => 'text',
'PROFILE_URL' => 'url',
'IMAGE_URL' => 'imageurl',
'PHONE' => 'phone',
)
The documentation for this class was generated from the following file:
- modules/boonex/mailchimp/classes/BxMailchimpModule.php