예제 #1
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->addresses = new \Doctrine\Common\Collections\ArrayCollection();
     $this->roles = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->attributeValueC = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributeValueS = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #3
0
파일: Zone.php 프로젝트: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->zone_elements = new \Doctrine\Common\Collections\ArrayCollection();
     $this->shipping_markups = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #4
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->parcelItems = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #5
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     parent::__construct($data);
     $config = \XLite\Core\Config::getInstance()->XC->AuctionInc;
     $this->setCalculationMethod($config->calculationMethod);
     $this->setPackage($config->package);
     $this->setInsurable($config->insurable);
     $this->setFixedFeeMode($config->fixedFeeMode);
     $this->setFixedFeeCode($config->fixedFeeCode);
     $this->setFixedFee1($config->fixedFee1);
     $this->setFixedFee2($config->fixedFee2);
 }
예제 #6
0
 /**
  * Constructor
  *
  * @param array $data Entity properties (OPTIONAL)
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->deliveryOptions = new \Doctrine\Common\Collections\ArrayCollection();
     $this->significantEvents = new \Doctrine\Common\Collections\ArrayCollection();
     $this->files = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #7
0
 /**
  * Constructor
  *
  * @param array $data Entity properties (OPTIONAL)
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->links = new \Doctrine\Common\Collections\ArrayCollection();
     $this->manifests = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #8
0
파일: Coupon.php 프로젝트: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->productClasses = new \Doctrine\Common\Collections\ArrayCollection();
     $this->memberships = new \Doctrine\Common\Collections\ArrayCollection();
     $this->usedCoupons = new \Doctrine\Common\Collections\ArrayCollection();
     $this->categories = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #9
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->data = new \Doctrine\Common\Collections\ArrayCollection();
     $this->backend_transactions = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #10
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->cells = new \Doctrine\Common\Collections\ArrayCollection();
     $this->formIds = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #11
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->parcels = new \Doctrine\Common\Collections\ArrayCollection();
     $this->transactionId = static::generateTransactionId();
     parent::__construct($data);
 }