本文整理汇总了PHP中form::text_field_wid2方法的典型用法代码示例。如果您正苦于以下问题:PHP form::text_field_wid2方法的具体用法?PHP form::text_field_wid2怎么用?PHP form::text_field_wid2使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form
的用法示例。
在下文中一共展示了form::text_field_wid2方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<td><?php
echo form::text_field('line_number', ${$class_second}->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number');
?>
</td>
<td><?php
echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'medium', 1, $readonly);
?>
</td>
<td><?php
$f->val_field_wid2('item_number', 'item', 'item_number', 'shipping_org_id');
echo $f->hidden_field_withCLass('item_id_m', ${$class_second}->item_id_m, 'dont_copy_r');
echo $f->hidden_field_withCLass('customer_ordered_cb', '1', 'popup_value');
?>
<i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
<td><?php
form::text_field_wid2('item_description');
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small');
?>
</td>
<td><?php
$f->text_field_wid2r('line_status', 'always_readonly');
?>
</td>
<td><?php
echo $f->number_field('line_quantity', ${$class_second}->line_quantity);
?>
</td>
</tr>
示例2:
</td>
<td><?php
echo $f->checkBox_field('kit_cb', ${$class_second}->kit_cb, '', 'dontCopy');
?>
</td>
<td><?php
echo $f->checkBox_field('kit_configured_cb', ${$class_second}->kit_configured_cb, '', 'dontCopy');
?>
</td>
<td> <a class="popup popup-form view-item-config medium" href="form.php?class_name=bom_config_header&mode=9&window_type=popup"> <i class="fa fa-edit"></i></a></td>
<td><?php
form::text_field_wid2('reference_doc_type');
?>
</td>
<td><?php
form::text_field_wid2('reference_doc_number');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
</div>
</div>
</form>
示例3:
?>
</td>
<td><?php
echo $f->select_field_from_object('burden_cost_code_id', prj_burden_costcode::find_all(), 'prj_burden_costcode_id', 'costcode', ${$class_second}->burden_cost_code_id, '', 'large', 1, $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('burden_cost_base_id', prj_burden_cost_base::find_all(), 'prj_burden_cost_base_id', 'cost_base', ${$class_second}->burden_cost_base_id, '', 'large', 1, $readonly);
?>
</td>
<td><?php
form::text_field_wid2r('description');
?>
</td>
<td><?php
form::text_field_wid2('priority');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</div>
</form>
<div id ="form_line2" class="form_line2">
<form action="" method="post" id="prj_burden_structure_expendituretype" name="prj_burden_structure_expendituretype">
<div id="tabsLine-2" class="tabContent">
示例4: ino_inline_action
?>
<td><?php
echo ino_inline_action(${$class_second}->cc_co_line_id, array('template_id' => $cc_co_header->template_id, 'cc_co_header_id' => $cc_co_header->cc_co_header_id));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
echo $f->text_field('cc_co_line_id', ${$class_second}->cc_co_line_id, '8', '', '', '', 1);
?>
</td>
<td><?php
echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m);
form::text_field_wid2('item_number', 'select_item_number_all_fm2');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->text_field_wid2s('new_revision');
?>
</td>
<td><?php
echo $f->text_field('item_description', ${$class_second}->item_description);
?>
</td>
<?php
if (!empty($template_lines)) {
$pos = 0;
$template_lines_ia->seek($pos);
while ($template_lines_ia->valid()) {
示例5:
?>
</td>
<td><?php
$f->text_field_wid2('purpose');
?>
</td>
<td><?php
form::number_field_wid2('exchange_rate');
?>
</td>
<td><?php
form::text_field_wid2('vendor_name');
?>
</td>
<td><?php
form::text_field_wid2('vendor_details');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</div>
</form>
</div>
<div id="js_data">
示例6: foreach
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($bom_config_line_object as $bom_config_line) {
?>
<tr class="bom_config_line<?php
echo $count;
?>
">
<td><?php
form::text_field_wid2('planning_percentage');
?>
</td>
<td><?php
form::text_field_wid2('yield');
?>
</td>
<td><?php
echo form::select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_second}->wip_supply_type, '', $readonly, '', '', '');
?>
</td>
<td><?php
echo form::select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->supply_sub_inventory, '', $readonly, 'subinventory_id', '', '');
?>
</td>
<td><?php
echo form::select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_second}->supply_sub_inventory), 'locator_id', 'locator', ${$class_second}->supply_locator, '', $readonly, 'locator_id', '', '');
?>
</td>
</tr>
示例7:
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('start_date', ${$class_second}->start_date);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('end_date', ${$class_second}->end_date);
?>
</td>
<td><?php
echo ${$class_second}->status;
?>
</td>
<td><?php
form::text_field_wid2('period_name');
?>
</td>
<td><?php
form::text_field_wid2l('description');
?>
</td>
</tr>
<?php
$count = $count + 1;
$hr_payroll_schedule_object_ai->next();
if ($hr_payroll_schedule_object_ai->key() == $position + $per_page) {
break;
}
}
?>
示例8:
?>
</td>
<td><?php
$f->text_field_wid2r('employee_id');
?>
</td>
<td><?php
$f->text_field_wid2r('period_name_id');
?>
</td>
<td><?php
$f->text_field_wid2r('pay_date');
?>
</td>
<td><?php
form::text_field_wid2('status');
?>
</td>
<td><?php
form::text_field_wid2l('description');
?>
</td>
</tr>
<?php
$count = $count + 1;
$hr_payslip_header_object_ai->next();
if ($hr_payslip_header_object_ai->key() == $position + $per_page) {
break;
}
}
?>
示例9:
?>
</td>
<td><?php
form::text_field_wid2('amount_percentage');
?>
</td>
<td><?php
form::text_field_wid2('due_days');
?>
</td>
<td><?php
echo $f->date_fieldFromToday('due_dates', ${$class_second}->due_dates);
?>
</td>
<td><?php
form::text_field_wid2('due_date_of_month');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</form>
</div>
<div id ="form_line2" class="form_line2">
<form action="" method="post" id="payment_term_discount_line" name="payment_term_discount_line">
<div id="tabsLine-2" class="tabContent">
示例10: ino_inline_action
} else {
$bom_overhead_resource_assignment->bom_cost_type_description = null;
}
?>
<tr class="bom_overhead_resource_assignment<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->bom_overhead_resource_assignment_id, array('bom_overhead_id' => ${$class}->bom_overhead_id));
?>
</td>
<td><?php
form::text_field_wid2('bom_overhead_resource_assignment_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('bom_cost_type', bom_cost_type::find_all(), 'cost_type_code', 'cost_type', ${$class_second}->bom_cost_type, '', '', 1, $readonly);
?>
</td>
<td><?php
$f->text_field_wid2r('bom_cost_type_description');
?>
</td>
<td>
<?php
echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_second}->resource_id, '', $readonly, 'resource_id');
?>
</td>
示例11:
?>
</td>
<td><?php
echo form::date_fieldAnyDay('effective_start_date', ${$class_second}->effective_start_date);
?>
</td>
<td><?php
echo form::date_fieldAnyDay('effective_end_date', ${$class_second}->effective_end_date);
?>
</td>
<td><?php
echo form::checkBox_field('eco_implemented_cb', ${$class_second}->eco_implemented_cb, 'eco_implemented_cb', $readonly);
?>
</td>
<td><?php
form::text_field_wid2('eco_number');
?>
</td>
<td><?php
echo form::checkBox_field('include_in_rollup_cb', ${$class_second}->include_in_rollup_cb);
?>
</td>
<td><?php
form::number_field_wid2s('yield');
?>
</td>
<td><?php
form::number_field_wid2s('cumm_yield');
?>
</td>
示例12:
?>
</td>
<td><?php
form::number_field_wid2sr('sys_value_group_line_id');
?>
</td>
<td><?php
form::text_field_wid2sm('code');
?>
</td>
<td><?php
form::text_field_wid2('code_value');
?>
</td>
<td><?php
form::text_field_wid2('description');
?>
</td>
<td><?php
echo form::status_field_d2('status');
?>
</td>
<td><?php
echo form::date_field('effective_start_date', ${$class_second}->effective_start_date, '10', '', '', '');
?>
</td>
<td><?php
echo form::date_field('effective_end_date', ${$class_second}->effective_end_date, '10', '', '', '');
?>
</td>
</tr>
示例13:
?>
</td>
<td><?php
form::text_field_wid2('supplier_name');
?>
</td>
<td><?php
form::text_field_wid2('supplier_site_id');
?>
</td>
<td><?php
form::text_field_wid2('supplier_site_number');
?>
</td>
<td><?php
form::text_field_wid2('supplier_site_name');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
<div id="tabsLine-5" class="form_data_line_tbody">
示例14:
?>
</td>
<td><?php
form::text_field_wid2('customer_name');
?>
</td>
<td><?php
form::text_field_wid2('ar_customer_site_id');
?>
</td>
<td><?php
form::text_field_wid2('customer_site_number');
?>
</td>
<td><?php
form::text_field_wid2('customer_site_name');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
</div>
</div>
示例15:
?>
</td>
<td><?php
form::number_field_wid2s('receipt_amount');
?>
</td>
<td><?php
$f->text_field_wid2('purpose');
?>
</td>
<td><?php
form::number_field_wid2s('exchange_rate');
?>
</td>
<td><?php
form::text_field_wid2('vendor_name');
?>
</td>
<!--<td><?php
// form::text_field_wid2('vendor_details');
?>
</td>-->
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>