本文整理汇总了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;
示例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
示例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');