Пример #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
 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
 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
 public function __clone()
 {
     $this->id = null;
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
Пример #7
0
 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();
 }