コード例 #1
0
ファイル: User.php プロジェクト: bireme/proethos2
 public function __construct()
 {
     parent::__construct();
     $this->proethos2_roles = new ArrayCollection();
     $this->isActive = true;
     // may not be needed, see section on salt below
     // $this->salt = md5(uniqid(null, true));
 }
コード例 #2
0
ファイル: Submission.php プロジェクト: bireme/proethos2
 public function __construct()
 {
     $this->country = new ArrayCollection();
     $this->budget = new ArrayCollection();
     $this->clinical_trial = new ArrayCollection();
     $this->schedule = new ArrayCollection();
     $this->attachments = new ArrayCollection();
     // call Grandpa's constructor
     parent::__construct();
 }
コード例 #3
0
ファイル: Protocol.php プロジェクト: bireme/proethos2
 /** 
  * Constructor 
  */
 public function __construct()
 {
     parent::__construct();
     $this->submission = new ArrayCollection();
 }