예제 #1
0
파일: Category.php 프로젝트: kingsj/core
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection();
     $this->children = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection();
     $this->images = new \Doctrine\Common\Collections\ArrayCollection();
     $this->order_items = new \Doctrine\Common\Collections\ArrayCollection();
     $this->memberships = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributeValueC = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributeValueS = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributeValueT = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributes = new \Doctrine\Common\Collections\ArrayCollection();
     $this->quickData = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
예제 #3
0
파일: Product.php 프로젝트: kingsj/core
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection();
     $this->images = new \Doctrine\Common\Collections\ArrayCollection();
     $this->order_items = new \Doctrine\Common\Collections\ArrayCollection();
     $this->classes = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }