本文整理汇总了PHP中inoform::text_field_dr方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::text_field_dr方法的具体用法?PHP inoform::text_field_dr怎么用?PHP inoform::text_field_dr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::text_field_dr方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Number
?>
</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'>";
}
?>
Item Number(2) : </label>
<?php
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
?>
<?php
if (empty(${$class}->inv_lot_number_id)) {
$f->text_field_d('item_number', 'select_item_number');
} else {
$f->text_field_dr('item_number');
}
?>
</li>
<li><label>Item Description: </label>
<?php
$f->text_field_dr('item_description');
?>
</li>
<li><label>lot Number :</label><?php
$f->text_field_d('lot_number');
?>
</li>
<li><label>Status </label>
<?php
echo $f->select_field_from_array('status', inv_lot_number::$lot_status, ${$class}->status, 'status', '', 1, $readonly1);
示例2: gettext
?>
</li>
<li><?php
$f->l_date_fieldFromToday('requsted_date', ${$class}->requsted_date);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('approved_date', ${$class}->approved_date);
?>
</li>
<li data-employee_type="approver"><label><i class="hr_employee_id select_popup clickable fa fa-search"></i>
<?php
echo gettext('Approver');
?>
</label><?php
$f->text_field_dr('approved_by');
echo $f->hidden_field_withId('approved_by_employee_id', ${$class}->approved_by_employee_id);
?>
</li>
<li><?php
$f->l_select_field_from_array('leave_status', hr_leave_transaction::$leave_status_a, ${$class}->leave_status, '', '', '', '', 1);
?>
</li>
<li><?php
$f->l_select_field_from_array('leave_action', ${$class}->leave_action_a, ${$class}->leave_action);
?>
</li>
<?php
echo $f->hidden_field_withId('sys_notification_group_id', ${$class}->sys_notification_group_id);
?>
<?php
示例3: echo
if (!empty($$class->item_id_m)) {
$item_i = item::find_by_item_id_m($$class->item_id_m);
$$class->item_number = $item_i->item_number;
$$class->item_description = $item_i->item_description;
}
?>
<tr class="inv_reservation_line<?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 ($inv_reservation->inv_reservation_id); ?>"></li>
</ul>
</td>
<td><?php $f->seq_field_d($count); ?></td>
<td><?php $f->text_field_dr('inv_reservation_id', 'always_readonly'); ?></td>
<td><?php echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id ,'','org_id_primary'); ?> </td>
<td><?php
$f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withCLass('item_id_m', $$class->item_id_m ,'dontCopy');
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?></td>
<td><?php $f->text_field_wid('item_description'); ?></td>
<td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, '', 'always_readonly'); ?> </td>
<td><?php echo $f->date_fieldFromToday_m('need_by_date', $$class->need_by_date, 1) ?></td>
<td><?php echo $f->number_field('demand_quantity', $$class->demand_quantity, '', '', 'demand_quantity'); ?></td>
<td><?php $f->text_field_wid('reason'); ?></td> </tr>
<?php
$count = $count + 1;
}
}
示例4:
?>
</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
$f->text_field_d('price');
?>
</td>
<td><?php
$f->text_field_d('line_price');
?>
</td>
</tr>
<?php
$cart_object_ai->next();
if ($cart_object_ai->key() == $position + $per_page) {
break;
示例5:
<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 $inv_reservation->inv_reservation_id;
?>
"></li>
</ul>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_dr('inv_reservation_id', 'always_readonly');
?>
</td>
<td><?php
echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, '', 'org_id_primary');
?>
</td>
<td><?php
$f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'dontCopy');
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?>
</td>
<td><?php
$f->text_field_wid('item_description');
?>
示例6: gettext
<li><?php
$f->l_text_field_dm('schedule_name');
?>
</li>
<li><?php
$f->l_text_field_d('schedule_number');
?>
</li>
<li><label>
<!--<i class="select_item_number select_popup clickable fa fa-search"></i>-->
<?php
echo gettext('Inv Item Number');
?>
</label><?php
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
$f->text_field_dr('item_number', 'select_item_number_am_asset_item');
echo $f->hidden_field_withCLass('am_asset_type', 'ASSET_ITEM', 'popup_value');
?>
</li>
<li><label><i class="select_am_asset_number select_popup clickable fa fa-search"></i>
<?php
echo gettext('Asset Number');
?>
</label><?php
$f->text_field_d('am_asset_number');
echo $f->hidden_field_withId('am_asset_id', ${$class}->am_asset_id);
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('effective_start_date', ${$class}->effective_start_date);
?>
示例7: gettext
<ul class="column header_field">
<li><?php
$f = new inoform();
$f->l_text_field_dr_withSearch('hr_element_history_header_id');
?>
<a name="show" href="form.php?class_name=hr_element_history_header&<?php
echo "mode={$mode}";
?>
" class="show document_id hr_element_history_header_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><label><?php
echo gettext('Employee Name');
?>
</label><?php
$f->text_field_dr('employee_name');
?>
<?php
echo $f->hidden_field_withId('hr_employee_id', ${$class}->hr_employee_id);
?>
</li>
<li><?php
$f->l_text_field_dr('identification_id');
?>
</li>
<li><?php
$f->l_text_field_dr('hr_element_entry_header_id');
?>
</li>
<li><?php
$f->l_date_fieldAnyDay_r('archive_date', ${$class}->archive_date);
示例8:
?>
</li>
<li class="display_type"><label> Display Type: </label>
<?php
echo $f->select_field_from_object('display_type', view::view_display_type(), 'option_line_code', 'option_line_value', ${$class}->display_type, 'display_type');
?>
</li>
</ul>
</div>
</div>
<div id="tabsHeader-2" class="tabContent">
<div>
<ul class="column three_column">
<li><label>Path Id : </label> <?php
echo $f->text_field_dr('path_id');
?>
</li>
<li><label>Path Value : </label><?php
echo $f->text_field_dl('path');
?>
</li>
<li><label>View : </label><a target='_blank' href="<?php
echo HOME_URL . ${$class}->path;
?>
"> Online </a></li>
<li><label>Update Parent : </label> <?php
echo $f->checkBox_field('update_parent_id_cb', ${$class}->update_parent_id_cb);
?>
</li>
<li><label>Add to menu with parent :</label>
示例9: gettext
if (empty(${$class}->inv_lot_number_id)) {
echo '<i class="select_item_number select_popup clickable fa fa-search"></i>';
}
?>
<?php
echo gettext('Item Number');
?>
</label>
<?php
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
?>
<?php
if (empty(${$class}->inv_lot_number_id)) {
$f->text_field_d('item_number', 'select_item_number');
} else {
$f->text_field_dr('item_number');
}
?>
</li>
<li><?php
$f->l_text_field_dr('item_description');
?>
</li>
<li><?php
$f->l_text_field_d('lot_number');
?>
</li>
<li><?php
$f->l_select_field_from_array('status', inv_lot_number::$lot_status, ${$class}->status, 'status', '', 1, $readonly1);
?>
</li>