Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 /**
  * 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 8
0
 /**
  * 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }