public function summaryCampaign(Campaign $campaign)
 {
     $command = $this->getCommand('SummaryCampaign', array('campaignId' => $campaign->getId()));
     return $this->execute($command);
 }
Beispiel #2
0
 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;
 }