コード例 #1
0
ファイル: Product.php プロジェクト: larryu/magento-b2b
 /**
  * removing all the suppliers
  *
  * @return Product
  */
 public function clearSuppliers()
 {
     SupplierCode::updateByCriteria('active = 0', 'productId = ?', array($this->getId()));
     return $this;
 }