本文整理汇总了PHP中Stock::retriveStockSectionName方法的典型用法代码示例。如果您正苦于以下问题:PHP Stock::retriveStockSectionName方法的具体用法?PHP Stock::retriveStockSectionName怎么用?PHP Stock::retriveStockSectionName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stock
的用法示例。
在下文中一共展示了Stock::retriveStockSectionName方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
<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"];
}
?>
示例2:
$bgc = "#F1F1F1";
}
?>
<tr id ="stk_<?php
echo $StockSectListAll["{$i}"]["sec_id"];
?>
" bgcolor="<?php
echo $bgc;
?>
">
<td><?php
echo $StockSectListAll["{$i}"]["sec_name"];
$section_parent_id = $StockSectListAll["{$i}"]["Section_p_id"];
$stk_section_id = $StockSectListAll["{$i}"]["sec_id"];
$stk_depart_id = $StockSectListAll["{$i}"]["stock_dept_id"];
$StockSectionname = $objStockSectionListAll->retriveStockSectionName($section_parent_id);
$StockDepartPname = $objStockSectionListAll->retriveStockDepartParentName($stk_depart_id);
?>
</td>
<td><?php
if ($section_parent_id == 0) {
echo "Primary";
} else {
echo $StockSectionname[0]["sec_name"];
}
?>
</td>
<td><?php
if ($stk_depart_id == "Primary") {
echo "Primary";
示例3:
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";
} else {