本文整理汇总了PHP中inoform::text_field_dsr方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::text_field_dsr方法的具体用法?PHP inoform::text_field_dsr怎么用?PHP inoform::text_field_dsr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::text_field_dsr方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
<th><?php echo gettext('Kit Item') ?></th>
<th><?php echo gettext('Kit Config') ?></th>
<th><?php echo gettext('Config Id') ?></th>
</tr>
</thead>
<tbody class="form_data_line_tbody">
<tr class="inv_transaction_line0" id="tab1_1">
<td>
<?php
$f = new inoform();
echo ino_inline_action($$class->inv_transaction_id, array('org_id' => $$class->org_id,
'transaction_type_id' => $$class->transaction_type_id));
?>
</td>
<td>
<?php echo $f->text_field_dsr('inv_transaction_id', 'lineId'); ?>
</td>
<td><?php $f->text_field_widsr('item_id_m'); ?></td>
<td><?php
$f->val_field_widm('item_number', 'item', 'item_number', '', 'vf_select_item_number');
echo $f->hidden_field_withCLass('transactable_cb', '1', 'popup_value');
?>
<i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
<td><?php $f->text_field_widsr('revision_name'); ?></td>
<td><?php $f->text_field_wid('item_description'); ?></td>
<td>
<?php echo form::select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, 'uom_id', $readonly); ?>
</td>
<td><?php form::text_field_widsm('quantity'); ?></td>
<td><?php echo $f->checkBox_field('kit_cb', $$class->kit_cb, '', 'dontCopy'); ?></td>
<td> <a class="popup popup-form view-item-config medium" href="form.php?class_name=bom_config_header&mode=9&window_type=popup"> <i class="fa fa-edit"></i></a></td>
示例2: Id
<div id="tabsHeader">
<ul class="tabMain">
<li><a href="#tabsHeader-1">Basic Info</a></li>
<li><a href="#tabsHeader-2">Sales Order</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<div class="large_shadow_box">
<ul class="column four_column">
<li>
<label><img src="<?php
echo HOME_URL;
?>
themes/images/serach.png" class="wip_wo_header_id select_popup clickable">
WO Header Id(1) : </label> <?php
echo $f->text_field_dsr('wip_wo_header_id');
?>
<a name="show" class="show wip_wo_headerid_show"><img src="<?php
echo HOME_URL;
?>
themes/images/refresh.png"/></a>
</li>
<li><label>WO Number : </label>
<?php
echo form::text_field_d('wo_number');
?>
</li>
<li>
<label> Inventory Org : </label>
<?php
echo form::select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', $readonly, '', '', 1);
示例3:
<div id="tabsHeader">
<ul class="tabMain">
<li><a href="#tabsHeader-1">Basic Info</a></li>
<li><a href="#tabsHeader-2">Attachments</a></li>
<li><a href="#tabsHeader-3">Notes</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<div class="large_shadow_box">
<ul class="column four_column">
<li> <label><img src="<?php
echo HOME_URL;
?>
themes/images/serach.png" class="inv_lot_number_id select_popup clickable">
lot Id : </label><?php
$f->text_field_dsr('inv_lot_number_id');
?>
<a name="show" href="form.php?class_name=inv_lot_number" class="show inv_lot_number_id"> <img src="<?php
echo HOME_URL;
?>
themes/images/refresh.png" class="clickable"></a>
</li>
<li><label>Inventory Org </label>
<?php
echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1);
?>
</li>
<li><label> <?php
if (empty(${$class}->inv_lot_number_id)) {
echo "<img src='" . HOME_URL . "themes/images/serach.png' class='select_item_number select_popup clickable'>";
}
示例4: array
<tr class="ec_cart<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class}->ec_cart_id, array('user_id' => $user_id_h));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_dsr('ec_cart_id');
?>
</td>
<td><?php
$f->text_field_dsr('ec_product_id');
?>
</td>
<td><?php
$f->text_field_ds('quantity');
?>
</td>
<td><?php
$f->text_field_dr('price');
?>
</td>
<td><?php
示例5:
</td>
<td><?php
echo $f->date_fieldAnyDay('from_date', $cal_i->from_date, 'medium');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('to_date', $cal_i->to_date, 'medium');
?>
</td>
<td><?php
echo $f->text_field_ap(['name' => 'cal_period_name', 'value' => $cal_i->name, 'class_name' => 'medium', 'readonly' => true]);
// echo form::text_field('cal_period_name', $gl_period->name, 15, '', 1, '', '', 1);
?>
</td>
<td><?php
$f->text_field_dsr('gl_calendar_id');
?>
</td>
</tr>
<?php
$gl_period_object_ai->next();
if ($gl_period_object_ai->key() == $position + $per_page) {
break;
}
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="tabContent">
示例6: gettext
<li><?php
$f = new inoform();
if (!empty($item->org_id)) {
$f->l_select_field_from_object('org_id', $org->findAll_inventory(), 'org_id', 'org', $item->org_id, 'org_id', '', 1, $readonly, '', '', '', 'item_master_cb');
} else {
$f->l_select_field_from_object('org_id', $org->findAll_item_master(), 'org_id', 'org', $item->org_id, 'org_id', '', 1, $readonly);
}
?>
</li>
<li>
<label><?php
echo gettext('Item Id');
?>
</label><?php
$f->text_field_dsr('item_id');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i>
<a name="show" href="form.php?class_name=item&<?php
echo "mode={$mode}";
?>
" class="show document_id item_id"><i class="fa fa-refresh"></i></a>
</li>
<li><label><?php
echo gettext('Item Number');
?>
<i class="disable_autocomplete item_number clickable fa fa-plus"></i>
</label><?php
echo $f->text_field('item_number', ${$class}->item_number, '15', 'item_number', 'select_item_number', 1, $readonly_mas, 'Enter Item Number To Serach', 'Click on the + sign before this field to enter a new item');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i>
示例7: array
if (empty($gl_currency_conversion->currency_conversion_type)) {
$gl_currency_conversion->currency_conversion_type = $currency_conversion_type_h;
}
?>
<tr class="gl_currency_conversion<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class}->gl_currency_conversion_id, array('currency_conversion_type' => $currency_conversion_type_h));
?>
</td>
<td><?php
$f->text_field_dsr('gl_currency_conversion_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('from_currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class}->from_currency, '', 'currency', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('to_currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class}->to_currency, '', 'currency', 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('from_date', ${$class}->from_date);
?>
</td>
<td><?php