Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBundles()
 {
     return $this->hasMany(Bundle::className(), ['bundle_variant' => 'id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBundles()
 {
     return $this->hasMany(Bundle::className(), ['product_id' => 'id']);
 }