本文整理汇总了PHP中inoform::l_val_field_d方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_val_field_d方法的具体用法?PHP inoform::l_val_field_d怎么用?PHP inoform::l_val_field_d使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::l_val_field_d方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
<a name="show" href="form.php?class_name=prj_revenue_header&<?php
echo "mode={$mode}";
?>
" class="show document_id prj_revenue_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field_d('revenue_number', 'primary_column2');
?>
</li>
<li><?php
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_val_field_d('project_number', 'prj_project_header', 'project_number', '', 'select project_number');
echo $f->hidden_field_withCLass('prj_project_header_id', ${$class_second}->prj_project_header_id, 'popup_value');
echo $f->hidden_field_withCLass('approval_status', 'APPROVED', 'popup_value');
?>
<i class="generic select_project_number select_popup clickable fa fa-search" data-class_name="prj_project_header"></i></li>
<li><?php
$f->l_text_field_d('revenue_class');
?>
</li>
<li><?php
$f->l_text_field_dr('revenue_status');
?>
</li>
<li><?php
$f->l_text_field_dr('transfer_status');
?>
示例2: gettext
<div id="tabsHeader-3" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->from_org_id, 'from_org_id', 'org_id', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->from_org_id), 'from_subinventory_id', 'subinventory', ${$class}->from_subinventory_id, 'from_subinventory_id', 'from_subinventory_id', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, 'from_locator_id', 'locator_id from_subinventory_id', '', $readonly);
?>
</li>
<li><?php
echo $f->l_val_field_d('supplier_name', 'supplier', 'supplier_name', '', 'supplier_name', 'vf_select_supplier_name');
echo $f->hidden_field_withId('supplier_id', ${$class}->supplier_id);
?>
<i class="generic g_select_supplier_name select_popup clickable fa fa-search" data-class_name="supplier"></i></li>
<li><label><?php
echo gettext('Supplier Site');
?>
</label><?php
$supplier_site_obj = !empty(${$class}->supplier_id) ? supplier_site::find_by_parent_id(${$class}->supplier_id) : array();
echo $f->select_field_from_object('supplier_site_id', $supplier_site_obj, 'supplier_site_id', 'supplier_site_name', ${$class}->supplier_site_id, 'supplier_site_id', '', '', $readonly1);
?>
</li>
<li><?php
$f->l_text_field_d('rfid_reference');
?>
</li>
示例3:
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('inv_reservation_id');
?>
<a name="show" href="form.php?class_name=inv_reservation&<?php
echo "mode={$mode}";
?>
" class="show document_id inv_reservation_id"><i class='fa fa-refresh'></i></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_val_field_d('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?>
</li>
<li><?php
$f->l_text_field_d('item_description');
?>
</li>
<li><?php
$f->l_select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, 'uom_id', 'uom_id', '', $readonly1);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('need_by_date', ${$class}->need_by_date, 1);
?>
示例4:
</li>
<li><?php
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $sd_so_header->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
</li>
<li><?php
$f->l_select_field_from_object('document_type', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', $sd_so_header->document_type, 'document_type', 'medium', 1, $readonly1);
?>
</li>
<li><?php
echo $f->l_val_field_dm('customer_name', 'ar_customer', 'customer_name', '', 'customer_name', 'vf_select_customer_name');
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
?>
<i class="generic g_select_customer_name select_popup clickable fa fa-search" data-class_name="ar_customer"></i></li>
<li><?php
echo $f->l_val_field_d('customer_number', 'ar_customer', 'customer_number', '', '', 'vf_select_customer_number');
?>
<i class="generic g_select_customer_number select_popup clickable fa fa-search" data-class_name="ar_customer"></i></li>
<li><?php
$f->l_select_field_from_object('ar_customer_site_id', $customer_site_obj, 'ar_customer_site_id', 'customer_site_name', ${$class}->ar_customer_site_id, 'ar_customer_site_id', 'ar_customer_site_id', '', $readonly1);
?>
</li>
<li><?php
$f->l_text_field_dr('so_status');
?>
</li>
<li><?php
$f->l_select_field_from_array('order_source_type', sd_so_header::$order_source_type_a, ${$class}->order_source_type, 'order_source_type', '', 1, 1);
?>
</li>
</ul>
示例5:
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('effective_from', ${$class}->effective_from);
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('effective_to', ${$class}->effective_to);
?>
</li>
<li><?php
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
echo $f->l_val_field_d('item_number', 'item', 'item_number', 'org_id', 'vf_select_item_number');
?>
<i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i>
</li>
<li><?php
echo $f->l_val_field_dm('customer_name', 'ar_customer', 'customer_name', '', 'customer_name', 'vf_select_customer_name');
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
?>
<i class="generic g_select_customer_name select_popup clickable fa fa-search" data-class_name="ar_customer"></i></li>
<li><?php
echo $f->l_val_field_dm('supplier_name', 'supplier', 'supplier_name', '', 'supplier_name', 'vf_select_supplier_name');
echo $f->hidden_field_withId('supplier_id', ${$class}->supplier_id);
?>
<i class="generic g_select_supplier_name select_popup clickable fa fa-search" data-class_name="supplier"></i></li>
<li><?php
$f->l_status_field_d('status');
示例6: inoform
<div class="large_shadow_box">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('hr_element_entry_header_id');
?>
<a name="show" href="form.php?class_name=hr_element_entry_header&<?php
echo "mode={$mode}";
?>
" class="show document_id hr_element_entry_header_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f = new inoform();
// $reado_c = !empty($$class->hr_element_entry_header_id) ? ' always_readonly ' : ' ' ;
// $div_Class = 'vf_select_employee_name employee_name '. $reado_c;
echo $f->l_val_field_d('employee_name', 'hr_employee_v', 'employee_name', '', 'vf_select_employee_name employee_name ');
echo $f->hidden_field_withCLass('hr_employee_id', ${$class}->hr_employee_id, 'hr_employee_id claim_emplyee_id');
?>
<i class="generic g_select_employee_name select_popup clickable fa fa-search" data-class_name="hr_employee_v"></i></li>
<li><?php
$f->l_text_field_dr('identification_id');
?>
</li>
<li><?php
$f->l_checkBox_field_d('archive_data_cb');
?>
</li>
</ul>
</div>
</div>
</div>