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


PHP inoform::select_field_from_object方法代码示例

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


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

示例1:

         </td>
         <td><?php 
    $f->text_field_widr('sys_catalog_value_id');
    ?>
</td>
         <td><?php 
    $f->text_field_widr('line_name');
    ?>
</td>
         <td><?php 
    $f->text_field_widr('description');
    ?>
</td>
         <td><?php 
    if (!empty($val_group_lines)) {
        echo $f->select_field_from_object('line_value', $val_group_lines, 'code', 'code_value', ${$class}->line_value);
    } else {
        $f->text_field_wid('line_value');
    }
    ?>
         </td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
   </form>
  </div>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:value_template.php

示例2: gettext

  </table>
 </div>
 <div id="tabsLine-2" class="tabContent">
  <table class="form_line_data_table">
   <thead>
   <th><?php echo gettext('From SubInv') ?></th>
   <th><?php echo gettext('From Locator') ?></th>
   <th><?php echo gettext('To SubInv') ?></th>
   <th><?php echo gettext('To Locator') ?></th>
   <th><?php echo gettext('Description') ?></th>
   <th><?php echo gettext('Reason') ?></th>
   </thead>
   <tbody class="form_data_line_tbody">
    <tr class="inv_transaction_line0" id="tab2_1">
     <td>
      <?php echo $f->select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->from_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->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', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->to_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_locator_id', locator::find_all_of_subinventory($$class->to_subinventory_id), 'locator_id', 'locator', $$class->to_locator_id, '', 'to_locator_id', '', $readonly); ?>
     </td>
     <td><?php form::text_field_wid('description'); ?>							</td>
     <td><?php form::text_field_wid('reason'); ?>							</td>
    </tr>
   </tbody>
  </table>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:inv_transaction_template.php

示例3: 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 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:subscription_template.php

示例4: inoform

         <td>
          <?php 
    $f = new inoform();
    echo ino_inline_action($hd_sbp_line->hd_sbp_line_id, array('hd_sbp_header_id' => ${$class}->hd_sbp_header_id));
    ?>
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    form::text_field_wid2sr('hd_sbp_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('hd_service_activity_header_id', hd_service_activity_header::find_all(), 'hd_service_activity_header_id', 'activity_name', ${$class_second}->hd_service_activity_header_id);
    ?>
</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 
    $f->text_field_wid2('description');
    ?>
</td>
        </tr>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:sbp_template.php

示例5:

    ?>
</td>
         <td><?php 
    $f->text_field_d2('description');
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_from', ${$class_second}->effective_from);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_to', ${$class_second}->effective_to);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->org_id, '', 'resource_type_control');
    ?>
						 </td>
         <td><?php 
    $f->text_field_wid2('employee_name', 'select employee resource_type_control');
    echo $f->hidden_field_withCLass('hr_employee_id', ${$class_second}->hr_employee_id, 'resource_type_control employee');
    ?>
<i class="select_employee_name select_popup clickable fa fa-search"></i></td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
开发者ID:ruidikz,项目名称:inoERP,代码行数:31,代码来源:resource_list_template.php

示例6: inoform

        <?php 
$f = new inoform();
$count = 0;
foreach ($po_line_object as $po_line) {
    ?>
         
         <tr class="po_line<?php 
    echo $count;
    ?>
">
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('price_list_header_id', mdm_price_list_header::find_all_purchasing_pl(), 'mdm_price_list_header_id', 'price_list', ${$class_second}->price_list_header_id, '', 'medium copyValue');
    ?>
          </td>
          <td><?php 
    echo $f->date_fieldAnyDay('price_date', ${$class_second}->price_date, 'copyValue');
    ?>
</td>
          <td><?php 
    echo $f->number_field('unit_price', ${$class_second}->unit_price);
    ?>
</td>
          <td><?php 
    echo $f->number_field('line_price', ${$class_second}->line_price);
    ?>
</td>
          <td><?php 
开发者ID:visrey,项目名称:inoERP,代码行数:31,代码来源:po_template.php

示例7: gettext

         </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>
     </ul>
    </div>
    <div id="tabsHeader-4" class="tabContent">
     <div> 
      <div id="comments">
       <div id="comment_list">
        <?php 
echo !empty($comments) ? $comments : "";
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:kanban_template.php

示例8: array

">
         <td><?php 
    echo ino_inline_action(${$class_second}->bc_label_format_line_id, array('bc_label_format_header_id' => $bc_label_format_header->bc_label_format_header_id));
    ?>
        
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid2sr('bc_label_format_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('object_name', view::find_all_tables_and_views(), 'TABLE_NAME', 'TABLE_NAME', ${$class_second}->object_name, '', 'medium', 1);
    ?>
 </td>
         <td><?php 
    echo $f->select_field_from_array('sys_field_name', $sys_field_name_a, ${$class_second}->sys_field_name, '', 'medium', 1);
    ?>
 </td>
         <td><?php 
    echo $f->text_field_wid2l('field_name');
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid2l('description');
    ?>
</td>
        </tr>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:label_format_template.php

示例9: gettext

<div id="view_divId">
 <div id ="form_header"> <span class="heading"> Form Personalization  </span>
  <form action=""  method="post" id="sys_form_personalization_header"  name="sys_form_personalization_header">
   <div class="tabContainer">
    <div id="tabsHeader-1" class="tabContent">
     <div id="form_serach_header" class="tabContainer">
      <label><?php 
$f = new inoform();
echo gettext('Object Name');
?>
</label></label>
      <?php 
echo $f->select_field_from_object('obj_class_name', view::find_all_tables(), 'TABLE_NAME', 'TABLE_NAME', $obj_class_name_h, 'obj_class_name');
?>
      <a name="show" href="form.php?class_name=sys_form_personalization&<?php 
echo "mode={$mode}";
?>
" class="show document_id sys_form_personalization_id">
       <i class="fa fa-refresh"></i></a> 
     </div>
    </div>
   </div>
   <div id="form_line" class="form_line"><span class="heading">Form Personalization Details </span>
    <div id="tabsDetailD">
     <ul class="tabMain">
      <li><a href="#tabsDetailD-1">Template Code</a></li>
      <li><a href="#tabsDetailD-2">Form View</a></li>
     </ul>
     <div class="tabContainer">
      <div id="tabsDetailD-1" class="tabContent">
       <div class="well">Save the custom template @ <strong>themes\default\template</strong> as file name  <strong><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:form_personalization_template.php

示例10: switch

</li>
 								</ul>
 							 </td>
 							 <td><?php 
    form::number_field_wid2sr('sys_profile_line_id');
    ?>
</td>
								<?php 
    switch ($profile_level) {
        case 'SITE':
            echo "<td>";
            echo $f->text_field('level_name', 'SITE', '', '', '', 1, 1) . '</td><td>';
            break;
        case 'BUSINESS':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_business(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'INVENTORY':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_inventory(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'USER':
            echo '<td>';
            echo $f->select_field_from_object('level_name', user::find_all(), 'user_id', 'username', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
    }
    if (empty($line_values)) {
        echo $f->text_field_wid2('level_value') . '</td>';
    } else {
        echo $f->select_field_from_object('level_value', $line_values, $line_key, $line_desc, ${$class_second}->level_value, '', '', '') . "</td>";
    }
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:convertToProd_template.php

示例11: array

</td>
         <td><?php 
    $f->text_field_wid2sr('component_item_id_m', 'item_id_m');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('component_item_number', 'select_item_number');
    ?>
          <i class="select_item_number select_popup clickable fa fa-search"></i></td>
         <td><?php 
    if (!empty(${$class_second}->component_item_id_m) && !empty(${$class}->org_id)) {
        $revision_name_a = inv_item_revision::find_by_itemIdM_orgId(${$class_second}->component_item_id_m, ${$class}->org_id);
    } else {
        $revision_name_a = array();
    }
    echo $f->select_field_from_object('component_revision', $revision_name_a, 'revision_name', 'revision_name', ${$class_second}->component_revision, '', 'small');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('component_description', 'item_description');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('component_uom', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->component_uom, '', '', '', $readonly);
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('usage_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_second}->usage_basis, '', $readonly, 'usage_basis', '', 1);
    ?>
</td>
         <td><?php 
开发者ID:xplitz27,项目名称:inoERP,代码行数:31,代码来源:config_template.php

示例12: array

         
        <tr class="hr_leave_entitlement_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo ino_inline_action(${$class_second}->hr_leave_entitlement_line_id, array('hr_leave_entitlement_header_id' => ${$class}->hr_leave_entitlement_header_id));
    ?>
       
         </td>
         <td><?php 
    $f->text_field_wid2sr('hr_leave_entitlement_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('leave_type', hr_leave_type::find_all(), 'hr_leave_type_id', 'leave_type', ${$class_second}->leave_type, '', 'leave_type', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('period', option_header::period_types(), 'option_line_code', 'option_line_value', ${$class_second}->period, '', 'period', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->number_field('leave_per_period', ${$class_second}->leave_per_period);
    ?>
</td>
         <td><?php 
    echo $f->number_field('default_no_of_period', ${$class_second}->default_no_of_period);
    ?>
</td>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:29,代码来源:leave_entitlement_template.php

示例13: gettext

       <a name="show" href="form.php?class_name=prj_status_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id prj_status_header_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_text_field_d('order_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', $readonly1, '', '');
?>
						 </li>
      <li><label>Service Type</label>
       <?php 
echo $f->select_field_from_object('hd_service_type_header_id', hd_service_type_header::find_all(), 'hd_service_type_header_id', 'service_type', ${$class}->hd_service_type_header_id, 'hd_service_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 
echo gettext('Customer Number');
?>
</label><?php 
$f->text_field_d('customer_number');
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:prj_status_template.php

示例14: array

         
        <tr class="hr_element_history_line<?php 
    echo $count;
    ?>
">
         <td>
          <?php 
    echo ino_inline_action(${$class_second}->hr_element_history_line_id, array('hr_element_history_header_id' => ${$class}->hr_element_history_header_id));
    ?>
         </td>
         <td><?php 
    $f->text_field_wid2sr('hr_element_history_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('element_id', hr_compensation_element::find_all(), 'hr_compensation_element_id', array('element_name', 'calculation_rule'), ${$class_second}->element_id, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2m('element_value');
    ?>
</td>
         <td><?php 
    $mon_val = hr_element_history_line::find_monetary_value_by_id(${$class_second}->hr_element_history_line_id);
    echo $f->text_field('monetary_value', $mon_val, '', '', '', '', 1);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldFromToday('end_date', ${$class_second}->end_date);
    ?>
</td>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:element_history_template.php

示例15: gettext

<div class="row small-left-padding">
 <div id="form_all">
  <div id="form_headerDiv">
   <form action=""  method="post" id="ec_cart_line"  name="cart_line">
    <span class="heading"><?php 
echo gettext('Cart');
$f = new inoform();
?>
</span>
    <div id="form_serach_header" class="tabContainer">
     <label><?php 
echo gettext('User Name');
?>
</label>
<?php 
echo $f->select_field_from_object('user_id', user::find_all(), 'user_id', 'username', $user_id_h, 'user_id');
?>
     <a name="show" href="form.php?class_name=ec_cart&<?php 
echo "mode={$mode}";
?>
" class="show document_id ec_cart_id">
      <i class="fa fa-refresh"></i></a> 
    </div>
    <div id ="form_line" class="ec_cart"><span class="heading">Product Details </span>
     <div id="tabsLine">
      <ul class="tabMain">
       <li><a href="#tabsLine-1"><?php 
echo gettext('Current Cart');
?>
</a></li>
       <li><a href="#tabsLine-2"><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:cart_template.php


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