本文整理匯總了PHP中products_minierp::updateFlagProductInfoContentImproved方法的典型用法代碼示例。如果您正苦於以下問題:PHP products_minierp::updateFlagProductInfoContentImproved方法的具體用法?PHP products_minierp::updateFlagProductInfoContentImproved怎麽用?PHP products_minierp::updateFlagProductInfoContentImproved使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類products_minierp
的用法示例。
在下文中一共展示了products_minierp::updateFlagProductInfoContentImproved方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
$spoint_result = $class_pm->setSellingPointToProducts($products_id, '1,2,3', true);
$product = $class_pm->retrieveDetail($products_id, 'pd');
$result = array();
$result['lid'] = $lid;
if ($lid == 2) {
$product_selling_points = $product['pd']['2']['products_selling_points'];
$product_selling_points_amde = $product['pd']['2']['products_selling_points_amde'];
$result['otde'] = $product_selling_points;
$result['amde'] = $product_selling_points_amde;
}
ajaxReturn($result);
exit;
} elseif ($_POST['me_action'] == 'UPDATEFLAGCONTENTIMPROVED') {
$status = tep_db_prepare_input($_POST['status']);
$lang_id = tep_db_prepare_input($_POST['lid']);
$class_pm->updateFlagProductInfoContentImproved($products_id, $status, $lang_id);
// $class_pm->updateFlagProductInfoContentImproved($products_id, $status);
$result = array();
$result['languages_id'] = $lang_id;
ajaxReturn($result);
echo 'OK';
exit;
}
}
//MODULE
$products_data = $class_pm->retrieveDetail($products_id, 'p,pd,cat');
$description = $products_data['pd'];
$colpatterns = array();
foreach ($languages as $lid => $l) {
$colpatterns[$lid] = array();
$cptemp = $class_cp->retrieveListGrid(SERVICECLIENTCODE, null, $lid);