예제 #1
0
파일: Test.php 프로젝트: paladin3895/plrs
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(ReportTest::className(), ['test_id' => 'id']);
 }
예제 #2
0
파일: Report.php 프로젝트: paladin3895/plrs
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(\app\models\plrs\ReportTest::className(), ['report_id' => 'id']);
 }