コード例 #1
0
ファイル: Affiliates.php プロジェクト: phaniapsr/yiicomm
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCustomer()
 {
     return $this->hasOne(Customers::className(), ['CustomerId' => 'CustomerId']);
 }