本文整理汇总了PHP中Stock::retriveMachineName方法的典型用法代码示例。如果您正苦于以下问题:PHP Stock::retriveMachineName方法的具体用法?PHP Stock::retriveMachineName怎么用?PHP Stock::retriveMachineName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stock
的用法示例。
在下文中一共展示了Stock::retriveMachineName方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Stock
<?php
require_once "../../../lib/stock.class.php";
require_once '../../../lib/defination.class.php';
$manu_id = $_GET['manu_id'];
$machine_id = $_GET['machine_id'];
$section_id = $_GET['section_id'];
$dept_id = $_GET['dept_id'];
$stock = new Stock();
$StockManufacturer = $stock->getManufacturerById($manu_id);
$stockAllManufacturer = $stock->retriveManufecturer();
$rowManuYear = count($stockAllManufacturer);
$stockMacName = $stock->retriveMachineName();
$rowMacName = count($stockMacName);
$stockDeptName = $stock->retriveStockDepartmentListAll();
$rowDeptName = count($stockDeptName);
$stockSection = $stock->retriveStockSection();
$rowStockSection = count($stockSection);
?>
<form id="CreateManufactureGroup" name="CreateManufactureGroup" method="post" action="includes/model/stock_manufacture_update_actions.php" >
<div id="note"> </div>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
<?php
require_once "../partials/_form_manufacture.php";
?>
<td align="center" valign="middle"><input type="hidden" value="<?php
echo $manu_id;
示例2: Stock
<?php
require_once "../../lib/stock.class.php";
require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/lc.class.php';
include '../../lib/lot.class.php';
$objStockItemInfo = new Stock();
$StockLocationInfo = $objStockItemInfo->retriveLocation();
$rowStockLocation = count($StockLocationInfo);
$stockMachineName = options_for_select($objStockItemInfo->retriveMachineName(), 'm_id', 'm_name', true);
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true);
$LC = new LC();
$outputLC = options_for_select($LC->retriveLcInfo(), 'lc_name', 'lc_name', true);
$Lot = new Lot();
$outputLot = options_for_select($Lot->retriveLotInfo(), 'lot_name', 'lot_name', true);
?>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<link type="text/css" href="../../css/dyndatetime/calendar-blue2.css" rel="stylesheet"/>
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script type="text/javascript" language="javascript" src="../../js/ajax_utils_1.js"></script>
<script type="text/javascript" language="javascript" src="../../js/sdmenu.js"> </script>
<script type="text/javascript" src="../../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery-ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" language="javascript" src="../../js/thickbox-compressed.js"></script>
<script language="javascript" type="text/javascript" src="../../js/tree.js"></script>
<script language="javascript" type="text/javascript" src="../../js/stock_item_tree.js"></script>
<script type="text/javascript" language="javascript" src="../../js/jquery.form.js"></script>
<script type="text/javascript" language="javascript" src="../../js/jquery.validate.pack.js"></script>
示例3: Stock
require_once '../../../lib/defination.class.php';
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();