예제 #1
0
 /**
  * Clone method.
  */
 public function __clone()
 {
     $this->id = null;
     $this->sentCount = 0;
     $this->stats = new ArrayCollection();
     $this->variantChildren = new ArrayCollection();
     parent::__clone();
 }
예제 #2
0
파일: Sms.php 프로젝트: Yame-/mautic
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     parent::__clone();
 }
예제 #3
0
 public function __clone()
 {
     $this->id = null;
     parent::__clone();
 }
예제 #4
0
 public function __clone()
 {
     $this->leads = new ArrayCollection();
     $this->events = new ArrayCollection();
     $this->lists = new ArrayCollection();
     $this->forms = new ArrayCollection();
     $this->id = null;
     parent::__clone();
 }
예제 #5
0
파일: Email.php 프로젝트: Yame-/mautic
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     $this->revision = 0;
     $this->variantSentCount = 0;
     $this->variantStartDate = null;
     $this->emailType = null;
     $this->sessionId = 'new_' . hash('sha1', uniqid(mt_rand()));
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
예제 #6
0
파일: Page.php 프로젝트: Yame-/mautic
 public function __clone()
 {
     $this->id = null;
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
예제 #7
0
파일: Email.php 프로젝트: emtudo/mautic
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     $this->revision = 0;
     $this->variantSentCount = 0;
     $this->variantStartDate = null;
     $this->emailType = null;
     parent::__clone();
 }