Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvas()
 {
     return $this->hasMany(Prova::className(), ['calendario_idcalendario' => 'idcalendario']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvas()
 {
     return $this->hasMany(Prova::className(), ['disciplina_iddisciplina' => 'iddisciplina']);
 }
Example #3
0
 /**
  * @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']);
 }
Example #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvas()
 {
     return $this->hasMany(Prova::className(), ['idprova' => 'prova_idprova'])->viaTable('inscricao_prova_sala', ['inscricao_idinscricao' => 'idinscricao']);
 }
Example #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvas()
 {
     return $this->hasMany(Prova::className(), ['segunda_chamada' => 'idprova']);
 }
Example #7
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvaIdprovas()
 {
     return $this->hasMany(Prova::className(), ['idprova' => 'prova_idprova'])->viaTable('prova_has_sala', ['sala_idsala' => 'idsala']);
 }
Example #8
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProvas()
 {
     return $this->hasMany(Prova::className(), ['predio_idpredio' => 'idpredio']);
 }