本文整理汇总了PHP中inoform::val_field方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::val_field方法的具体用法?PHP inoform::val_field怎么用?PHP inoform::val_field使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::val_field方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
</a></li>
<li><a href="#tabsHeader-2"><?php
echo gettext('Attachments');
?>
</a></li>
<li><a href="#tabsHeader-3"><?php
echo gettext('Note');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><label>Asset Number</label>
<?php
echo $f->val_field('asset_number', $fa_asset->asset_number, '', 'asset_number', '', '', '', 'fa_asset', 'asset_number');
echo $f->hidden_field_withIdClass('fa_asset_id', $fa_asset->fa_asset_id, 'fa_asset_id');
?>
<i class="generic g_select_asset_number select_popup clickable fa fa-search" data-class_name="fa_asset"></i>
<a name="show" href="form.php?class_name=fa_asset_source&<?php
echo "mode={$mode}";
?>
" class="show document_id fa_asset_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><label>Asset Type</label><?php
echo $f->text_field('type', $fa_asset->type, '', 'type', '', '', 1);
?>
</li>
<li><label>Description</label><?php
echo $f->text_field('description', $fa_asset->description, '', 'description', '', '', 1);
示例2: array
?>
<tr class="hr_team_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class_second}->hr_team_line_id, array('option_line_code' => $hr_team_header->hr_team_header_id));
?>
</td>
<td><?php
$f->text_field_wid2sr('hr_team_line_id');
?>
</td>
<td><?php
echo $f->val_field('member_employee_name', ${$class_second}->member_employee_name, '', '', 'vf_select_member_employee_name employee_name', '', '', 'hr_employee_v', 'employee_name');
echo $f->hidden_field_withCLass('member_employee_id', ${$class_second}->member_employee_id, 'employee_id');
?>
<i class="generic g_select_employee_name select_popup clickable fa fa-search" data-class_name="hr_employee_v"></i></td>
<td><?php
echo $f->select_field_from_object('region', sys_value_group_line::find_by_parent_id($team_reg_vg_id), 'sys_value_group_line_id', 'code_value', ${$class_second}->region);
?>
</td>
<td><?php
echo $f->select_field_from_object('role', hr_team_header::hr_role(), 'option_line_code', 'option_line_value', ${$class_second}->role);
?>
</td>
<td><?php
echo $f->select_field_from_array('responsibility', hr_team_line::$responsibility_a, ${$class_second}->responsibility);
?>
</td>