Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(ReportTest::className(), ['test_id' => 'id']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(\app\models\plrs\ReportTest::className(), ['report_id' => 'id']);
 }