コード例 #1
0
ファイル: Perfil.php プロジェクト: jeulate/BDTdesarrollo
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSeleccions()
 {
     return $this->hasMany(Seleccion::className(), ['idPerfil' => 'id']);
 }
コード例 #2
0
ファイル: Respuesta.php プロジェクト: jeulate/BDTdesarrollo
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSeleccions()
 {
     return $this->hasMany(Seleccion::className(), ['idRespuesta' => 'id', 'idPregunta' => 'idPregunta', 'codFormulario' => 'codFormulario']);
 }