public function summaryCampaign(Campaign $campaign)
 {
     $command = $this->getCommand('SummaryCampaign', array('campaignId' => $campaign->getId()));
     return $this->execute($command);
 }
示例#2
0
文件: Client.php 项目: mgrt/mgrt-php
 public function unscheduleCampaign(Campaign $campaign)
 {
     $command = $this->getCommand('UnscheduleCampaign', array('campaignId' => $campaign->getId()));
     return $this->execute($command);
 }
 public function getFakeCampaign()
 {
     $campaign = new Campaign();
     $campaign->setName('test')->setFromMail('*****@*****.**')->setFromName('John Doe')->setReplyMail('*****@*****.**')->setBody('<html></html>')->setSubject("John's first newsletter");
     return $campaign;
 }