コード例 #1
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->shipping_methods = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attributes = new \Doctrine\Common\Collections\ArrayCollection();
     $this->attribute_groups = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #2
0
ファイル: Currency.php プロジェクト: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->orders = new \Doctrine\Common\Collections\ArrayCollection();
     $this->countries = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #3
0
ファイル: Method.php プロジェクト: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->shipping_markups = new \Doctrine\Common\Collections\ArrayCollection();
     $this->classes = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #4
0
ファイル: Role.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->permissions = new \Doctrine\Common\Collections\ArrayCollection();
     $this->profiles = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #5
0
ファイル: Country.php プロジェクト: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->states = new \Doctrine\Common\Collections\ArrayCollection();
     $this->regions = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #6
0
ファイル: Catalog.php プロジェクト: kewaunited/xcart
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->cleanURLs = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #7
0
ファイル: Option.php プロジェクト: kingsj/core
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->exceptions = new \Doctrine\Common\Collections\ArrayCollection();
     $this->surcharges = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
コード例 #8
0
ファイル: Method.php プロジェクト: kingsj/core
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->settings = new \Doctrine\Common\Collections\ArrayCollection();
     $this->transactions = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }