示例#1
0
文件: Test.php 项目: paladin3895/plrs
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(ReportTest::className(), ['test_id' => 'id']);
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReportTests()
 {
     return $this->hasMany(\app\models\plrs\ReportTest::className(), ['report_id' => 'id']);
 }