当前位置: 首页>>代码示例>>PHP>>正文


PHP inoform::l_select_field_from_object方法代码示例

本文整理汇总了PHP中inoform::l_select_field_from_object方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_select_field_from_object方法的具体用法?PHP inoform::l_select_field_from_object怎么用?PHP inoform::l_select_field_from_object使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在inoform的用法示例。


在下文中一共展示了inoform::l_select_field_from_object方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

?>
</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('bom_department_id');
?>
         <a name="show" href="form.php?class_name=bom_department&<?php 
echo "mode={$mode}";
?>
" class="show document_id bom_department_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_text_field_d('department');
?>
</li>
        <li><?php 
$f->l_text_field_d('description');
?>
</li>
        <li><?php 
$f->l_select_field_from_object('department_type', $class::bom_department_type(), 'option_line_id', 'option_line_code', ${$class}->department_type, 'department_type', '', '', $readonly);
?>
        </li>
        <li><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:bom_department_template.php

示例2: gettext

  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo gettext('Date Details');
?>
</span>
   <div id="tabsLine">
    <ul class="tabMain">
     <li><a href="#tabsLine-1"><?php 
echo gettext('Leave Details');
?>
</a></li>
    </ul>
    <div class="tabContainer"> 
     <ul class="column header_field">
      <li><?php 
$f->l_select_field_from_object('leave_type', hr_leave_type::find_all(), 'hr_leave_type_id', 'leave_type', ${$class}->leave_type, '', '', 1, $readonly);
?>
</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 
$f->l_text_field_d('reason');
?>
</li>
      <li><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:leave_transaction_template.php

示例3: Name

?>
</a></li>
   </ul>
   <div class="tabContainer">
    <div id="tabsHeader-1" class="tabContent">
     <ul class="column header_field">
      <li><?php 
echo $f->l_text_field_dr_withSearch('gl_journal_header_id');
?>
       <a name="show" href="form.php?class_name=gl_journal_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id gl_journal_header_id">
        <i class="fa fa-refresh"></i></a> </li>
      <li><?php 
$f->l_select_field_from_object('ledger_id', gl_ledger::find_all(), 'gl_ledger_id', 'ledger', ${$class}->ledger_id, 'ledger_id', '', 1, $readonly1);
echo $f->hidden_field_withId('coa_id', ${$class}->coa_id);
?>
</li>
      <li><?php 
$f->l_select_field_from_object('currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class}->currency, 'currency', '', 1, 1);
?>
  </li>
      <li><?php 
$f->l_select_field_from_object('doc_currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class}->doc_currency, 'doc_currency', '', 1, $readonly1);
?>
  </li>
      <li><label>Period Name(3)</label><?php 
echo $period_name_stmt;
?>
</li>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:journal_template.php

示例4: gettext

        <li><label><?php 
echo gettext('Status');
?>
</label>                      
         <?php 
echo !empty(${$class}->wo_status) ? ${$class}->wo_status : "";
?>
        </li>
       </ul>
      </div>
      <div id="tabsHeader-2" class="tabContent">
       <div> 
        <ul class="column header_field">
         <li id="document_status"><?php 
$f = new inoform();
$f->l_select_field_from_object('wo_status', wip_wo_header::wip_wo_status(), 'option_line_code', 'option_line_value', ${$class}->wo_status, 'set_wo_status', '', '', $readonly);
?>
         </li>
         <li><?php 
$f->l_date_fieldFromToday_dm('start_date', ${$class}->start_date, 'start_date', 'default_date');
?>
</li>
         <li><?php 
$f->l_date_fieldFromToday_d('completion_date', ${$class}->completion_date, 'completion_date');
?>
</li>
         <li><?php 
$f->l_number_field_d('quantity');
?>
 </li>
         <li><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:wip_wo_template.php

示例5: gettext

?>
       <a name="show" href="form.php?class_name=prj_project_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id prj_project_header_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_text_field_d('project_number', 'primary_column2');
?>
</li>
      <li><?php 
$f->l_text_field_d('name');
?>
</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', $readonly1, '', '');
?>
						 </li>
      <li><?php 
$f->l_select_field_from_object('prj_project_type_id', prj_project_type_header::find_all(), 'prj_project_type_header_id', 'project_type', ${$class}->prj_project_type_id, 'prj_project_type_header_id', 'medium', 1, $readonly1);
?>
						 </li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Name');
?>
</label><?php 
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
echo $f->text_field('customer_name', ${$class}->customer_name, '20', 'customer_name', 'select_customer_name', '', $readonly1);
?>
       <i class="ar_customer_id select_popup clickable fa fa-search"></i></li>
      <li><label class="auto_complete"><?php 
开发者ID:ruidikz,项目名称:inoERP,代码行数:31,代码来源:project_template.php

示例6: ino_attachement

?>
					</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 
$f->l_select_field_from_object('process_flow_header_id', sys_process_flow_header::find_all(), 'sys_process_flow_header_id', 'process_flow', ${$class}->process_flow_header_id, 'process_flow_header_id');
?>
</li>
       </ul>
     </div>
     <div id="tabsHeader-2" class="tabContent">
      <div> <?php 
echo ino_attachement($file);
?>
 </div>
     </div>
     <div id="tabsHeader-3" class="tabContent">
      <div> 
       <div id="comments">
        <div id="comment_list">
         <?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:task_type_template.php

示例7: gettext

-->

<div id ="form_header"><span class="heading"><?php 
echo gettext('Payable Control');
?>
</span>
 <form method="post" id="ap_payable_control"  name="ap_payable_control">
  <div class="tabContainer">
   <ul class="column header_field"><?php 
$f = new inoform();
?>
    <?php 
echo form::hidden_field('ap_payable_control_id', ${$class}->ap_payable_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', ${$class}->org_id, 'org_id', 'action', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=ap_payable_control&<?php 
echo "mode={$mode}";
?>
" class="show org_id"><i class="fa fa-refresh"></i></a> 
    </li>
   </ul>
  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo gettext('Control Details');
?>
</span>
   <div id="tabsLine">
    <ul class="tabMain">
     <li><a href="#tabsLine-1"><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:ap_payable_control_template.php

示例8:

?>
</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_project_type_header_id');
?>
       <a name="show" href="form.php?class_name=prj_project_type_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id prj_project_type_header_id"><i class="fa fa-refresh"></i></a> 
      </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', $readonly1, '', '');
?>
						 </li>
      <li><?php 
$f->l_text_field_d('project_type');
?>
</li>
      <li><?php 
$f->l_select_field_from_array('project_class', prj_project_type_header::$project_class_a, ${$class}->project_class, 'project_class');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('service_type', option_header::find_options_byName('CE_SERVICE TYPE'), 'option_line_code', 'option_line_value', ${$class}->service_type, 'service_type');
?>
</li>
      <!--<li><?php 
开发者ID:visrey,项目名称:inoERP,代码行数:31,代码来源:prj_project_type_template.php

示例9: gettext

<div id ="form_header"><span class="heading"><?php 
echo gettext('Shipping Control');
?>
</span>
 <form method="post" id="sd_shipping_control"  name="sd_shipping_control">
  <div class="tabContainer">
   <ul class="column header_field"><?php 
$f = new inoform();
?>
  
    <?php 
echo form::hidden_field('sd_shipping_control_id', ${$class}->sd_shipping_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=sd_shipping_control&<?php 
echo "mode={$mode}";
?>
" class="show document_id sd_shipping_control_id">
      <i class="fa fa-refresh"></i></a> 
    </li>
    <li><?php 
$f->l_checkBox_field_d('rev_enabled');
?>
</li>
    <li><?php 
$f->l_text_field_d('rev_number');
?>
 </li>
开发者ID:hanhan109dude,项目名称:inoERP,代码行数:30,代码来源:shipping_control_template.php

示例10:

     <ul class="column header_field">
      <li><?php 
$f->l_text_field_dr_withSearch('bc_label_format_header_id');
?>
       <a name="show" href="form.php?class_name=bc_label_format_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id bc_label_format_header_id">
        <i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_text_field_d('format_name');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('label_type', bc_label_format_header::label_type(), 'option_line_code', 'option_line_value', ${$class}->label_type);
?>
</li>
      <li><?php 
$f->l_date_fieldFromToday('disable_date', ${$class}->disable_date);
?>
</li>
      <li><?php 
$f->l_text_field_d('description');
?>
</li>
      <li><?php 
$f->l_checkBox_field_d('default_cb');
?>
</li>
     </ul>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:label_format_template.php

示例11:

    <li><a href="#tabsHeader-3">Attachments</a></li>
   </ul>
   <div class="tabContainer panel-ino-light-grey">
    <div id="tabsHeader-1" class="tabContent">
      <ul class="column header_field">
       <li><?php 
$f->l_text_field_dr_withSearch('coa_id');
?>
<a name="show" href="form.php?class_name=coa&<?php 
echo "mode={$mode}";
?>
" class="show document_id coa_id">
         <i class='fa fa-refresh'></i></a> 
       </li>
       <li><?php 
$f->l_select_field_from_object('coa_structure_id', coa::coa_structures(), 'option_header_id', 'option_type', ${$class}->coa_structure_id, 'coa_structure_id', 'action', '', $readonly1);
?>
        <i class='fa fa-refresh'></i></a> 
       </li>
       <li><?php 
$f->l_text_field_d('coa_name');
?>
</li>
       <li><?php 
$f->l_text_field_d('description');
?>
</li>
       <li><?php 
$f->l_status_field_d('status');
?>
</li>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:coa_template.php

示例12: category

</label><?php 
$cat = new category();
echo $cat->all_child_category_select_option('parent_id', '', ${$class}->parent_id, 'parent_id', false);
?>
 
      </li>
      <li><?php 
$f->l_text_field_dm('category');
?>
</li>
      <li><?php 
$f->l_select_field_from_array('content_relation', category::$content_relation_a, ${$class}->content_relation);
?>
</li>
      <li><?php 
$f->l_select_field_from_object('category_type', category::category_types(), 'option_line_code', 'option_line_value', ${$class}->category_type, 'category_type');
?>
</li>
      <li><?php 
$f->l_text_field_d('description');
?>
</li>
      <li><?php 
$f->l_text_field_d('priority');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('content_block_id', block::find_all(), 'block_id', 'name', ${$class}->content_block_id, 'content_block_id');
?>
</li>
      <li><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:category_template.php

示例13: gettext

?>
</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('bom_config_header_id');
?>
       <a name="show" href="form.php?class_name=bom_config_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id bom_config_header_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', $bom_config_header->org_id, 'org_id', '', '', $readonly);
?>
       </li>
      <li><label><?php 
echo gettext('Item Number');
?>
</label><?php 
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
?>
       <?php 
$f->text_field_dm('item_number', 'select_item_number_allowedBOM');
?>
       <i class="select_item_number select_popup clickable fa fa-search"></i>
      </li>
      <li><?php 
$f->l_select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom_id', 'uom_id');
开发者ID:xplitz27,项目名称:inoERP,代码行数:31,代码来源:config_template.php

示例14:

       <li><?php 
echo $f->l_status_field_d('status');
?>
</li>
       <li><?php 
$f->l_text_field_d('description');
?>
</li>
      </ul>
     </div>
    </div>
    <div id="tabsHeader-2" class="tabContent">
     <div class="large_shadow_box"> 
      <ul class="column header_field">
       <li><?php 
$f->l_select_field_from_object('job_id', hr_job::find_all(), 'hr_job_id', 'job_name', ${$class}->job_id, 'job_id');
?>
 					</li>
       <li><?php 
$f->l_select_field_from_object('position_id', hr_position::find_all(), 'hr_position_id', 'position_name', ${$class}->position_id, 'position_id');
?>
  </li>
       <li><?php 
$f->l_text_field_d('leave_group');
?>
</li>
       <li><?php 
$f->l_text_field_d('employee_id');
?>
</li>
      </ul>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:leave_entitlement_template.php

示例15:

?>
</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_cp_assignment_header_id');
?>
       <a name="show" href="form.php?class_name=qa_cp_assignment_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id qa_cp_assignment_header_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_select_field_from_object('qa_cp_header_id', qa_cp_header::find_all(), 'qa_cp_header_id', 'plan_name', ${$class}->qa_cp_header_id, 'qa_cp_header_id');
?>
</li> 
      <li><?php 
$f->l_select_field_from_object('inv_transaction_id', transaction_type::find_all(), 'transaction_type_id', 'transaction_type', ${$class}->inv_transaction_id, 'inv_transaction_id');
?>
</li> 
      <li><?php 
$f->l_text_field_d('description');
?>
</li> 
      <li><?php 
$f->l_date_fieldAnyDay('effective_from', ${$class}->effective_from);
?>
</li> 
      <li><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:cp_assignment_template.php


注:本文中的inoform::l_select_field_from_object方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。