当前位置: 首页>>代码示例>>PHP>>正文


PHP AEntity::__construct方法代码示例

本文整理汇总了PHP中XLite\Model\AEntity::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP AEntity::__construct方法的具体用法?PHP AEntity::__construct怎么用?PHP AEntity::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在XLite\Model\AEntity的用法示例。


在下文中一共展示了AEntity::__construct方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * 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);
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:11,代码来源:Profile.php

示例2: __construct

 /**
  * 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);
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:11,代码来源:ProductVariant.php

示例3: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:13,代码来源:Zone.php

示例4: __construct

 /**
  * 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);
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:12,代码来源:PBParcel.php

示例5: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:17,代码来源:ProductAuctionInc.php

示例6: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:14,代码来源:Tracking.php

示例7: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:13,代码来源:Shipment.php

示例8: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:15,代码来源:Coupon.php

示例9: __construct

 /**
  * 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);
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:13,代码来源:Transaction.php

示例10: __construct

 /**
  * 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);
 }
开发者ID:kewaunited,项目名称:xcart,代码行数:11,代码来源:Session.php

示例11: __construct

 /**
  * 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);
 }
开发者ID:kirkbauer2,项目名称:kirkxc,代码行数:13,代码来源:PBOrder.php


注:本文中的XLite\Model\AEntity::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。