コード例 #1
0
ファイル: Basperson.php プロジェクト: henrique-r-luz/portal
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getResOfertadeunidadetematicas()
 {
     return $this->hasMany(ResOfertadeunidadetematica::className(), ['personid' => 'personid']);
 }
コード例 #2
0
ファイル: MioloUser.php プロジェクト: henrique-r-luz/portal
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getResOfertadeunidadetematicas()
 {
     return $this->hasMany(ResOfertadeunidadetematica::className(), ['encerradopor' => 'iduser']);
 }