本文整理匯總了PHP中Part::setHidePart方法的典型用法代碼示例。如果您正苦於以下問題:PHP Part::setHidePart方法的具體用法?PHP Part::setHidePart怎麽用?PHP Part::setHidePart使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Part
的用法示例。
在下文中一共展示了Part::setHidePart方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
}
//delete process sheets is checked
$part->setPartID($partid);
$part->setCustomerID($_POST['Customer_ID']);
$part->setPartName($_POST['partname']);
$part->setDrawingNo($_POST['drawingno']);
$part->setPartNO($_POST['partno']);
$part->setValue('drawingrevision', $_POST['drawingrevision']);
$part->setCustomerDrawingNo($_POST['custdrwinggno']);
$part->setPartMaterial($_POST['partmaterial']);
$part->setPartSize($_POST['partsize']);
$part->setMaterialCode($_POST['materialcode']);
$part->setPreMachSize($_POST['premachinedsize']);
$part->setFinishSize($_POST['finishsize']);
$part->setScrapeWeight($_POST['scrapeweight']);
$part->setHidePart($_POST['hidepart']);
$part->savePart($partid);
if ($pimg != '') {
$part->delPreview($pimg);
}
///delete part preview images from server and db
if ($draw != '') {
$part->delDrawings($draw);
}
///del drawings fro server and db
if ($psht != '') {
$part->delProcessSheets($psht);
}
///del process sheets from server and db
if ($drawbkp != '') {
$part->bkpDrawings($drawbkp);