本文整理汇总了PHP中inoform::hidden_field方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::hidden_field方法的具体用法?PHP inoform::hidden_field怎么用?PHP inoform::hidden_field使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::hidden_field方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: inoform
<tr class="inv_item_relation<?php
echo $count;
?>
">
<td><?php
$f = new inoform();
echo ino_inline_action(${$class}->inv_item_relation_id, array('relation_type_h' => $relation_type_h));
?>
</td>
<td><?php
form::number_field_drs('inv_item_relation_id', 'always_readonly');
?>
</td>
<td><?php
echo $f->hidden_field('from_item_id_m', ${$class}->from_item_id_m);
$f->text_field_dm('from_item_number', 'select_item_number item_number');
?>
<i class="select_item_number_only select_popup clickable fa fa-search"></i>
</td>
<td><?php
echo $f->select_field_from_object('relation_type', inv_item_relation::item_relation(), 'option_line_code', 'option_line_value', ${$class}->relation_type);
?>
</td>
<td><?php
echo $f->hidden_field('to_item_id_m', ${$class}->to_item_id_m);
$f->text_field_dm('to_item_number', 'select_item_number item_number');
?>
<i class="select_item_number_only select_popup clickable fa fa-search"></i></td>
<td><?php
$f->text_field_d('description');
示例2:
<th>Sub inventory</th>
<th>Locator</th>
</tr>
</thead>
<tbody class="form_data_line_tbody2 wip_wo_bom_values" >
<?php
$count = 0;
foreach ($wip_wo_bom_object as $wip_wo_bom) {
?>
<tr class="wip_wo_bom<?php
echo $count;
?>
">
<td><?php
echo $f->hidden_field('wip_wo_bom_id', ${$class_third}->wip_wo_bom_id);
?>
<?php
$f->text_field_wid3sr('bom_sequence');
?>
</td>
<td><?php
echo $f->hidden_field('component_item_id_m', ${$class_third}->component_item_id_m);
?>
<?php
echo $f->text_field_wid3r('component_item_number');
?>
</td>
<td><?php
echo $f->text_field_wid3r('component_description');
?>
示例3: substr
if (empty($ec_user_cart->ec_cart_id)) {
$ec_user_cart->ec_cart_id = null;
}
$category = category::find_by_reference_table_and_id('ec_product', $ec_user_cart->ec_product_id);
?>
<tr class="ec_cart<?php
echo $count;
?>
">
<td><?php
echo $count;
echo form::hidden_field('ec_cart_id', $ec_user_cart->ec_cart_id);
echo form::hidden_field('user_id', $user_id_h);
echo form::hidden_field('ec_product_id', $ec_user_cart->ec_product_id);
echo $f->hidden_field('currency', $curr);
echo $f->hidden_field('tax_code', $tax_code);
echo $f->hidden_field('sales_price', $ec_user_cart->sales_price);
echo $f->hidden_field('product_name', $product_name);
?>
</td>
<td><?php
echo $product_name;
?>
</td>
<td class="long-td"><?php
echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . $ec_user_cart->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
?>
</td>
<td><?php
echo $ec_user_cart->quantity;
示例4:
<ul class="inline_action">
<li class="remove_row_img 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>
</td>
<td><?php
echo $count;
示例5: htmlentities
echo htmlentities($prj_project_member->prj_project_member_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_wid3sr('prj_project_member_id');
?>
</td>
<td><?php
$f->val_field_wid3('member_username', 'user', 'username', '', 'select user username');
echo $f->hidden_field('user_id', ${$class_third}->user_id);
?>
<i class="select_username select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->select_field_from_object('prj_role_id', prj_role::find_all(), 'prj_role_id', 'role_name', ${$class_third}->prj_role_id, '', 'medium');
?>
</td>
<td><?php
$f->text_field_wid3('description');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('start_date', ${$class_third}->start_date);
?>
</td>
<td><?php
示例6:
$$class->so_line_number = $so_details->line_number;
}
?>
<tr class="inv_reservation_line<?php echo $count ?>">
<td><?php $f->seq_field_d($count); ?></td>
<td><?php echo $f->select_field_from_array('demand_type', inv_reservation::$demand_type_a, $$class->demand_type); ?></td>
<td><?php
echo $f->val_field_wid('so_number', 'sd_so_all_v', 'so_number', '', 'select so_number');
echo $f->hidden_field_withCLass('sd_so_header_id', $$class->sd_so_header_id ,'dontCopy');
echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup dontCopy');
echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
?><i class="select_so_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td>
<td><?php
echo $f->val_field_wid('so_line_number', 'sd_so_all_v', 'line_number', 'sd_so_line_id', 'select so_line_number line_number');
echo $f->hidden_field('sd_so_line_id', $$class->sd_so_line_id);
echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup dontCopy');
echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
?><i class="select_so_line_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td>
<td><?php $f->text_field_wid('demand_comment'); ?></td>
<td><?php $f->text_field_widr('d_reference_key_name' , 'always_readonly'); ?></td>
<td><?php $f->text_field_widr('d_reference_key_value' , 'always_readonly'); ?></td>
</tr>
<?php
$count = $count + 1;
}
}
?>
</tbody>
</table>
示例7:
?>
</td>
<td><?php
form::text_field_wid2sr('sd_quote_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('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m);
form::text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
form::text_field_wid2('item_description');
?>
</td>
<td><?php
$f->number_field('line_quantity', ${$class_second}->line_quantity);
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small');
?>
</td>
示例8: gettext
<thead>
<tr>
<th><?php
echo gettext('Add Lot Numbers');
?>
</th>
<th><?php
echo gettext('Add Serial Numbers');
?>
</th>
</tr>
</thead>
<tbody class="form_data_line_tbody">
<tr class="inv_transaction_row0" id="tab4_1">
<td class="add_detail_values0"> <?php
echo !empty(${$class}->lot_number_id) ? $f->hidden_field('lot_number_id', ${$class}->lot_number_id) : $f->hidden_field('lot_number_id', '');
echo !empty(${$class}->lot_generation) ? $f->hidden_field('lot_generation', ${$class}->lot_generation) : $f->hidden_field('lot_generation', '');
?>
<img src="<?php
echo HOME_URL;
?>
themes/images/page_add_icon_16.png" class="add_detail_values_img" alt="add detail values" />
<div class="class_detail_form">
<fieldset class="form_detail_data_fs"><legend>lot</legend>
<div class="tabsDetail">
<ul class="tabMain">
<li class="tabLink"><a href="#tabsDetail-1-1"> Numbers</a></li>
</ul>
<div class="tabContainer">
<div id="tabsDetail-1-1" class="tabContent">
示例9:
</td>
<td><?php
echo $f->select_field_from_array('demand_type', inv_reservation::$demand_type_a, ${$class}->demand_type);
?>
</td>
<td><?php
echo $f->val_field_wid('so_number', 'sd_so_all_v', 'so_number', '', 'select so_number');
echo $f->hidden_field_withCLass('sd_so_header_id', ${$class}->sd_so_header_id, 'dontCopy');
echo $f->hidden_field_withCLass('shipping_org_id', ${$class}->org_id, 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', ${$class}->sd_so_header_id, 'popup_value sd_so_header_id_popup dontCopy');
echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'popup_value item_id_m');
?>
<i class="select_so_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td>
<td><?php
echo $f->val_field_wid('so_line_number', 'sd_so_all_v', 'line_number', 'sd_so_line_id', 'select so_line_number line_number');
echo $f->hidden_field('sd_so_line_id', ${$class}->sd_so_line_id);
echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id');
echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup dontCopy');
echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
?>
<i class="select_so_line_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td>
<td><?php
$f->text_field_wid('demand_comment');
?>
</td>
<td><?php
$f->text_field_widr('d_reference_key_name', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_widr('d_reference_key_value', 'always_readonly');
示例10:
</td>
<td><?php
echo $f->text_field('component_item_number', $item_i->item_number, '20', '', 'select_item_number', '', $readonly);
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->text_field('component_description', $item_i->item_description, '20', '', 'item_description', '', $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $item_i->uom_id, '', 'uom_id', '', $readonly);
?>
</td>
<td><?php
echo $f->number_field('quantity', $wip_wo_bom->usage_quantity, '', '', 'final_quantity', 1);
echo $f->hidden_field('usage_quantity', $wip_wo_bom->usage_quantity);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id = "tabsLine-2" class = "tabContent">
<table class="form_line_data_table">
<thead>
<tr>
<th><?php
示例11:
</td>
<td>
<?php
echo $f->select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class_second}->to_subinventory_id), 'locator_id', 'locator', ${$class_second}->to_locator_id, '', 'to_locator_id', '');
?>
</td>
<td><?php
$f->text_field_wid2('description');
?>
</td>
<td><?php
$f->text_field_wid2r('status');
?>
<?php
echo $f->hidden_field('action', '');
?>
</td>
<td><?php
$f->text_field_wid2s('reference_type');
?>
</td>
<td><?php
$f->text_field_wid2('reference_key_name');
?>
</td>
<td><?php
$f->text_field_wid2('reference_key_value');
?>
</td>
</tr>
示例12:
case 'LIST':
$qa_ce_lines = qa_collection_element_line::find_by_parent_id($qa_cp_element->qa_collection_element_header_id);
if (!empty($qa_ce_lines)) {
echo $f->select_field_from_object($qa_cp_element->sys_element_name, $qa_ce_lines, 'qa_collection_element_line_id', 'element_value', $qa_cp_element_value);
} else {
echo $f->text_field($qa_cp_element->sys_element_name, $qa_cp_element_value);
}
break;
case 'BOOLEAN':
echo $f->checkBox_field($qa_cp_element->sys_element_name, $qa_cp_element_value);
break;
case 'FILE':
$qa_cp_element_file_name = $qa_cp_element->sys_element_name . '_file';
$file_routing = file::find_by_fieldName_referenceTable_and_id($qa_cp_element->sys_element_name, 'wip_wo_routing_line', $routing_line->wip_wo_routing_line_id);
echo ino_attachement($file_routing, $qa_cp_element_file_name);
echo $f->hidden_field($qa_cp_element->sys_element_name, $qa_cp_element_value);
break;
case 'OPTION_LIST':
if (!empty($qa_cp_element->list_value_option_type)) {
echo $f->select_field_from_object($qa_cp_element->sys_element_name, option_line::find_by_parent_id($qa_cp_element->option_header_id), 'option_line_code', 'option_line_value', $qa_cp_element_value);
} else {
echo $f->text_field($qa_cp_element->sys_element_name, $qa_cp_element_value);
}
break;
default:
echo $f->text_field($qa_cp_element->sys_element_name, $qa_cp_element_value);
break;
}
echo '</li>';
}
?>
示例13: gettext
<div id="tabsLine-5" class="tabContent scrollElement">
<table class="form_line_data_table">
<thead>
<th><?php
echo gettext('Add Lot Numbers');
?>
</th>
<th><?php
echo gettext('Add Serial Numbers');
?>
</th>
</thead>
<tbody class="form_data_line_tbody">
<tr class="inv_transaction_line0">
<td class="add_detail_values0"> <?php
echo $f->hidden_field('lot_number_id', ${$class}->lot_number_id);
echo $f->hidden_field('lot_generation', ${$class}->lot_generation);
?>
<i class="fa fa-arrow-circle-down add_detail_values_img" alt="View/Add Lot Numbers"></i>
<div class="class_detail_form">
<fieldset class="form_detail_data_fs">
<div class="tabsDetail">
<ul class="tabMain">
<li class="tabLink"><a href="#tabsDetail-1-1">Lot Numbers</a></li>
</ul>
<div class="tabContainer">
<div id="tabsDetail-1-1" class="tabContent">
<table class="form form_detail_data_table detail">
<thead>
<tr>
示例14:
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_wid2sr('prj_event_line_id', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2s('event_number', 'lines_number');
?>
</td>
<td><?php
$f->val_field_wid2m('task_number', 'prj_project_all_v', 'task_number', '', 'select project_task_number');
echo $f->hidden_field('prj_project_line_id', ${$class_second}->prj_project_line_id);
echo $f->hidden_field_withCLass('prj_project_header_id', ${$class}->prj_project_header_id, 'popup_value');
?>
<i class="generic select_project_task_number select_popup clickable fa fa-search" data-class_name="prj_project_all_v"></i></td>
<td><?php
echo $f->select_field_from_object('event_type_id', prj_event_type::find_all(), 'prj_event_type_id', 'event_type', ${$class_second}->event_type_id, '', '', 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('event_date', ${$class_second}->event_date);
?>
</td>
<td><?php
echo $f->select_field_from_object('currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class_second}->currency, '', '', 1);
?>
</td>
示例15:
?>
</td>
<td><?php
echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
?>
</td>
<td><?php
echo $f->select_field_from_array('pf_action_type', sys_process_flow_action::$pf_action_type_a, ${$class_third}->pf_action_type);
?>
</td>
<td><?php
echo $f->select_field_from_object('role_code', role_access::roles(), 'option_line_code', 'option_line_value', ${$class_third}->role_code, 'role_code');
?>
</td>
<td><?php
echo $f->hidden_field('user_id', ${$class_third}->user_id);
${$class_third}->username = !empty(${$class_third}->user_id) ? user::find_by_id(${$class_third}->user_id)->username : null;
echo $f->text_field('username', ${$class_third}->username);
?>
<img src="<?php
echo HOME_URL;
?>
themes/default/images/serach.png" class="user_id select_popup clickable">
</td>
</tr>
<?php
$detailCount++;
}
?>
</tbody>
</table>