Skip to content

Commit

Permalink
fix getters
Browse files Browse the repository at this point in the history
  • Loading branch information
Елькин Сергей committed Jun 2, 2015
1 parent bd3d61d commit 59cdd74
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function toString()
public function setTags($tags)
{
foreach ($tags as $tag) {
$this->getMessageBuilder()->addTag($tag);
$this->_tags = $this->getMessageBuilder()->addTag($tag);
}
return $this;
}
Expand All @@ -264,7 +264,7 @@ public function getTags()
*/
public function setClickTracking($mode)
{
$this->getMessageBuilder()->setClickTracking($mode);
$this->_clickTracking = $this->getMessageBuilder()->setClickTracking($mode);
return $this;
}

Expand All @@ -282,7 +282,7 @@ public function getClickTracking()
*/
public function setOpensTracking($enabled)
{
$this->getMessageBuilder()->setOpenTracking($enabled);
$this->_opensTracking = $this->getMessageBuilder()->setOpenTracking($enabled);
return $this;
}

Expand All @@ -301,7 +301,7 @@ public function getOpensTracking()
*/
public function setCampaignId($id)
{
$this->getMessageBuilder()->addCampaignId($id);
$this->_campaignId = $this->getMessageBuilder()->addCampaignId($id);
return $this;
}

Expand All @@ -319,7 +319,7 @@ public function getCampaignId()
*/
public function setDkim($enabled)
{
$this->getMessageBuilder()->setDkim($enabled);
$this->_dkim = $this->getMessageBuilder()->setDkim($enabled);
return $this;
}

Expand All @@ -337,7 +337,7 @@ public function getDkim()
*/
public function setTestMode($enabled)
{
$this->getMessageBuilder()->setTestMode($enabled);
$this->_testMode = $this->getMessageBuilder()->setTestMode($enabled);
return $this;
}

Expand Down

0 comments on commit 59cdd74

Please sign in to comment.