本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}