本文整理汇总了PHP中inoform::l_select_field_from_array方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_select_field_from_array方法的具体用法?PHP inoform::l_select_field_from_array怎么用?PHP inoform::l_select_field_from_array使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::l_select_field_from_array方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</li>
<li><?php
$f->l_text_field_d('remittance_advice_email');
?>
</li>
<li><?php
$f->l_select_field_from_object('bu_tax_code', mdm_tax_code::find_all_inTax_by_bu_org_id(${$class}->org_id), 'mdm_tax_code_id', 'tax_code', ${$class}->bu_tax_code, '', 'input_tax medium');
?>
</li>
<li><?php
$f->l_select_field_from_object('invoice_currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class}->invoice_currency, 'invoice_currency');
?>
</li>
<li><?php
$f->l_select_field_from_array('payment_priority', dbObject::$position_array, ${$class}->payment_priority);
?>
</li>
<li><?php
$f->l_select_field_from_object('payment_term_id', payment_term::find_all(), 'payment_term_id', 'payment_term', ${$class}->payment_term_id, 'payment_term_id');
?>
</li>
</ul>
</div>
<!--end of tab5 (Manufacturing)!! start of planning -->
<div id="tabsLine-5" class="tabContent">
<div id="show_attachment" class="show_attachment">
<div id="file_upload_form">
<ul class="inRow asperWidth">
<li><input type="file" id="attachments" class="attachments" name="attachments[]" multiple/></li>
<li> <input type="button" value="Attach" form="file_upload" name="attach_submit" id="attach_submit" class="submit button"></li>
示例2: gettext
</li>
<li><?php
$f->l_date_fieldFromToday('approved_date', ${$class}->approved_date);
?>
</li>
<li data-employee_type="approver"><label><i class="hr_employee_id select_popup clickable fa fa-search"></i>
<?php
echo gettext('Approver');
?>
</label><?php
$f->text_field_dr('approved_by');
echo $f->hidden_field_withId('approved_by_employee_id', ${$class}->approved_by_employee_id);
?>
</li>
<li><?php
$f->l_select_field_from_array('leave_status', hr_leave_transaction::$leave_status_a, ${$class}->leave_status, '', '', '', '', 1);
?>
</li>
<li><?php
$f->l_select_field_from_array('leave_action', ${$class}->leave_action_a, ${$class}->leave_action);
?>
</li>
<?php
echo $f->hidden_field_withId('sys_notification_group_id', ${$class}->sys_notification_group_id);
?>
<?php
echo $f->hidden_field_withId('sys_notification_id', ${$class}->sys_notification_id);
?>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
示例3:
?>
</li>
<li><?php
$f->l_text_field_dm('journal_name');
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_select_field_from_object('balance_type', ${$class}->gl_balance_type(), 'option_line_code', 'option_line_value', ${$class}->balance_type, 'balance_type', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_array('status', ${$class}->status_a, ${$class}->status, 'status', '', '', 1, 1);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_d('post_date', ${$class}->post_date);
?>
</li>
<li id="document_status"><?php
$f->l_select_field_from_array('action', $action_a, ${$class}->action, 'action');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div class="vertical-align-top">
<div class="panel panel-collapse panel-ino-classy large_box">
示例4: gettext
</a></li>
<li><a href="#tabsLine-2"><?php
echo gettext('Accounts');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('payment_term_id', payment_term::find_all(), 'payment_term_id', 'payment_term', ${$class}->payment_term_id, '', 'medium', 1, $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_array('inv_approval_hierarchy', ap_payable_control::$approval_hierarchy_a, ${$class}->inv_approval_hierarchy);
?>
</li>
<li><?php
$f->l_select_field_from_array('payment_approval_hierarchy', ap_payable_control::$approval_hierarchy_a, ${$class}->payment_approval_hierarchy);
?>
</li>
<li><?php
$f->l_select_field_from_object('expense_pay_group', option_header::find_options_byName('AP_PAY_GROUP'), 'option_line_code', 'option_line_value', ${$class}->expense_pay_group, '', 'medium', '', $readonly);
?>
</li>
<li><?php
$f->l_text_field_d('expense_template_id');
?>
</li>
<li><?php
示例5:
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'kanban_subinventory_id', 'kanban_subinventory_id', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class}->subinventory_id), 'locator_id', 'locator', ${$class}->locator_id, 'locator_id', 'locator_id kanban_subinventory_id', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_array('source_type', fp_kanban_header::$source_type_a, ${$class}->source_type, 'source_type', 'medium');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_select_field_from_array('calculate', fp_kanban_header::$calculate_a, ${$class}->calculate, 'calculate', 'medium');
?>
</li>
<li><?php
$f->l_number_field_d('card_size');
?>
</li>
<li><?php
示例6: gettext
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Demand');
?>
</a></li>
<li><a href="#tabsLine-2"><?php
echo gettext('Supply');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_array('demand_type', inv_reservation::$demand_type_a, ${$class}->demand_type, 'demand_type');
?>
</li>
<li><?php
$f->l_val_field_d('so_number', 'sd_so_all_v', 'so_number', '', 'select so_number');
echo $f->hidden_field_withId('sd_so_header_id', ${$class}->sd_so_header_id);
echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup');
echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
?>
<i class="select_so_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></li>
<li><?php
$f->l_val_field_d('so_line_number', 'sd_so_all_v', 'line_number', 'sd_so_line_id', 'select so_line_number line_number');
echo $f->hidden_field_withId('sd_so_line_id', ${$class}->sd_so_line_id);
echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup');
示例7:
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('adm_task_type_id');
?>
<a name="show" href="form.php?class_name=adm_task_type&<?php
echo "mode={$mode}";
?>
" class="show document_id adm_task_type_id"><i class='fa fa-refresh'></i></a>
</li>
<li><?php
$f->l_text_field_d('task_type');
?>
</li>
<li><?php
$f->l_select_field_from_array('access_level', option_header::$access_level_a, ${$class}->access_level, 'access_level', '', '', $readonly);
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('from_date', ${$class}->from_date);
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('to_date', ${$class}->to_date);
?>
</li>
<li><?php
示例8: gettext
$f->l_select_field_from_object('to_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->to_org_id, 'to_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_text_field('order_number', ${$class}->order_number, '', 'order_number', 'primary_column2', '', $readonly1);
?>
</li>
<li><label><?php
echo gettext('Date');
?>
</label><?php
echo $f->date_fieldFromToday_d('transaction_date', ino_date(${$class}->transaction_date), $readonly1);
?>
</li>
<li><?php
echo $f->l_select_field_from_array('transaction_type_id', inv_interorg_transfer_header::$transaction_type_id_a, ${$class}->transaction_type_id, 'transaction_type_id', '', 1, $readonly1, $readonly1);
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
<div id="tabsHeader-3" class="tabContent">
<div id="comments">
<div id="comment_list">
<?php
echo !empty($comments) ? $comments : "";
示例9: ino_attachement
?>
</li>
<li><?php
$f->l_text_field_d('from_email');
?>
</li>
<li><?php
$f->l_text_field_d('reply_to');
?>
</li>
<li><?php
$f->l_checkBox_field_d('use_smtp_cb');
?>
</li>
<li><?php
$f->l_select_field_from_array('content_type', sys_message_format::$content_type_a, ${$class}->content_type);
?>
</li>
<li><?php
$f->l_status_field_d('status');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
<div id="tabsHeader-3" class="tabContent">
示例10:
?>
<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>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_checkBox_field_d('rev_enabled_cb');
?>
</li>
<li><?php
$f->l_text_field_d('rev_number');
?>
</li>
<li><?php
示例11:
</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_text_field_dr('project_number');
echo $f->hidden_field_withCLass('prj_project_header_id', ${$class}->prj_project_header_id, 'popup_value');
?>
</li>
<li><?php
$f->l_text_field_d('revenue_class');
?>
</li>
<li><?php
$f->l_select_field_from_array('revenue_status', prj_revenue_header::$status_a, ${$class}->revenue_status, 'revenue_status', 'always_readonly');
?>
</li>
<li><?php
$f->l_text_field_dr('transfer_status');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_ac_field_d('unearned_coa_id');
?>
</li>
示例12:
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('payment_term_id', payment_term::find_all(), 'payment_term_id', 'payment_term', ${$class}->payment_term_id, '', 'medium', 1, $readonly);
?>
</li>
<li><?php
$f->l_address_field_d('ship_to_id');
?>
</li>
<li><?php
$f->l_address_field_d('bill_to_id');
?>
</li>
<li><?php
$f->l_select_field_from_array('po_approval_hierarchy', po_purchasing_control::$approval_hierarchy_a, ${$class}->po_approval_hierarchy);
?>
</li>
<li><?php
$f->l_select_field_from_array('req_approval_hierarchy', po_purchasing_control::$approval_hierarchy_a, ${$class}->req_approval_hierarchy);
?>
</li>
<li><?php
$f->l_ac_field_d('tax_ac_id');
?>
</li>
</ul>
</div>
<!--end of tab1 div three_column-->
</div>
<!-- end of tab1-->
示例13:
<a name="show" href="form.php?class_name=hr_approval_object&<?php
echo "mode={$mode}";
?>
" class="show document_id hr_approval_object_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field_d('object_code');
?>
</li>
<li><?php
$f->l_text_field_d('object_name');
?>
</li>
<li><?php
$f->l_select_field_from_array('value_type', hr_approval_object::$value_type_a, ${$class}->value_type);
?>
</li>
<li><?php
$f->l_select_field_from_array('return_type', hr_approval_object::$return_type_a, ${$class}->return_type);
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
</ul>
</div>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
示例14: gettext
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Basic Info');
?>
</a></li>
<li><a href="#tabsLine-2"><?php
echo gettext('Bank Account');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_array('creation_method', ar_receipt_source::$creation_method_a, ${$class}->creation_method, 'creation_method', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_array('remittance', ar_receipt_source::$remittance_method_a, ${$class}->remittance, 'remittance', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_array('clearance', ar_receipt_source::$clearance_method_a, ${$class}->clearance, 'clearance', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_checkBox_field_d('sync_receipt_number_cb');
?>
</li>
</ul>
示例15: gettext
?>
</li>
<li><label><i class="wip_wo_header_id select_popup clickable fa fa-search"></i>
<?php
echo gettext('WO Header Id');
?>
</label> <?php
$f->text_field_drm('wip_wo_header_id');
?>
</li>
<li><?php
$f->l_text_field_d('wo_number');
?>
</li>
<li><?php
$f->l_select_field_from_array('transaction_type_id', wip_wo_completion::$transaction_type_id_a, ${$class}->transaction_type_id, 'transaction_type_id', '', 1);
?>
<a name="show" href="form.php?class_name=wip_wo_completion&<?php
echo "mode={$mode}";
?>
" class="show2 document_id wip_wo_completion_id">
<i class="fa fa-refresh"></i></a>
</li>
</ul>
</div>
</div>
<div id ="form_line" class="form_line"><span class="heading"><?php
echo gettext('Work Order Details');
?>
</span>
<div id="tabsLine">