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


PHP form::hidden_field方法代码示例

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


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

示例1: htmlentities

        ?>
themes/images/add.png"  alt="add new line" /></li>
                    <li class="remove_row_img"><img src="<?php 
        echo HOME_URL;
        ?>
themes/images/remove.png" alt="remove this line" /> </li>
                    <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($option_detail->option_detail_id);
        ?>
"></li>           
                    <li><?php 
        echo form::hidden_field('option_line_id', $option_line->option_line_id);
        ?>
</li>
                    <li><?php 
        echo form::hidden_field('option_header_id', ${$class}->option_header_id);
        ?>
</li>
                   </ul>
                  </td>
                  <td><?php 
        $f->text_field_wid3sr('option_detail_id');
        ?>
</td>
                  <td><?php 
        $f->text_field_wid3('option_detail_value');
        ?>
</td>
                  <td><?php 
        $f->text_field_wid3('description');
        ?>
开发者ID:rudrp,项目名称:inoERP,代码行数:31,代码来源:option_template.php

示例2: foreach

foreach ($secondary_field_object as $secondary_field) {
    ?>
         <tr class="sys_secondary_field_instance<?php 
    echo $count;
    ?>
">
          <td>   
           <ul class="inline_action">
            <li class="add_row_img clickable"><i class="fa fa-plus-circle"></i></li>
            <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
            <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo $secondary_field->sys_secondary_field_instance_id;
    ?>
">
             <?php 
    echo form::hidden_field('reference_key_name', $obj_class_name_h);
    ?>
            </li>           
           </ul>
          </td>
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    echo $f->text_field('sys_secondary_field_instance_id', $secondary_field->sys_secondary_field_instance_id, '8', '', '', '', 1);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('sys_secondary_field_id', sys_secondary_field::find_all(), 'sys_secondary_field_id', 'field_name', $secondary_field->sys_secondary_field_id, '', 'medium', '', '', '', '', '', 'field_type');
    ?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:instance_template.php

示例3:

    ?>
">
          <td class="action-td">
           <ul class="inline_action">
            <li  class="remove_row_img remove_from_cart clickable"><i class="fa fa-2x fa-minus-circle" title="Remove Product"></i></li>
            <li><?php 
    echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . ${$class}->ec_product_id . '" title="View Product Details"><i class="fa fa-2x fa-info-circle clickable"></i></a>';
    ?>
             <?php 
    echo form::hidden_field('ec_cart_id', ${$class}->ec_cart_id);
    ?>
             <?php 
    echo form::hidden_field('user_id', $user_id_h);
    ?>
             <?php 
    echo form::hidden_field('ec_product_id', ${$class}->ec_product_id);
    ?>
             <?php 
    echo $f->hidden_field('currency', $curr);
    ?>
             <?php 
    echo $f->hidden_field('tax_code', $tax_code);
    ?>
             <?php 
    echo $f->hidden_field('sales_price', ${$class}->sales_price);
    ?>
             <?php 
    echo $f->hidden_field('product_name', $product_name);
    ?>
            </li>
           </ul>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:user_cart_template.php

示例4: htmlentities

    ?>
         
        <tr class="qa_collection_element_action<?php 
    echo $count;
    ?>
">
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
           <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($qa_collection_element_action->qa_collection_element_action_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('qa_collection_element_header_id', ${$class}->qa_collection_element_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid3sr('qa_collection_element_action_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('action_condition', dbObject::$control_type_a, ${$class_third}->action_condition, '', 'medium');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('comparison', qa_collection_element_action::$comparison_a, ${$class_third}->comparison, '', 'medium');
    ?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:collection_element_template.php

示例5: __

 *
 * @copyright   2014 Nishit R. Das
 * @license     https://www.mozilla.org/MPL/2.0/
 * @link        http://inoideas.org
 * @source code https://github.com/inoerp/inoERP
-->

<div id ="form_header"><span class="heading"><?php 
echo __('Payable Control');
?>
</span>
 <form method="post" id="ap_payable_control"  name="ap_payable_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?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 __('Control Details');
?>
</span>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:ap_payable_control_template.php

示例6: htmlentities

    ?>
         
          <tr class="am_wo_bom<?php 
    echo $count;
    ?>
">
           <td>    
            <ul class="inline_action">
             <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
             <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($am_wo_bom->am_wo_bom_id);
    ?>
"></li>           
             <li><?php 
    echo form::hidden_field('am_wo_header_id', ${$class}->am_wo_header_id);
    ?>
</li>
            </ul>
           </td>
           <td><?php 
    form::text_field_wid4s('am_wo_bom_id');
    ?>
</td>
           <td><?php 
    form::text_field_wid4sm('bom_sequence');
    ?>
</td>
           <td><?php 
    echo !empty($routing_line_details) ? form::select_field_from_object('routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class_fourth}->routing_sequence, 'routing_sequence') : form::text_field_wid4s('routing_sequence');
    ?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:am_wo_template.php

示例7: htmlentities

    ?>
         
        <tr class="prj_project_control<?php 
    echo $count;
    ?>
">
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
           <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($prj_project_control->prj_project_control_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('prj_project_header_id', ${$class}->prj_project_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid4sr('prj_project_control_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_expenditure_type_id', prj_expenditure_type_header::find_all(), 'prj_expenditure_type_header_id', 'expenditure_type', ${$class_fourth}->prj_expenditure_type_id, '', 'medium');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_expenditure_category_code', option_header::find_by_name('PRJ_EXPENDITURE_CATEGORY'), 'option_line_code', 'option_line_value', ${$class_fourth}->prj_expenditure_category_code, '', 'medium');
    ?>
开发者ID:ruidikz,项目名称:inoERP,代码行数:31,代码来源:project_template.php

示例8: isset

     <li class="btn btn-info active inline input_file clickable"  role="button"><input type="file" id="comment_attachments"  class="input_file_btn clickable" name="attachments[]" multiple/>
      <i class="fa fa-paperclip clickable"></i>&nbsp;&nbsp;Select File</li>
     <li><input type="button"  role="button" value="Attach"  name="attach_submit" id="comment_attach_submit" class="btn btn-info active comment_attach_submit"></li>
        <?php 
$user_name = isset($_SESSION['username']) ? $_SESSION['username'] : 'Anonymous';
?>
     <li><div class="input-group">
       <span class="input-group-addon" id="basic-addon1">Reply as </span>
       <input type="text" name="comment_by" class="form-control comment_by height-unset" placeholder="<?php 
echo $user_name;
?>
" aria-describedby="basic-addon1" >
      </div></li>
     <li><input type="button" role="button" name="submit_comment" class="btn btn-warning ino-btn submit_comment" Value="Post"></li>
     <?php 
echo form::hidden_field('class_name', $class);
echo $f->hidden_field_withId('upload_type', 'only_server');
?>

    </ul>
    <div class="uploaded_file_details"></div>
   </div>
   <div id="uploaded_file_details">		</div>
<?php 
echo file::attachment_statement($file);
?>
  </form>
 </div>
 <!--END OF FORM HEADER-->  
</div>
<!--   end of structure-->
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:comment_template.php

示例9: htmlentities

         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><img  src="<?php 
    echo HOME_URL;
    ?>
themes/images/add.png"  alt="add new line" /></li>
           <li class="remove_row_img"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/remove.png" alt="remove this line" /> </li>
           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities(${$class_second}->hr_position_hierarchy_line_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('hr_position_hierarchy_header_id', $hr_position_hierarchy_header->hr_position_hierarchy_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid2sr('hr_position_hierarchy_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('position_id', hr_position::find_all(), 'hr_position_id', 'position_name', ${$class_second}->position_id, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_start_date', ${$class_second}->effective_start_date);
    ?>
开发者ID:petardimic,项目名称:inoERP,代码行数:31,代码来源:position_hierarchy_template.php

示例10:

    ?>
</li>
           <li><?php 
    echo form::hidden_field('transaction_type', ${$class}->transaction_type);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('transaction_date', ${$class}->transaction_date);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('am_wo_routing_line_id', ${$class_third}->am_wo_routing_line_id);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('am_wo_routing_detail_id', ${$class_third}->am_wo_routing_detail_id);
    ?>
</li>
          </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');
    ?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:am_resource_transaction_template.php

示例11: htmlentities

    ?>
">
          <td>    
           <ul class="inline_action">
            <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
            <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($sys_profile_line->sys_profile_line_id);
    ?>
"></li>           
            <li><?php 
    echo form::hidden_field('sys_profile_header_id', ${$class}->sys_profile_header_id);
    ?>
</li>
            <li><?php 
    echo form::hidden_field('profile_level', ${$class}->profile_level);
    ?>
</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':
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:profile_template.php

示例12: gettext

<div id="fp_planning_control_divId">
 <span class="heading"><?php 
echo gettext('Planning Control Header');
?>
</span>
 <form action=""  method="post" id="fp_planning_control"  name="fp_planning_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('fp_planning_control_id', ${$class}->fp_planning_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=fp_planning_control&<?php 
echo "mode={$mode}";
?>
" class="show document_id fp_planning_control_id">
      <i class="fa fa-refresh"></i></a> 
    </li>
   </ul>
  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo gettext('Planning Control Details');
?>
</span>
   <div id="tabsLine">
    <ul class="tabMain">
     <li><a href="#tabsHeader-1"><?php 
echo gettext('Planning Info');
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:planning_control_template.php

示例13: gettext

  <div class="line_before_tab"> 
   <ul class="column five_column inline_list"> 
    <li><?php 
$f->l_select_field_from_object('fa_asset_book_id', fa_asset_book::find_all(), 'fa_asset_book_id', 'asset_book_name', ${$class_second}->fa_asset_book_id, 'fa_asset_book_id', 'action');
?>
     <a name="show2" href="form.php?class_name=fa_asset_category&<?php 
echo "mode={$mode}";
?>
" class="show2 document_id fa_book_category_association_id">
      <i class="fa fa-refresh"></i></a> 
    </li> 
    <li class="hidden"><?php 
echo form::hidden_field('fa_asset_category_id', ${$class}->fa_asset_category_id);
?>
     <?php 
echo form::hidden_field('fa_book_category_association_id', ${$class_second}->fa_book_category_association_id);
?>
    </li>
   </ul>
  </div>
  <div id="tabsLine">
   <ul class="tabMain">
    <li><a href="#tabsLine-1"><?php 
echo gettext('Cost Accounts');
?>
</a></li>
    <li><a href="#tabsLine-2"><?php 
echo gettext('Depreciation Accounts');
?>
</a></li>
   </ul>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:asset_category_template.php

示例14: htmlentities

                   <td>   
                    <ul class="inline_action">
                     <li class="add_row_detail_img"><img  src="<?php 
    echo HOME_URL;
    ?>
themes/images/add.png"  alt="add new line" /></li>
                     <li class="remove_row_img"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/remove.png" alt="remove this line" /> </li>
                     <li><input type="checkbox" name="detail_id_cb" value="<?php 
    echo htmlentities($serial_no->inv_serial_number_id);
    ?>
"></li>           
                     <li><?php 
    echo form::hidden_field('inv_transaction_id', ${$class}->inv_transaction_id);
    ?>
</li>
                    </ul>
                   </td>
                   <td><?php 
    echo $f->text_field('serial_number', $serial_no->serial_number, '25');
    echo $f->hidden_field('serial_generation', ${$class}->serial_generation);
    ?>
                   </td>

                  </tr>
                  <?php 
    $detailCount++;
}
?>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:wip_wo_completion_template.php

示例15: htmlentities

        }
        ?>
                    <tr class="sys_process_flow_action<?php 
        echo $count . '-' . $detailCount;
        ?>
">
                     <td>   
                      <ul class="inline_action">
                       <li class="add_row_detail_img"><i class="fa fa-plus-circle"></i></li>
                       <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
                       <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($sys_process_flow_action->cc_co_process_flow_action_id);
        ?>
"></li>           
                       <li><?php 
        echo form::hidden_field('cc_co_header_id', ${$class}->cc_co_header_id);
        ?>
</li>
                      </ul>
                     </td>
                     <td><?php 
        form::text_field_wid3sr('cc_co_process_flow_action_id');
        ?>
</td>
                     <td><?php 
        form::text_field_wid3sr('sys_process_flow_line_id');
        ?>
</td>
                     <td><?php 
        echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
        ?>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:co_template.php


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