本文整理汇总了PHP中inoform::select_field_from_array方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::select_field_from_array方法的具体用法?PHP inoform::select_field_from_array怎么用?PHP inoform::select_field_from_array使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::select_field_from_array方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: inoform
<?php
$count = 0;
$f = new inoform();
foreach ($prj_expenditure_line_object as $prj_expenditure_line) {
?>
<tr class="prj_expenditure_line<?php
echo $count;
?>
">
<td><?php
echo ${$class_second}->prj_expenditure_line_id;
?>
</td>
<td><?php
echo $f->select_field_from_array('status2', prj_expenditure_line::$status_a, ${$class_second}->status, '', 'medium', '', 1, 1);
?>
</td>
<td><?php
$f->ac_field_wid2('debit_ac_id');
?>
</td>
<td><?php
$f->ac_field_wid2('credit_ac_id');
?>
</td>
<td><?php
$f->text_field_d2r('gl_journal_header_id');
?>
</td>
<td><?php
示例2: array
">
<td>
<?php
echo ino_inline_action($prj_resource_list_line->prj_resource_list_line_id, array('prj_resource_list_header_id' => $prj_resource_list_header->prj_resource_list_header_id));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_wid2sr('prj_resource_list_line_id', 'always_readonly');
?>
</td>
<td><?php
echo $f->select_field_from_array('resource_type', prj_resource_list_line::$resource_type_a, ${$class_second}->resource_type);
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_from', ${$class_second}->effective_from);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_to', ${$class_second}->effective_to);
?>
</td>
<td><?php
示例3: htmlentities
<li><input type="checkbox" name="line_id_cb" value="<?php
echo htmlentities($qa_collection_element_action->qa_collection_element_action_id);
?>
"></li>
<li><?php
echo form::hidden_field('qa_collection_element_header_id', ${$class}->qa_collection_element_header_id);
?>
</li>
</ul>
</td>
<td><?php
form::text_field_wid3sr('qa_collection_element_action_id');
?>
</td>
<td><?php
echo $f->select_field_from_array('action_condition', dbObject::$control_type_a, ${$class_third}->action_condition, '', 'medium');
?>
</td>
<td><?php
echo $f->select_field_from_array('comparison', qa_collection_element_action::$comparison_a, ${$class_third}->comparison, '', 'medium');
?>
</td>
<td><?php
echo $f->text_field_wid3('value_from');
?>
</td>
<td><?php
echo $f->text_field_wid3('value_to');
?>
</td>
<td><?php
示例4: ino_attachement
<div id="new_comment">
</div>
</div>
</div>
</div>
<div id="tabsHeader-5" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
<div id="tabsHeader-6" class="tabContent">
<ul class="column header_field">
<li><label>Action</label>
<?php
echo $f->select_field_from_array('action', ${$class}->action_a, '', 'action', '', '', $readonly, '');
?>
</li>
</ul>
</div>
</div>
</div>
</form>
</div>
<div id="form_line" class="form_line"><span class="heading"><?php
echo gettext('Kanban Cards');
?>
</span>
<form action="" method="post" id="fp_kanban_line" name="fp_kanban_line">
<div id="tabsLine">
示例5: ino_attachement
</div>
<div id="tabsHeader-6" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
<div id="tabsHeader-7" class="tabContent">
<ul class="column header_field">
<li id="document_status"><label><?php
echo gettext('Action');
?>
</label>
<?php
echo $f->select_field_from_array('action', ${$class}->action_a, '', 'action');
?>
</li>
<li><label><?php
echo gettext('Add To Order');
?>
</label>
<?php
echo $f->select_field_from_array('add_to_order', $add_to_order_a, '', 'add_to_order', '', '', '', 1);
?>
</li>
</ul>
</div>
</div>
</div>
示例6:
$so_details = sd_so_all_v::find_by_soLineId(${$class}->sd_so_line_id);
${$class}->so_number = $so_details->so_number;
${$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', ${$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');
示例7: inoform
} else {
echo "<br>Selected database has " . $existing_tables->table_count . ' number of tables. Remove all tables before proceeding further';
$proceed = false;
}
}
if (!$proceed) {
require_once 'dbsettings.php';
echo "<a href='' class='button btn-primary error'>Fix above error to proceed further</a>";
return;
}
?>
<form action="" name="import_db" id="import_db" method="get">
<ul class="list-unstyled">
<h2> You can convert a demo instance to a production instance after the installation</h2>
<li><label>DB Instance Type</label>
<?php
$f = new inoform();
echo $f->select_field_from_array('db_type', $db_type_a, '');
?>
</li>
<?php
echo $f->hidden_field_withId('action', 'complete_install');
?>
<li><input type="submit" class="button" id='complete_install' value="Start Installation" ></li>
</ul>
</form>
<div id="progress_message" class="message">
<div id="progress" class="message"></div><div id="information" class="message"></div>
</div>
示例8:
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($po_asl_line_object as $po_asl_line) {
?>
<tr class="po_asl_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
echo $f->select_field_from_array('release_method', po_asl_line::$release_method_a, ${$class_second}->release_method);
?>
</td>
<td><?php
echo $f->number_field('min_order_quantity', ${$class_second}->min_order_quantity);
?>
</td>
<td><?php
echo $f->number_field('fix_lot_multiplier', ${$class_second}->fix_lot_multiplier);
?>
</td>
<td><?php
echo $f->select_field_from_object('country_of_origin', option_header::countries(), 'option_line_code', 'option_line_value', ${$class_second}->country_of_origin);
?>
</td>
</tr>
示例9:
</div>
</div>
<div id="tabsHeader-4" class="tabContent">
<div>
<ul class="column four_column">
<li><label>Columns in Grid: </label> <?php
echo $f->number_field('no_of_grid_columns', ${$class}->no_of_grid_columns, '', 'no_of_grid_columns', 'large');
?>
</li>
<li><label>Default Per Page : </label> <?php
echo $f->number_field('default_per_page', ${$class}->default_per_page, '', 'default_per_page', 'large');
?>
</li>
<li><label>List Type : </label>
<?php
echo $f->select_field_from_array('list_type', dbObject::$list_type_a, ${$class}->list_type);
?>
</li>
<li><label>Create/Update Block : </label><?php
echo $f->checkBox_field('create_block_cb', '');
?>
</li>
<li><label>View Block : </label>
<?php
echo !empty(${$class}->block_id) ? "<a href='form.php?class_name=block&mode=9&block_id=" . ${$class}->block_id . "'>Configure Block</a>" : 'No Block';
echo $f->hidden_field_withId('block_id', ${$class}->block_id);
?>
</li>
<li><label>Show only graph in block : </label><?php
echo $f->checkBox_field('show_graph_only_cb', ${$class}->show_graph_only_cb);
?>
示例10:
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
echo $f->text_field('cc_co_template_line_id', ${$class_second}->cc_co_template_line_id, '8', '', 'always_readonly');
?>
</td>
<td><?php
if (!empty(${$class_second}->field_name) && !in_array(${$class_second}->field_name, get_dbColumns_valIndex('item'))) {
echo $f->text_field('field_name', ${$class_second}->field_name, '20');
} else {
echo $f->select_field_from_array('field_name', get_dbColumns_valIndex('item'), ${$class_second}->field_name, '', 'medium', 1, '', '', 1);
}
?>
</td>
<td><?php
echo $f->text_field('label', ${$class_second}->label);
?>
</td>
<td><?php
echo $f->select_field_from_array('value_type', cc_co_template_line::$value_type_a, ${$class_second}->value_type);
?>
</td>
<td><?php
echo $f->checkBox_field('required_cb', ${$class_second}->required_cb);
?>
</td>
示例11:
?>
</td>
<td><?php
$f->text_field_wid2sr('sys_process_flow_line_id');
?>
</td>
<td><?php
echo $f->text_field_ap(array('name' => 'line_number', 'value' => ${$class_second}->line_number, 'class_name' => 'lines_number small'));
?>
</td>
<td><?php
$f->text_field_wid2('line_name');
?>
</td>
<td><?php
echo $f->select_field_from_array('line_type', sys_process_flow_line::$line_type_a, ${$class_second}->line_type);
?>
</td>
<td><?php
$f->text_field_wid2l('description');
?>
</td>
<td><?php
$f->text_field_wid2('class_name');
?>
</td>
<td><?php
$f->text_field_wid2('method_name');
?>
</td>
<td class="add_detail_values"><img src="<?php
示例12:
?>
</td>
<td><?php
$f->text_field_d('description');
?>
</td>
<td><?php
echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'kanban_subinventory_id', 'kanban_subinventory_id', '', $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class}->subinventory_id), 'locator_id', 'locator', ${$class}->locator_id, 'locator_id', 'locator_id kanban_subinventory_id', '', $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_array('source_type', fp_kanban_header::$source_type_a, ${$class}->source_type, 'source_type', 'medium');
?>
</td>
<td><?php
echo $f->select_field_from_array('calculate', fp_kanban_header::$calculate_a, ${$class}->calculate, 'calculate', 'medium');
?>
</td>
<?php
$count = $count + 1;
}
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="scrollElement" class="tabContent">
示例13: foreach
</ul>
</td>
<td><?php
form::number_field_drs('role_access_id');
?>
</td>
<td><?php
$eng_all = engine::find_all();
foreach ($eng_all as $k => $v) {
$v->obj_class_name_fn = ucwords(str_replace('_', ' ', $v->obj_class_name));
}
echo $f->select_field_from_object('obj_class_name', $eng_all, 'obj_class_name', 'obj_class_name_fn', ${$class}->obj_class_name, '', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_array('access_level', role_access::$access_map, ${$class}->access_level);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>
示例14: inoform
echo $f->select_field_from_array('chart_type', getsvgimage::$chart_type_a, ${$class}->chart_type, 'chart_type');
?>
</li>
<li><label>Chart Width</label><?php
echo $f->number_field('chart_width', ${$class}->chart_width, '', 'chart_width');
?>
</li>
<li><label>Chart Height</label><?php
echo $f->number_field('chart_height', ${$class}->chart_height, '', 'chart_height');
?>
</li>
<li><label>Label Field</label>
<?php
$f = new inoform();
if (!empty($column_list)) {
echo $f->select_field_from_array('chart_label', $column_list, ${$class}->chart_label, 'chart_label', 'medium');
} else {
echo $f->text_field('chart_label', ${$class}->chart_label);
}
?>
</li>
<li><label>Value Field</label>
<?php
if (!empty($column_list)) {
echo $f->select_field_from_array('chart_value', $column_list, ${$class}->chart_value, 'chart_value', 'medium');
} else {
echo $f->text_field('chart_value', ${$class}->chart_value);
}
?>
</li>
<li><label>Legend</label>
示例15: ino_attachement
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_status_field_d('status');
?>
</li>
<li><?php
$f->l_text_field_d('output_path');
?>
</li>
<li><label>Email Format</label><?php
echo $f->select_field_from_array('email_format', dbObject::$download_format, 'excel_format');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
<div id="tabsHeader-3" class="tabContent">
<div>
<div id="comments">
<div id="comment_list">
<?php