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


PHP Stock::retriveMachineModelName方法代碼示例

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


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

示例1: Stock

require_once '../../../lib/stock.class.php';
//// Retrive Stock Group Name
$objStockGroupInfo = new Stock();
$stock = new Stock();
$StockGrpInfo = $objStockGroupInfo->retriveStockGroupUnderInfo();
$StockGrpInfo_options = options_for_select($StockGrpInfo, 'stock_group_id', 'stock_group_name', true);
/////////////////////////////////
//// Retrive Stock Catagory Name
$objStockCatInfo = new Stock();
$StockCatInfo = $objStockCatInfo->retriveStockCatUnderInfo();
////////////////////////////////////////////////
$StockCatInfo_options = options_for_select($StockCatInfo, 'stock_cat_id', 'stock_cat_name', true);
$stockDept = options_for_select($stock->retriveStockDepartmentInfo(), 'stock_dept_id', 'stock_dept_name', true);
$stockSection = options_for_select($stock->retriveStockSection(), 'sec_id', 'sec_name', true);
$stockMachineName = options_for_select($stock->retriveMachineName(), 'm_id', 'm_name', true);
$stockMachineModelName = options_for_select($stock->retriveMachineModelName(), 'machine_model_id', 'machine_model_name', true);
$stockManufecturer = options_for_select($stock->retriveManufecturer(), 'manu_id', 'manu_name', true);
$stockItemName = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name', true);
/////////////////////////////////
//// Retrive Stock Unit Name
$unitName = options_for_select($stock->retriveStockUnit(), 'stock_item_unit_id', 'stock_item_unit_name', true);
/////////////////////////////////
@session_start();
$user_level = $_SESSION[user_level];
$stc_itm_id = $_GET['stc_itm_id'];
$stockItemByID = $objStockGroupInfo->retriveStockItemByid($stc_itm_id);
$allStockItem = $objStockGroupInfo->retriveStockItem();
$rowStockItem = count($allStockItem);
$stock_p_id = $stockItemByID["0"]["stock_p_id"];
$allStockItemUnit = $objStockGroupInfo->retriveStockUnit();
$rowStockItemUnit = count($allStockItemUnit);
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:31,代碼來源:edit_engi_item.php

示例2: Stock

<?php

require_once "../../../lib/stock.class.php";
$objMachineModelListAll = new Stock();
$StockMacModelAll = $objMachineModelListAll->retriveMachineModelName();
$rowMachineModelListAll = count($StockMacModelAll);
?>


<body>
<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td align="right"><a class="thickbox" href="includes/contents/create_machine_model.php">Back</a></td>
  </tr>
  <tr>
    <td width="142"><b>Mobel Name</b></td>
    <td width="139"><b>Machine Name</b></td>
    <td width="139"><b>Machine Mode</b></td>
    <td width="142"><b>Section Name</b></td>
    <td width="169"><b>Department Name</b></td>
    <td width="63">&nbsp;</td>
    <td width="85">&nbsp;</td>
  </tr>
<?php 
for ($i = 0; $i < $rowMachineModelListAll; $i++) {
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:31,代碼來源:list_all_machine_model.php


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