예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getResOfertadeunidadetematicas()
 {
     return $this->hasMany(ResOfertadeunidadetematica::className(), ['personid' => 'personid']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getResOfertadeunidadetematicas()
 {
     return $this->hasMany(ResOfertadeunidadetematica::className(), ['encerradopor' => 'iduser']);
 }