コード例 #1
0
 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);
 }
コード例 #3
0
 public function getFakeCampaign()
 {
     $campaign = new Campaign();
     $campaign->setName('test')->setFromMail('*****@*****.**')->setFromName('John Doe')->setReplyMail('*****@*****.**')->setBody('<html></html>')->setSubject("John's first newsletter");
     return $campaign;
 }