コード例 #1
0
ファイル: Profile.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: ProductVariant.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: PBParcel.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: Tracking.php プロジェクト: kewaunited/xcart
 /**
  * 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
ファイル: Shipment.php プロジェクト: kewaunited/xcart
 /**
  * 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
ファイル: Transaction.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: Session.php プロジェクト: kewaunited/xcart
 /**
  * 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
ファイル: PBOrder.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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);
 }