本文整理汇总了PHP中Orders::viewResultDetail方法的典型用法代码示例。如果您正苦于以下问题:PHP Orders::viewResultDetail方法的具体用法?PHP Orders::viewResultDetail怎么用?PHP Orders::viewResultDetail使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Orders
的用法示例。
在下文中一共展示了Orders::viewResultDetail方法的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();
}