本文整理匯總了PHP中Batch::showBatchline方法的典型用法代碼示例。如果您正苦於以下問題:PHP Batch::showBatchline方法的具體用法?PHP Batch::showBatchline怎麽用?PHP Batch::showBatchline使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Batch
的用法示例。
在下文中一共展示了Batch::showBatchline方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
//after return xml shall not run more code.
break;
case "getbatchline":
//return xml table to grid
echo '<html xmlns:ntb="http://www.nitobi.com">';
$o->includeGeneralFile();
$o->allowedit = $_REQUEST["allowedit"];
$o->getBatchlineform();
echo '</html>';
exit;
//after return xml shall not run more code.
break;
case "searchbatchline":
//return xml table to grid
$wherestring = " WHERE batch_id={$o->batch_id}";
$o->showBatchline($wherestring);
exit;
//after return xml shall not run more code.
break;
case "saveBatchline":
//process submited xml data from grid
$o->saveBatchline();
break;
case "delete":
if ($o->deleteBatchAjax($o->batch_id)) {
//success
$msg = "<div class='statusmsg'>Record deleted successfully.</div>";
$arr = array("msg" => $msg, "status" => 1);
echo json_encode($arr);
} else {
//failed