本文整理匯總了PHP中Stock::retriveStockItemByIndendId方法的典型用法代碼示例。如果您正苦於以下問題:PHP Stock::retriveStockItemByIndendId方法的具體用法?PHP Stock::retriveStockItemByIndendId怎麽用?PHP Stock::retriveStockItemByIndendId使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Stock
的用法示例。
在下文中一共展示了Stock::retriveStockItemByIndendId方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Stock
<?php
require_once '../../lib/defination.class.php';
include '../../lib/delivery.class.php';
include '../../lib/stock.class.php';
include '../../lib/gatePass.class.php';
// get stock item for combo box
$Stock = new Stock();
$outputStockItem = options_for_select($Stock->retriveStockItemByIndendId($id), 'stock_item_id', 'stock_item_name', true);
// get Indend info for combo box;
$GatePass = new GatePass();
$GatePassNo = options_for_select($GatePass->retriveGatePassMasterNo(), 'gate_pass_id', 'gate_pass_no', true);
$Delivery = new Delivery();
$num = $Delivery->getNewId();
?>
<style type="text/css">
<!--
.style10 {font-size: xx-small; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style11 {font-size: xx-small}
-->
</style>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<form id="supplierForm" name="supplierForm" method="post" action="includes/model/delivery_actions.php" >
<div id="note"> </div>
<div id="ajax_content">
<table width="105%" border="0" align="left" cellpadding="2" cellspacing="5" style="float:left" >