本文整理匯總了PHP中global_common::deleteObject方法的典型用法代碼示例。如果您正苦於以下問題:PHP global_common::deleteObject方法的具體用法?PHP global_common::deleteObject怎麽用?PHP global_common::deleteObject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類global_common
的用法示例。
在下文中一共展示了global_common::deleteObject方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
} else {
$resultID = $objProductPrice->update($productPriceID, $productID, $retailer, $productLink, $typeID);
if ($resultID) {
$arrHeader = global_common::getMessageHeaderArr($banCode);
//$banCode
echo global_common::convertToXML($arrHeader, array("rs", "inf"), array(1, 'Cập nhật thành công'), array(0, 1));
return;
} else {
echo global_common::convertToXML($arrHeader, array("rs", "inf"), array(0, "Input data is invalid"), array(0, 1));
return;
}
}
return;
} elseif ($_pgR['act'] == Model_Product::ACT_STORE_PRICE_DELETE) {
$productPriceID = $_pgR['id'];
$productPrice = global_common::deleteObject($productPriceID, global_mapping::ProductPriceID, Model_ProductPrice::TBL_SL_PRODUCT_PRICE, $objConnection);
if ($productPrice) {
echo global_common::convertToXML($strMessageHeader, array("rs", "inf"), array(1, "Delete successfully"), array(0, 1));
} else {
echo global_common::convertToXML($arrHeader, array("rs", "inf"), array(0, "Data is invalid. Pleae try again later"), array(0, 1));
}
return;
}
}
//elseif($_pgR['act'] == Model_ProductType::ACT_GET_ALL)
//{
// $types = $objArticleType->getAllArticleType(0);
// echo json_encode($types);
// return ;
//}
/*elseif($_pgR['act'] == Model_Product::ACT_ACTIVE)