/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['calendario_idcalendario' => 'idcalendario']); }
/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['disciplina_iddisciplina' => 'iddisciplina']); }
/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['exame_idexame' => 'idexame']); }
/** * @return \yii\db\ActiveQuery */ public function getProva() { return $this->hasOne(Prova::className(), ['idprova' => 'prova_idprova']); }
/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['idprova' => 'prova_idprova'])->viaTable('inscricao_prova_sala', ['inscricao_idinscricao' => 'idinscricao']); }
/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['segunda_chamada' => 'idprova']); }
/** * @return \yii\db\ActiveQuery */ public function getProvaIdprovas() { return $this->hasMany(Prova::className(), ['idprova' => 'prova_idprova'])->viaTable('prova_has_sala', ['sala_idsala' => 'idsala']); }
/** * @return \yii\db\ActiveQuery */ public function getProvas() { return $this->hasMany(Prova::className(), ['predio_idpredio' => 'idpredio']); }