예제 #1
0
파일: Group.php 프로젝트: skycri/MyAbos
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->users = new ArrayCollection();
 }
예제 #2
0
 /**
  * Constructor
  */
 public function __construct($name, $roles = array())
 {
     parent::__construct($name, $roles);
     $this->droits = new \Doctrine\Common\Collections\ArrayCollection();
 }
예제 #3
0
파일: Group.php 프로젝트: teraelis/forum
 /**
  * Constructor
  */
 public function __construct($name, $roles)
 {
     parent::__construct($name, $roles);
     $this->userRoles = new \Doctrine\Common\Collections\ArrayCollection();
     $this->permission = new \Doctrine\Common\Collections\ArrayCollection();
 }
예제 #4
0
파일: Group.php 프로젝트: Onneil/dedipanel
 public function __construct($name = '', $roles = array())
 {
     parent::__construct($name, $roles);
     $this->children = new ArrayCollection();
     $this->users = new ArrayCollection();
 }
예제 #5
0
 public function __construct($name = null, $roles = array())
 {
     parent::__construct($name, $roles);
 }