|
|
@@ -92,6 +92,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("CreateDistributionListRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
/**
|
|
|
* load response to model
|
|
|
@@ -133,8 +134,9 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("ModifyDistributionListRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
- if($data = $result->getResponseBody()['MODIFYDISTRIBUTIONLISTRESPONSE']['DL'])
|
|
|
+ if($data = $result->getResponseBody()['MODIFYDISTRIBUTIONLISTRESPONSE']['DL'])
|
|
|
{
|
|
|
$list->fill($data);
|
|
|
return $list;
|
|
|
@@ -157,6 +159,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("DeleteDistributionListRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
if($result->getResponseBody()['DELETEDISTRIBUTIONLISTRESPONSE'])
|
|
|
{
|
|
|
@@ -185,6 +188,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("AddDistributionListMemberRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
if($result->getResponseBody()['ADDDISTRIBUTIONLISTMEMBERRESPONSE'])
|
|
|
{
|
|
|
@@ -231,6 +235,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("DistributionListActionRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
if($result->getResponseBody()['DISTRIBUTIONLISTACTIONRESPONSE'])
|
|
|
{
|
|
|
@@ -274,6 +279,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("AddDistributionListAliasRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
if($result->getResponseBody()['ADDDISTRIBUTIONLISTALIASRESPONSE'])
|
|
|
{
|
|
|
@@ -299,6 +305,7 @@ class DistributionList extends AbstractAction
|
|
|
$result = $result = $this->connection
|
|
|
->cleanResponse()
|
|
|
->request("RemoveDistributionListAliasRequest",$params);
|
|
|
+ $this->setLastResult($result);
|
|
|
|
|
|
if($result->getResponseBody()['REMOVEDISTRIBUTIONLISTALIASRESPONSE'])
|
|
|
{
|