当前位置: 首页>>代码示例>>PHP>>正文


PHP Stock::retriveStockDepartmentListAll方法代码示例

本文整理汇总了PHP中Stock::retriveStockDepartmentListAll方法的典型用法代码示例。如果您正苦于以下问题:PHP Stock::retriveStockDepartmentListAll方法的具体用法?PHP Stock::retriveStockDepartmentListAll怎么用?PHP Stock::retriveStockDepartmentListAll使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Stock的用法示例。


在下文中一共展示了Stock::retriveStockDepartmentListAll方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: count

$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();
$rowStockmanufec = count($allStockManufec);
$stock_manufec_id = $stockItemByID["0"]["stock_manufacturer_id"];
$stock_ItemCode_id = $stockItemByID["0"]["stock_code_m_id"];
开发者ID:rajibahmed,项目名称:IIMS,代码行数:31,代码来源:edit_engi_item.php

示例2: 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

示例3: Stock

<?php

require_once "../../../lib/stock.class.php";
$objStockDepartmentListAll = new Stock();
$StockDepartListAll = $objStockDepartmentListAll->retriveStockDepartmentListAll();
$rowStockDepartListAll = count($StockDepartListAll);
?>


<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td align="right"><a class="thickbox" href="includes/contents/create_stock_department.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">&nbsp;</td>
    <td width="67">&nbsp;</td>
  </tr>
<?php 
for ($i = 0; $i < $rowStockDepartListAll; $i++) {
    if ($i % 2 == 0) {
        $bgc = "#F7F7F7";
    } else {
        $bgc = "#F1F1F1";
    }
    ?>
  <tr id ="stk_<?php 
开发者ID:rajibahmed,项目名称:IIMS,代码行数:31,代码来源:list_all_stock_department.php


注:本文中的Stock::retriveStockDepartmentListAll方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。