本文整理匯總了PHP中Orders::setOrderId方法的典型用法代碼示例。如果您正苦於以下問題:PHP Orders::setOrderId方法的具體用法?PHP Orders::setOrderId怎麽用?PHP Orders::setOrderId使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Orders
的用法示例。
在下文中一共展示了Orders::setOrderId方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: validateAccess
public function validateAccess()
{
$objOrder = new Orders();
$objOrder->setCompany(request_var("company"));
$objOrder->setOffice(DEFAULT_ID);
$objOrder->setUserWeb(request_var("username"));
$objOrder->setPassWeb(request_var("password"));
$objOrder->setInitDate("01/01/2000");
$objOrder->setEndDate("01/01/2020");
$_response = $objOrder->search();
if (is_array($_response) && count($_response)) {
$_response = $_response["ConsultarOrdenWebSigLabResult"]["ClsOrdenes"];
$objOrder->setOffice($_response["OficinaId"]);
$objOrder->setOrderId($_response["OrdId"]);
$objOrder->setTable(TEMP_TABLE_RESULTS . $objOrder->getOrderId());
$_response = $objOrder->viewResult();
if (is_array($_response) && count($_response)) {
$objOrder->saveResult($_response);
$header = $objOrder->generateHeader();
$menu = $objOrder->generateMenu();
$resultados = $objOrder->viewResultDetail();
$printer = $objOrder->generatePrinter();
$footer = CLIENT_FOOTER . " " . date('Y') . " - Todos los Derechos Reservados.";
include "../view/lab_results.php";
} else {
echo "<b>No hay detalle a mostrar.</b>";
}
}
}
示例2: viewResultDetail
public function viewResultDetail()
{
$objOrder = new Orders();
$objOrder->setTest(request_var("info"));
$objOrder->setOrderId(request_var("ordId"));
$objOrder->setTable(TEMP_TABLE_RESULTS . $objOrder->getOrderId());
echo $objOrder->viewResultDetail();
}