本文整理汇总了PHP中inoform::text_field_d2方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::text_field_d2方法的具体用法?PHP inoform::text_field_d2怎么用?PHP inoform::text_field_d2使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::text_field_d2方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</td>
<td><?php
$f->text_field_d2sr('prj_revenue_line_id', 'line_id always_readonly');
?>
</td>
<td><?php
$f->text_field_d2sr('line_number', 'lines_number always_readonly');
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_d2('revenue_category');
?>
</td>
<td><?php
$f->text_field_d2('revenue_source');
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
$f->text_field_d2('amount');
?>
</td>
<td><?php
示例2: inoform
$f = new inoform();
$count = 0;
foreach ($prj_event_line_object as $prj_event_line) {
${$class_second}->task_number = !empty(${$class_second}->prj_project_line_id) ? prj_project_line::find_by_id(${$class_second}->prj_project_line_id)->task_number : '';
?>
<tr class="prj_event_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
echo $f->checkBox_field('billed_cb', ${$class_second}->billed_cb, '', '', 1);
?>
</td>
<td><?php
echo $f->checkBox_field('revenue_distributed_cb', ${$class_second}->revenue_distributed_cb, '', '', 1);
?>
</td>
<td><?php
$f->text_field_wid2r('reference_key_name', 'always_readonly');
?>
</td>
<td><?php
示例3: array
<tr class="fp_kanban_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($fp_kanban_line->fp_kanban_line_id, array('fp_kanban_header_id' => $fp_kanban_header->fp_kanban_header_id));
?>
</td>
<td><?php
$f->text_field_d2sr('fp_kanban_line_id');
?>
</td>
<td><?php
$f->text_field_d2('card_number');
?>
</td>
<td><?php
echo $f->select_field_from_array('card_type', fp_kanban_line::$card_type_a, ${$class_second}->card_type, '', 'medium');
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
echo $f->select_field_from_array('card_status', fp_kanban_line::$card_status_a, ${$class_second}->card_status, '', 'medium');
?>
</td>
<td><?php
示例4:
?>
<tr class="inv_receipt_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_wid2sr('item_id_m');
?>
</td>
<td><?php
$f->text_field_d2('item_number', 'select_item_number');
?>
</td>
<td><?php
$f->text_field_wid2sr('revision_name');
?>
</td>
<td><?php
$f->text_field_d2('item_description');
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $inv_receipt_line->uom_id, '', '', '', $readonly1);
?>
</td>
<td><?php
示例5:
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_wid2sr('prj_budget_line_id', 'always_readonly dontCopy');
?>
</td>
<td><?php
$f->val_field_wid2m('task_number', 'prj_project_all_v', 'task_number', '', 'select project_task_number');
echo $f->hidden_field_withCLass('prj_project_line_id', ${$class_second}->prj_project_line_id, 'dontCopy');
echo $f->hidden_field_withCLass('prj_project_header_id', ${$class}->prj_project_header_id, '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
$f->text_field_d2('prj_resource_line_id');
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
$f->text_field_d2('quantity');
?>
</td>
<td><?php
$f->text_field_d2('raw_cost');
?>
</td>
<td><?php
示例6:
?>
<tr class="sd_delivery_line<?php
echo $count;
?>
">
<td><?php
$f->text_field_wid2sr('item_id_m', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2s('item_number', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2('item_description', 'always_readonly');
?>
</td>
<td><?php
echo $f->select_field_from_object('line_uom_id', uom::find_all(), 'uom_id', 'uom_name', $sd_delivery_line->line_uom_id, '', '', '', $readonly1);
?>
</td>
<td><?php
echo $f->select_field_from_object('staging_subinventory_id', subinventory::find_all_of_org_id(${$class}->shipping_org_id), 'subinventory_id', 'subinventory', ${$class_second}->staging_subinventory_id, '', 'subinventory_id', '', $readonly1);
?>
</td>
<td><?php
echo $f->select_field_from_object('staging_locator_id', locator::find_all_of_subinventory(${$class_second}->staging_subinventory_id), 'locator_id', 'locator', ${$class_second}->staging_locator_id, '', 'locator_id', '', $readonly1);
?>
</td>
</tr>
示例7:
<td><?php
$f->val_field_wid2m('project_number', 'prj_project_header', 'project_number', '', 'select project_number');
echo $f->hidden_field('prj_project_header_id', ${$class_second}->prj_project_header_id);
?>
<i class="generic select_project_number select_popup clickable fa fa-search" data-class_name="prj_project_header"></i></td>
<!-- <td><?php
// $f->text_field_wid2('task_number', 'select project_number');
// echo $f->hidden_field('prj_project_line_id', $$class_second->prj_project_line_id);
?>
<i class="select_project_number select_popup clickable fa fa-search"></i></td>-->
<td><?php
echo $f->date_fieldAnyDay('allocation_date', ${$class_second}->allocation_date);
?>
</td>
<td><?php
$f->text_field_d2('allocation_amount');
?>
</td>
<td><?php
$f->text_field_d2('classification');
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>