コード例 #1
0
ファイル: Delivery.php プロジェクト: alextravin/yupe
 public function clearPaymentMethods()
 {
     DeliveryPayment::model()->deleteAllByAttributes(['delivery_id' => $this->id]);
 }