예제 #1
0
파일: Product.php 프로젝트: kingsj/core
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->optionGroups = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->featuredProducts = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #3
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->variants = new \Doctrine\Common\Collections\ArrayCollection();
     $this->variantsAttributes = 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->upsellingProducts = new \Doctrine\Common\Collections\ArrayCollection();
     $this->upsellingParentProducts = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }