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