Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEbay()
 {
     return $this->hasOne(EbayAccount::className(), ['id' => 'ebay_id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEbayAccounts()
 {
     return $this->hasMany(EbayAccount::className(), ['listing_template_id' => 'id']);
 }