![]() |
Maileon PHP client
1.2.5
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
getTargetGroupsCount () | |
getTargetGroups ($page_index=1, $page_size=10) | |
getTargetGroup ($targetGroupId) | |
createTargetGroup ($targetGroup) | |
deleteTargetGroup ($targetGroupId) | |
![]() | |
__construct (array $config) | |
setDebug ($isDebug) | |
isDebug () | |
get ($resourcePath, $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null) | |
put ($resourcePath, $payload="", $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null) | |
post ($resourcePath, $payload="", $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null) | |
delete ($resourcePath, $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null) | |
Additional Inherited Members | |
![]() | |
static | $MAILEON_XML_MIME_TYPE = 'application/vnd.maileon.api+xml' |
![]() | |
appendArrayFields ($params, $name, $fieldValues) | |
![]() | |
$configuration | |
$encodedApiKey | |
$debug = false | |
$throwException = true | |
$proxy_host | |
$proxy_port = 80 | |
$timeout | |
Facade that wraps the REST service for target groups
Definition at line 8 of file TargetGroupsService.php.
com_maileon_api_targetgroups_TargetGroupsService::getTargetGroupsCount | ( | ) |
Definition at line 17 of file TargetGroupsService.php.
com_maileon_api_targetgroups_TargetGroupsService::getTargetGroups | ( | $page_index = 1 , |
|
$page_size = 10 |
|||
) |
Returns the defined target groups.
number | $page_index | the paging index of the page to fetch |
number | $page_size | the number of entries to return per page |
Definition at line 33 of file TargetGroupsService.php.
com_maileon_api_targetgroups_TargetGroupsService::getTargetGroup | ( | $targetGroupId | ) |
string | $targetGroupId |
Definition at line 48 of file TargetGroupsService.php.
com_maileon_api_targetgroups_TargetGroupsService::createTargetGroup | ( | $targetGroup | ) |
Create a target group
com_maileon_api_targetgroups_TargetGroup | $targetGroup |
Definition at line 60 of file TargetGroupsService.php.
com_maileon_api_targetgroups_TargetGroupsService::deleteTargetGroup | ( | $targetGroupId | ) |
string | $targetGroupId |
Definition at line 71 of file TargetGroupsService.php.