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


PHP form::select_field_from_object方法代码示例

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


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

示例1:

<div id="form_all"><span class="heading">Document Sequence</span>
 <div id="form_headerDiv">
  <div id="form_serach_header">
   <label>Business Org :</label>
   <?php 
echo form::select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', $org_id_h, 'org_id', $readonly1);
?>
   <a name="show" href="form.php?class_name=sys_document_sequence&<?php 
echo "mode={$mode}";
?>
" class="show document_id sys_document_sequence_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
  </div>
  <form action=""  method="post" id="sys_document_sequence_line"  name="document_sequence_line">
   <div id="tabsLine">
    <div id ="form_line" class="sys_document_sequence">
     <ul class="tabMain">
      <li><a href="#tabsLine-1">Basic </a></li>
      <li><a href="#tabsLine-2">Future </a></li>
     </ul>
     <div class="tabContainer"> 

      <div id="tabsLine-1" class="tabContent">
       <table class="form_table">
        <thead> 
         <tr>
          <th>Action</th>
          <th>Seq#</th>
          <th>Id</th>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:document_sequence_template.php

示例2: __

echo HOME_URL;
?>
form.php?class_name=ar_transaction_all_v&amp;router=pdf_print&amp;ar_transaction_header_id=<?php 
echo !empty(${$class}->ar_transaction_header_id) ? ${$class}->ar_transaction_header_id : "";
?>
" >
         <?php 
echo __('Print Transaction');
?>
</a></li>
       <li id="document_status"><label><?php 
echo __('Change Status');
?>
</label>
        <?php 
echo form::select_field_from_object('approval_status', ar_transaction_header::ar_approval_status(), 'option_line_code', 'option_line_value', $ar_transaction_header->approval_status, 'set_approval_status', $readonly, '', '');
?>
       </li>
      </ul>

      <div id="comment" class="show_comments">
      </div>
     </div>
    </div>

   </div>

  </div>
 </form>
</div>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:30,代码来源:ar_transaction_template.php

示例3:

form::number_field_drs('available_quantity');
?>
            </li>
            <li><label>Move Qty: </label>
             <?php 
form::number_field_dm('move_quantity');
?>
            </li>
            <li><label>To Seq : </label>
             <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('to_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->to_routing_sequence, 'to_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
            </li>
            <li><label>To Step : </label>
             <?php 
echo form::select_field_from_object('to_operation_step', bom_routing_header::wip_move_step(), 'option_line_code', 'option_line_value', ${$class}->to_operation_step, 'to_operation_step', $readonly, '', '', 1);
?>
            </li>
           </ul>
           <!--end of tab1 div three_column-->
          </div> 
          <!--end of tab1-->
          <div id="tabsLine-2" class="tabContent">
           <div class="first_rowset"> 
            <ul class="column five_column"> 
             <li><label>Reason : </label> <?php 
form::text_field_d('reason');
?>
  </li>
             <li><label>Reference : </label> <?php 
form::text_field_d('reference');
开发者ID:petardimic,项目名称:inoERP,代码行数:31,代码来源:wip_move_transaction_template+-+Copy.php

示例4: Number

form::text_field_drm('item_id_m');
?>
						</li>
						<li><label>Item Number(2) : </label>
						 <?php 
form::text_field_dm('item_number');
?>
						</li>
						<li><label>Description: </label>
						 <?php 
form::text_field_widr('item_description');
?>
						</li>
						<li><label>UOM : </label>
						 <?php 
echo form::select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom');
?>
						</li>
					 </ul>
				 </div>
				 <div id="tabsHeader-2" class="tabContent">
					<div> 
					 <ul class="column header_field">
						<li><label>Alternate Bom : </label>
						 <?php 
echo form::text_field_d('alternate_bom');
?>
						</li>
						<li><label>Revision : </label>
						 <?php 
form::text_field_dm('bom_revision');
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:indented_bom_template.php

示例5: array

    } else {
        $revision_name_a = array();
    }
    echo $f->select_field_from_object('component_revision', $revision_name_a, 'revision_name', 'revision_name', ${$class_fourth}->component_revision, '', 'small');
    ?>
</td>
           <td><?php 
    echo $f->text_field('component_description', ${$class_fourth}->component_description, '20', '', 'item_description', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('component_uom', uom::find_all(), 'uom_id', 'uom_name', ${$class_fourth}->component_uom, '', 'uom_id', '', $readonly);
    ?>
</td>
           <td><?php 
    echo form::select_field_from_object('usage_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_fourth}->usage_basis, '', $readonly, 'usage_basis', '', 1);
    ?>
</td>
           <td><?php 
    form::number_field_wid4sm('usage_quantity');
    ?>
</td>
          </tr>
          <?php 
    $count = $count + 1;
}
?>
        </tbody>
       </table>
      </div>
      <div id="tabsLine-5" class="tabContent">
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:am_wo_template.php

示例6: gettext

echo form::select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->from_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, '', $readonly, 'locator_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->to_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class}->to_subinventory_id), 'locator_id', 'locator', ${$class}->to_locator_id, '', $readonly, 'locator_id');
?>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-3" class="tabContent">
      <table class="form_line_data_table">
       <thead> 
        <tr>
         <th><?php 
echo gettext('Document Type');
?>
</th>
         <th><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:wip_wo_completion_template.php

示例7:

          </ul>
         </td>
         <td><?php 
    form::number_field_wid3sr('routing_sequence');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('department_id', bom_department::find_all(), 'bom_department_id', 'department', ${$class_third}->department_id, 'department_id', 1);
    ?>
</td>
         <td><?php 
    form::text_field_wid3sr('resource_sequence');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_third}->resource_id, '', 1, 'resource_id', '', 1);
    ?>
</td>
         <td><?php 
    form::number_field_wids('transaction_quantity');
    ?>
</td>
         <td><?php 
    form::number_field_wid3sr('required_quantity');
    ?>
</td>
         <td><?php 
    form::number_field_wid3sr('applied_quantity');
    ?>
</td>
         <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:am_resource_transaction_template.php

示例8:

echo HOME_URL;
?>
themes/images/serach.png">
          Address Id</label><?php 
echo form::text_field('address_id', $address->address_id, '10', '', '', 'System number', 'address_id', $readonly);
?>
         <a name="show" href="form.php?class_name=address&<?php 
echo "mode={$mode}";
?>
" class="show document_id address_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
        </li>
        <li><label>Type</label><?php 
echo form::select_field_from_object('type', address::address_types(), 'option_line_code', 'option_line_code', $address->type, 'type', $readonly);
?>
    </li>
        <li><label>Address Name</label><?php 
echo form::text_field('address_name', $address->address_name, '20', '', '', 'Enter a valid address name', 'address_name', $readonly);
?>
    </li>
        <li><label><img class="tax_region_id select_popup clickable" src="<?php 
echo HOME_URL;
?>
themes/images/serach.png">
          Tax Region</label><?php 
$f->text_field_d('tax_region_name');
?>
</li>
        <li><label>Description</label><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:web_contact_template.php

示例9: gettext

 </div>
    </div>

    <div id="tabsHeader-8" class="tabContent">
     <div> 
      <ul class="column header_field">
       <li><?php 
$f->l_select_field_from_array('transaction_action', ${$class}->action_a, '', 'transaction_action', '', '', $readonly);
?>
       </li>
       <li id="document_status"><label><?php 
echo gettext('Change Status');
?>
</label>
        <?php 
echo form::select_field_from_object('approval_status', hd_service_contract_header::ar_approval_status(), 'option_line_code', 'option_line_value', $hd_service_contract_header->approval_status, 'set_approval_status', $readonly, '', '');
?>
       </li>
      </ul>

      <div id="comment" class="show_comments">
      </div>
     </div>
    </div>

   </div>

  </div>
 </form>
</div>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:hd_service_contract_template.php

示例10:

    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('sourcing_type', po_sourcing_rule_line::po_sourcing_type(), 'option_line_code', 'option_line_value', ${$class_second}->sourcing_type, 'sourcing_type', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('rank');
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('allocation');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('source_from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->source_from_org_id, 'source_from_org_id', $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('supplier_id');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('supplier_name', 'select_supplier_name');
    ?>
          <img src="<?php 
    echo HOME_URL;
    ?>
themes/images/serach.png" class="select_supplier_name select_popup clickable"></td>
         <td><?php 
    echo $supplier_site_name_statement;
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:sourcing_rule_template.php

示例11: __

       <div class="panel-body">
        <ul class="column header_field"> 
         <li><label><?php 
echo __('From Seq');
?>
</label>
          <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('from_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->from_routing_sequence, 'from_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
         </li>
         <li><label><?php 
echo __('To Seq');
?>
</label>
          <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('to_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->to_routing_sequence, 'to_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
         </li>
         <li><label><?php 
echo __('Available Qty');
?>
</label>
          <?php 
form::number_field_drs('available_quantity');
?>
         </li>
         <li><label><?php 
echo __('From Step');
?>
 </label>
          <?php 
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:am_move_transaction_template.php

示例12:

    ?>
         
        <tr class="sd_delivery_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo form::select_field_from_object('weight_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->weight_uom_id, 'weight_uom_id', $readonly);
    ?>
</td>
         <td><?php 
    echo form::number_field_wid2('total_weight');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('volume_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->volume_uom_id, 'volume_uom_id', $readonly);
    ?>
</td>
         <td><?php 
    echo form::number_field_wid2('total_volume');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
   </div>
开发者ID:seanla,项目名称:inoERP,代码行数:31,代码来源:delivery_template.php

示例13: ino_inline_action

         
            <tr class="gl_calendar<?php 
    echo $count;
    ?>
">
             <td>
              <?php 
    echo ino_inline_action(${$class}->gl_calendar_id, array('option_line_code' => $option_line_code_h));
    ?>
             </td>
             <td><?php 
    form::number_field_drs('gl_calendar_id');
    ?>
</td>
             <td><?php 
    echo form::select_field_from_object('calendar_type', gl_calendar::period_types(), 'option_line_code', 'option_line_value', ${$class}->calendar_type, '', $readonly);
    ?>
</td>
             <td><?php 
    form::text_field_widm('name_prefix');
    ?>
</td>
             <td class="yearPicker"><?php 
    form::number_field_wid('year');
    ?>
</td>
             <td><?php 
    form::number_field_wids('quarter');
    ?>
</td>
             <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:calendar_template.php

示例14: htmlentities

               <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>               <li><input type="checkbox" name="line_id_cb" value="<?php 
        echo htmlentities($uom->uom_id);
        ?>
"></li>           
              </ul>
             </td>
             <td><?php 
        form::text_field_widsr('uom_id');
        ?>
</td>
             <td><?php 
        form::text_field_wid('uom_name');
        ?>
</td>
             <td><?php 
        echo form::select_field_from_object('class', uom::uom_class(), 'option_line_code', 'option_line_code', ${$class}->class, 'class', $readonly);
        ?>
</td>
             <td><?php 
        form::text_field_wid('description');
        ?>
</td>
             <td><?php 
        $f->checkBox_field_d('primary_cb');
        ?>
</td>
             <td><?php 
        form::text_field_wid('ef_id');
        ?>
</td>
             <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:uom_template_ma.php

示例15: ino_inline_action

    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action($gl_ledger_balancing_values->gl_ledger_balancing_values_id, array('gl_ledger_id' => ${$class}->gl_ledger_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('gl_ledger_balancing_values_id');
    ?>
</td>
          <td><?php 
    $svgl = new sys_value_group_line();
    $descp = ['code_value', 'description'];
    echo form::select_field_from_object('balancing_values', $svgl->findBy_parentId($value_group_headerid), 'code', $descp, ${$class_second}->balancing_values, '', $readonly);
    ?>
</td>

         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-2" class="tabContent">
     </div>
    </form>
   </div>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:ledger_template.php


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