本文整理匯總了PHP中Stock::retriveStockGroupListAll方法的典型用法代碼示例。如果您正苦於以下問題:PHP Stock::retriveStockGroupListAll方法的具體用法?PHP Stock::retriveStockGroupListAll怎麽用?PHP Stock::retriveStockGroupListAll使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Stock
的用法示例。
在下文中一共展示了Stock::retriveStockGroupListAll方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: count
$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);
$stock_item_unit_id = $stockItemByID["0"]["stock_item_unit_id"];
$allStockGroup = $objStockGroupInfo->retriveStockGroupListAll();
$rowStockGroup = count($allStockGroup);
$stock_Group_id = $stockItemByID["0"]["stock_item_grp_id"];
$allStockDepartment = $objStockGroupInfo->retriveStockDepartmentListAll();
$rowStockDepartment = count($allStockDepartment);
$stock_dep_id = $stockItemByID["0"]["stock_dept_id"];
$allStockSection = $objStockGroupInfo->retriveStockSection();
$rowStockSection = count($allStockSection);
$stock_sec_id = $stockItemByID["0"]["stock_section_id"];
$allStockMachine = $objStockGroupInfo->retriveMachineName();
$rowStockMachine = count($allStockMachine);
$stock_Machi_id = $stockItemByID["0"]["stock_machine_id"];
$allStockMacModel = $objStockGroupInfo->retriveMachineModelName();
$rowStockMacModel = count($allStockMacModel);
$stock_Mac_model_id = $stockItemByID["0"]["stock_machine_model_id"];
$allStockManufec = $objStockGroupInfo->retriveManufecturer();
示例2: Stock
<?php
require_once "../../../lib/stock.class.php";
$objStockGroupListAll = new Stock();
$StockGrpListAll = $objStockGroupListAll->retriveStockGroupListAll();
$rowStockGroUnderListAll = count($StockGrpListAll);
?>
<table width="100%" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td align="right"><a class="thickbox" href="includes/contents/ca_create_stock_group.php?height=200&width=500" title="Stock Group" >Back</a></td>
</tr>
<tr>
<td width="140"><b>Group Name</b></td>
<td width="125"><b>Group Parent</b></td>
<td width="57"> </td>
<td width="67"> </td>
</tr>
<?php
for ($i = 0; $i < $rowStockGroUnderListAll; $i++) {
if ($i % 2 == 0) {
$bgc = "#F7F7F7";
} else {
$bgc = "#F1F1F1";
}
?>
<tr id ="stk_<?php