當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Stock::retriveStockMachineListByID方法代碼示例

本文整理匯總了PHP中Stock::retriveStockMachineListByID方法的典型用法代碼示例。如果您正苦於以下問題:PHP Stock::retriveStockMachineListByID方法的具體用法?PHP Stock::retriveStockMachineListByID怎麽用?PHP Stock::retriveStockMachineListByID使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Stock的用法示例。


在下文中一共展示了Stock::retriveStockMachineListByID方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: Stock

<?php

require_once "../../../lib/stock.class.php";
require_once '../../../lib/defination.class.php';
$m_sec_id = $_GET['m_sec_id'];
$m_dep_id = $_GET['m_dep_id'];
$m_id = $_GET['m_id'];
$stock = new Stock();
$StockMachine = $stock->retriveStockMachineListByID($m_id);
$stockDeptName = $stock->retriveStockDepartmentListAll();
$rowDeptName = count($stockDeptName);
$stockSection = $stock->retriveStockSection();
$rowStockSection = count($stockSection);
?>



	<form  id="CreateMachineGroup" name="CreateMachineGroup" method="post" action="includes/model/stock_machine_update_actions.php" >
	<div id="note"> </div>
	  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
	<?php 
require_once "../partials/_form_machine.php";
?>
	  
                  <td align="center" valign="middle"><input type="hidden" value="<?php 
echo $m_id;
?>
" name="s_mac_id" id="s_mac_id" /></td>
                  <td align="center" valign="right"><input name="btn_StkGrp" type="submit" class="button" id="btn_StkGrp" value="Update" /></td>
                  <td align="center" valign="middle">&nbsp;</td>
                  <td align="center" valign="middle">&nbsp;</td>
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:31,代碼來源:ca_edit_machine.php

示例2:

    }
    ?>
  <tr id ="stk_<?php 
    echo $StockManufacturerListAll["{$i}"]["manu_id"];
    ?>
" bgcolor="<?php 
    echo $bgc;
    ?>
">
    <td><?php 
    echo $StockManufacturerListAll["{$i}"]["manu_name"];
    $manu_id = $StockManufacturerListAll["{$i}"]["manu_id"];
    $machine_id = $StockManufacturerListAll["{$i}"]["machine_id"];
    $section_id = $StockManufacturerListAll["{$i}"]["section_id"];
    $dept_id = $StockManufacturerListAll["{$i}"]["dept_id"];
    $StockMachinenameID = $objManufacturerListAll->retriveStockMachineListByID($machine_id);
    $StockDepSecNameID = $objManufacturerListAll->retriveStockSectionName($section_id);
    $StockDepNameID = $objManufacturerListAll->retriveStockDepartmentName($dept_id);
    ?>
</td>
    <td><?php 
    echo $StockManufacturerListAll["{$i}"]["manu_year"];
    ?>
</td>
    <td><?php 
    if ($machine_id == 0) {
        echo "Primary";
    } else {
        echo $StockMachinenameID[0]["m_name"];
    }
    ?>
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:31,代碼來源:list_all_stock_manufacturer.php

示例3:

  <tr id ="stk_<?php 
    echo $StockMacModelAll["{$i}"]["machine_model_id"];
    ?>
" bgcolor="<?php 
    echo $bgc;
    ?>
">
    <td><?php 
    echo $StockMacModelAll["{$i}"]["machine_model_name"];
    $macMode_id = $StockMacModelAll["{$i}"]["machine_model_id"];
    $machine_id = $StockMacModelAll["{$i}"]["machine_id"];
    $Section_p_id = $StockMacModelAll["{$i}"]["Section_p_id"];
    $stock_dept_id = $StockMacModelAll["{$i}"]["stock_dept_id"];
    $machine_mode = $StockMacModelAll["{$i}"]["manufacturer_id"];
    $StockMachineManuModeID = $objMachineModelListAll->getManufacturerById($machine_mode);
    $StockMachinenameID = $objMachineModelListAll->retriveStockMachineListByID($machine_id);
    $StockDepSecNameID = $objMachineModelListAll->retriveStockSectionName($Section_p_id);
    $StockDepNameID = $objMachineModelListAll->retriveStockDepartmentName($stock_dept_id);
    ?>
</td>
    <td><?php 
    if ($machine_id == 0) {
        echo "Primary";
    } else {
        echo $StockMachinenameID[0]["m_name"];
    }
    ?>
	</td>
    <td><?php 
    if ($machine_mode == 0) {
        echo "Primary";
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:31,代碼來源:list_all_machine_model.php


注:本文中的Stock::retriveStockMachineListByID方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。