本文整理汇总了PHP中option_header::find_options_byName方法的典型用法代码示例。如果您正苦于以下问题:PHP option_header::find_options_byName方法的具体用法?PHP option_header::find_options_byName怎么用?PHP option_header::find_options_byName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类option_header
的用法示例。
在下文中一共展示了option_header::find_options_byName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
<li><a href="#tabsHeader-3"><?php
echo gettext('Attachments');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field two_column_form ">
<li><?php
$f = new inoform();
echo $f->hidden_field_withIdClass('hd_subscription_header_id', ${$class}->hd_subscription_header_id, 'hd_subscription_header_id');
$f->l_select_field_from_array('subscription_type', hd_subscription_header::$subscription_type_a, ${$class}->subscription_type, 'subscription_type', '', 1);
?>
</li>
<li><label>Membership Type</label><?php
echo $f->select_field_from_object('document_type', option_header::find_options_byName('HD_SUBSCR_DOC_TYPE'), 'option_line_code', 'option_line_value', ${$class}->document_type, 'document_type', $readonly1, '', '');
?>
</li>
<li><?php
$f->l_text_field_d('first_name');
?>
</li>
<li><?php
$f->l_text_field_d('last_name');
?>
</li>
<li><?php
$f->l_text_field_d('full_name');
?>
</li>
<li><?php
示例2:
?>
</td>
<td><?php
echo $f->text_field_wid3('value_from');
?>
</td>
<td><?php
echo $f->text_field_wid3('value_to');
?>
</td>
<td><?php
echo $f->select_field_from_array('spec_value', qa_collection_element_action::$spec_value_a, ${$class_third}->spec_value, '', 'medium');
?>
</td>
<td><?php
echo $f->select_field_from_object('quality_action', option_header::find_options_byName('QA_QUALITY_ACTION'), 'option_line_code', 'option_line_value', ${$class_third}->quality_action);
?>
</td>
<td><?php
echo $f->text_field_wid3('description');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</form>
示例3:
<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
$f->l_select_field_from_array('expense_payment_priority', dbObject::$position_array, ${$class}->expense_payment_priority);
?>
</li>
<li><?php
$f->l_address_field_d('ship_to_id');
?>
</li>
<li><?php
示例4: ino_inline_action
<tr class="qa_cp_assignment_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($qa_cp_assignment_line->qa_cp_assignment_line_id, array('qa_cp_assignment_header_id' => $qa_cp_assignment_header->qa_cp_assignment_header_id, 'qa_cp_header_id' => $qa_cp_assignment_header->qa_cp_header_id));
?>
</td>
<td><?php
$f->text_field_wid2sr('qa_cp_assignment_line_id', 'always_readonly dontCopy line_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('trigger_name', option_header::find_options_byName('QA_COLLECTION_TRIGGER'), 'option_line_code', 'option_line_value', ${$class_second}->trigger_name, '', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_array('trigger_condition', dbObject::$control_type_a, ${$class_second}->trigger_condition, 1);
?>
</td>
<td><?php
$f->text_field_wid2('value_from');
?>
</td>
<td><?php
$f->text_field_wid2('value_to');
?>
</td>
示例5:
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('completion_date', ${$class}->completion_date);
?>
</li>
<li><?php
$f->l_text_field_d('life_cycle');
?>
</li>
<li><?php
$f->l_select_field_from_object('current_phase', option_header::find_options_byName('PRJ_PROJECT_PHASE'), 'option_line_code', 'option_line_value', ${$class}->current_phase);
?>
</li>
<li><?php
$f->l_select_field_from_object('accounting_group', option_header::find_options_byName('PRJ_ACCOUNTING_GRP'), 'option_line_code', 'option_line_value', ${$class}->accounting_group, 'accounting_group', 'action');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_d('project_status');
?>
</li>
<li><?php
$f->l_text_field_dr('approval_status');
?>
</li>
<li><?php
示例6:
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('qa_specification_header_id');
?>
<a name="show" href="form.php?class_name=qa_specification_header&<?php
echo "mode={$mode}";
?>
" class="show document_id qa_specification_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('budget_type', option_header::find_options_byName('qa_specification_TYPE'), 'option_line_code', 'option_line_value', ${$class}->budget_type, 'budget_type', '', 1, $readonly1, '', '', '', 'mapper1');
?>
</li>
<li><?php
echo $f->l_val_field_dm('project_number', 'prj_project_header', 'project_number', '', 'project_number', 'vf_select_project_number');
echo $f->hidden_field_withId('prj_project_header_id', ${$class}->prj_project_header_id);
?>
<i class="generic g_select_project_number select_popup clickable fa fa-search" data-class_name="prj_project_header"></i></li>
<li><?php
$f->l_text_field_dr('version_number');
?>
</li>
<li><?php
$f->l_text_field_d('version_name');
?>
</li>
示例7:
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
form::text_field_wid2sr('hd_subscription_line_id', 'line_id');
?>
</td>
<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('line_type', option_header::find_options_byName('HD_SUBSCR_LINE_TYPE'), 'option_line_code', 'option_line_value', ${$class_second}->line_type, '', 'medium', 1);
?>
</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');
?>
示例8: gettext
<li><?php
$f->l_number_field('control_total', ${$class}->control_total, '15', 'control_total');
?>
</li>
</ul>
</div>
</div>
<div class="panel panel-collapse panel-ino-classy medium_box">
<div class="panel-heading"><div class="panel-title font-medium"><?php
echo gettext('References');
?>
</div></div>
<div class="panel-body">
<ul class="column line_field">
<li><?php
$f->l_select_field_from_object('journal_source', option_header::find_options_byName('GL_JOURNAL_SOURCE'), 'option_line_code', 'option_line_value', ${$class}->journal_source, 'journal_source', '', 1);
?>
</li>
<li><?php
$f->l_select_field_from_object('journal_category', ${$class}->gl_journal_category(), 'option_line_code', 'option_line_value', ${$class}->journal_category, 'journal_category', '', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_text_field_d('reference_type');
?>
</li>
<li><?php
$f->l_text_field_d('reference_key_name');
?>
</li>
<li><?php
示例9:
?>
</li>
<li><?php
$f->l_text_field_d('grouping_method');
?>
</li>
</ul>
</div>
<div id="tabsHeader-3" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('cost_budget_method', option_header::find_options_byName('PRJ_BUDGET_ENTRY_METHOD'), 'option_line_code', 'option_line_value', ${$class}->cost_budget_method);
?>
</li>
<li><?php
$f->l_select_field_from_object('revenue_budget_method', option_header::find_options_byName('PRJ_BUDGET_ENTRY_METHOD'), 'option_line_code', 'option_line_value', ${$class}->revenue_budget_method);
?>
</li>
<li><?php
$f->l_text_field_d('resource_list_id');
?>
</li>
</ul>
</div>
<div id="tabsHeader-4" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_d('labor_billing_type');
?>
</li>
<li><?php
示例10:
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('start_date', ${$class}->start_date);
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('completion_date', ${$class}->completion_date);
?>
</li>
<li><?php
$f->l_text_field_d('life_cycle');
?>
</li>
<li><?php
$f->l_select_field_from_object('current_phase', option_header::find_options_byName('PRJ_PROJECT_PHASE'), 'option_line_code', 'option_line_value', ${$class}->current_phase);
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_d('project_status');
?>
</li>
<li><?php
$f->l_text_field_dr('approval_status');
?>
</li>
<li><?php
示例11: ino_inline_action
<tr class="prj_default_account<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class}->prj_default_account_id, array('prj_project_type_header_id' => $prj_project_type_header_id_h));
?>
</td>
<td><?php
form::number_field_drs('prj_default_account_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('document_type', option_header::find_options_byName('PRJ_DOCUMENT_TYPE'), 'option_line_code', 'option_line_value', ${$class}->document_type, '', 'medium', '', $readonly);
?>
</td>
<td><?php
$f->ac_field_dm('ac_id');
?>
</td>
<td><?php
form::text_field_wid('description');
?>
</td>
<td><?php
$f->status_field_d('status');
?>
</td>
</tr>
示例12:
?>
</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
$f->l_select_field_from_object('plan_type', option_header::find_options_byName('QA_COLLECTION_PLAN_TYPE'), 'option_line_code', 'option_line_value', ${$class}->plan_type, 'plan_type');
?>
</li>
<li><?php
$f->l_select_field_from_object('qa_specification_header_id', qa_specification_header::find_all(), 'qa_specification_header_id', 'specification_name', ${$class}->plan_type, 'qa_specification_header_id');
?>
</li>
<li><?php
$f->l_select_field_from_array('specification_type', qa_specification_header::$specification_type_a, ${$class}->specification_type, 'specification_type');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div>
<div id="comments">
示例13:
" class="show document_id qa_collection_element_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field_dm('element_name');
?>
</li>
<li><?php
$f->l_text_field_dr('sys_name');
?>
</li>
<li><?php
$f->l_select_field_from_object('element_type', option_header::find_options_byName('QA_ELEMENT_TYPE'), 'option_line_code', 'option_line_value', ${$class}->element_type, 'element_type', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('data_type', option_header::find_options_byName('SYS_EXTRA_FIELD_TYPE'), 'option_line_code', 'option_line_value', ${$class}->data_type, 'data_type', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_number_field('data_length', ${$class}->data_length, '', 'data_length');
?>
</li>
<li><?php
$f->l_select_field_from_array('display_type', qa_collection_element_header::$display_type_a, ${$class}->display_type);
?>
</li>
<li><?php
$f->l_checkBox_field_d('active_cb', ${$class}->active_cb);
?>
</li>
<li><?php
示例14:
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('prj_budget_header_id');
?>
<a name="show" href="form.php?class_name=prj_budget_header&<?php
echo "mode={$mode}";
?>
" class="show document_id prj_budget_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('budget_type', option_header::find_options_byName('PRJ_BUDGET_TYPE'), 'option_line_code', 'option_line_value', ${$class}->budget_type, 'budget_type');
?>
</li>
<li><?php
echo $f->l_val_field_dm('project_number', 'prj_project_header', 'project_number', '', 'project_number', 'vf_select_project_number');
echo $f->hidden_field_withId('prj_project_header_id', ${$class}->prj_project_header_id);
?>
<i class="generic g_select_project_number select_popup clickable fa fa-search" data-class_name="prj_project_header"></i></li>
<li><?php
$f->l_text_field_d('version_number');
?>
</li>
<li><?php
$f->l_text_field_d('version_name');
?>
</li>
示例15: ino_inline_action
<tr class="hr_expense_tpl_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->hr_expense_tpl_line_id, array('hr_expense_tpl_header_id' => ${$class}->hr_expense_tpl_header_id, 'hr_expense_tpl_line_id' => ${$class_second}->hr_expense_tpl_line_id));
?>
</td>
<td><?php
$f->text_field_wid2('expense_item');
?>
</td>
<td><?php
echo $f->select_field_from_object('expense_category', option_header::find_options_byName('HR_EXPENSE_CATEGORY'), 'option_line_code', 'option_line_value', ${$class_second}->expense_category, '', 'medium', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('tax_code_id', mdm_tax_code::find_all_inTax_by_bu_org_id(${$class}->bu_org_id), 'mdm_tax_code_id', 'tax_code', ${$class_second}->tax_code_id, '', 'input_tax medium', '', $readonly, '', '', '', 'percentage');
?>
</td>
<td><?php
$f->ac_field_wid2('expense_ac_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('prj_expenditure_type_header_id', prj_expenditure_type_header::find_all(), 'prj_expenditure_type_header_id', 'expenditure_type', ${$class_second}->prj_expenditure_type_header_id);
?>
</td>
<td><?php