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


PHP subinventory::find_all方法代码示例

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


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

示例1: array

         break;
     case 'BUSINESS':
         echo $f->select_field_from_object('association_level_value', $org->findAll_business(), 'org_id', 'org', ${$class}->association_level_value, '', '', 1);
         break;
     case 'INVENTORY':
         echo $f->select_field_from_object('association_level_value', $org->findAll_inventory(), 'org_id', 'org', ${$class}->association_level_value, '', '', 1);
         break;
     case 'FROM_SUBINV':
         $org_id_sub = null;
         if (!empty(${$class}->association_level_value)) {
             $subinv_i = subinventory::find_by_id(${$class}->association_level_value);
             $org_id_sub = $subinv_i->org_id;
         }
         echo $f->select_field_from_object('', $org->findAll_inventory(), 'org_id', 'org', $org_id_sub, '', 'org_id', 1);
         echo '</td><td>';
         echo $f->select_field_from_object('association_level_value', subinventory::find_all(), 'subinventory_id', array('subinventory', 'org_id'), ${$class}->association_level_value, '', 'subinventory_id', 1);
         break;
     case 'USER':
         echo $f->select_field_from_object('association_level_value', user::find_all(), 'user_id', 'username', ${$class}->association_level_value, '', '', 1);
         break;
 }
 ?>
       </td>
       <td>
        <?php 
 echo $f->select_field_from_object('bc_label_format_header_id', bc_label_format_header::find_all(), 'bc_label_format_header_id', 'format_name', ${$class}->bc_label_format_header_id, '', '', 1) . "</td>";
 ?>
       </td>
      </tr>
      <?php 
 $count = $count + 1;
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:auto_trigger_template.php

示例2: ino_inline_action

         <tr class="locator_line<?php 
        echo $count;
        ?>
">
          <td><?php 
        echo ino_inline_action(${$class}->locator_id, array('locator_id' => ${$class}->locator_id));
        ?>
 </td>
          <td>
           <?php 
        echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id');
        ?>
          </td>
          <td>
           <?php 
        echo $f->select_field_from_object('subinventory_id', subinventory::find_all(), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'subinventory_id');
        ?>
          </td>
          <td class="single_line"><?php 
        echo locator::locator_structure();
        ?>
</td>
          <td><?php 
        echo form::text_field_widsr('locator_id');
        ?>
</td>
          <td><?php 
        form::text_field_wid('locator');
        ?>
</td>
          <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:locator_template_ma.php

示例3: __

$f->l_text_field_dr_withSearch('locator_id');
?>
        <a name="show" href="form.php?class_name=locator&<?php 
echo "mode={$mode}";
?>
" class="show document_id locator_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
       </li> 
       <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', '', $readonly);
?>
    </li>
       <li><?php 
$f->l_select_field_from_object('subinventory_id', subinventory::find_all(), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'subinventory_id', '', '', $readonly);
?>
    </li>
       <li><label><?php 
echo __('Locator Structure');
?>
</label><?php 
echo locator::locator_structure();
?>
</li>
       <li><?php 
$f->l_text_field_d('locator');
?>
</li>
       <li><?php 
$f->l_text_field_d('alias');
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:locator_template.php


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