本文整理汇总了PHP中Batch::saveBatchline方法的典型用法代码示例。如果您正苦于以下问题:PHP Batch::saveBatchline方法的具体用法?PHP Batch::saveBatchline怎么用?PHP Batch::saveBatchline使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Batch
的用法示例。
在下文中一共展示了Batch::saveBatchline方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$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
$msg = "<div class='statusmsg'>Failed to delete Record. Please try again.</div>";
$arr = array("msg" => $msg, "status" => 2);
echo json_encode($arr);
}
break;
case "activatebatch":