Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getR()
 {
     return $this->hasOne(RivegaucheProduct::className(), ['id' => 'r_id']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getArticle0()
 {
     return $this->hasOne(RivegaucheProduct::className(), ['article' => 'article']);
 }