当前位置: 首页>>代码示例>>PHP>>正文


PHP form::db_data_search方法代码示例

本文整理汇总了PHP中form::db_data_search方法的典型用法代码示例。如果您正苦于以下问题:PHP form::db_data_search方法的具体用法?PHP form::db_data_search怎么用?PHP form::db_data_search使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在form的用法示例。


在下文中一共展示了form::db_data_search方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: form

 function form_search_dns()
 {
     $form_search_dns = new form(array('FORM_NAME' => 'form_search_dns'));
     $form_search_dns->db_data('dns_zones.type, dns_zones.name, dns_zones.status');
     $form_search_dns->db_data_search();
     return $form_search_dns;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:7,代码来源:dnszones.php

示例2: form

 function form_search_users()
 {
     global $db;
     $form_search_nodes = new form(array('FORM_NAME' => 'form_search_users'));
     $form_search_nodes->db_data('users.username');
     $form_search_nodes->db_data_search();
     return $form_search_nodes;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:8,代码来源:pickup_users.php

示例3: form

 function form_search_ranges()
 {
     global $construct, $db;
     $form_search_ranges = new form(array('FORM_NAME' => 'form_search_ranges'));
     $form_search_ranges->data = array("0" => array("Field" => "ip", "fullField" => "ip"));
     $form_search_ranges->db_data('areas.status, ip_ranges.delete_req');
     $form_search_ranges->db_data_search();
     return $form_search_ranges;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:9,代码来源:ranges_allocation.php

示例4: form

 function form_search_services_edit()
 {
     global $db;
     $form_search_services_edit = new form(array('FORM_NAME' => 'form_search_services_edit'));
     $form_search_services_edit->db_data('nodes_services.service_id, nodes.id, nodes.name');
     $form_search_services_edit->db_data_enum('nodes_services.service_id', $db->get("id AS value, title AS output", "services", "", "", "title ASC"));
     $form_search_services_edit->db_data_search();
     return $form_search_services_edit;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:9,代码来源:admin_nodes_services.php

示例5: form

 function form_search_nameservers()
 {
     global $db;
     $form_search_nameservers = new form(array('FORM_NAME' => 'form_search_nameservers'));
     $form_search_nameservers->data = array("0" => array("Field" => "ip", "fullField" => "dns_nameservers__ip"));
     $form_search_nameservers->db_data('dns_nameservers.status, nodes.id, nodes.name');
     $form_search_nameservers->db_data_search();
     return $form_search_nameservers;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:9,代码来源:hostmaster_dnsnameservers.php

示例6: form

 function form_search_links_ap()
 {
     global $db;
     $form_search_links_ap = new form(array('FORM_NAME' => 'form_search_links_ap'));
     $form_search_links_ap->db_data('links.ssid, nodes.id, nodes.name, areas.id, regions.id');
     $form_search_links_ap->db_data_enum('areas.id', $db->get("id AS value, name AS output", "areas"));
     $form_search_links_ap->db_data_enum('regions.id', $db->get("id AS value, name AS output", "regions"));
     $form_search_links_ap->db_data_search();
     return $form_search_links_ap;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:10,代码来源:pickup_links_ap.php

示例7: form

 function form_search_nameservers()
 {
     global $db;
     $form_search_nameservers = new form(array('FORM_NAME' => 'form_search_nameservers'));
     $form_search_nameservers->db_data('nodes.id, nodes.name, areas.id, regions.id');
     $form_search_nameservers->db_data_enum('areas.id', $db->get("id AS value, name AS output", "areas"));
     $form_search_nameservers->db_data_enum('regions.id', $db->get("id AS value, name AS output", "regions"));
     $form_search_nameservers->db_data_search();
     return $form_search_nameservers;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:10,代码来源:pickup_dns_nameservers.php

示例8: form

 function form_search_ranges()
 {
     global $construct, $db;
     $form_search_ranges = new form(array('FORM_NAME' => 'form_search_ranges'));
     $form_search_ranges->data = array("0" => array("Field" => "ip", "fullField" => "ip"));
     $form_search_ranges->db_data('ip_ranges.status, ip_ranges.delete_req, nodes.id, nodes.name');
     array_push($form_search_ranges->data, array('Compare' => 'numeric', 'Field' => 'total_active_p2p', 'fullField' => 'total_active_p2p'));
     array_push($form_search_ranges->data, array('Compare' => 'numeric', 'Field' => 'total_active_aps', 'fullField' => 'total_active_aps'));
     $form_search_ranges->db_data_search();
     return $form_search_ranges;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:11,代码来源:hostmaster_ranges.php

示例9: form

 function form_search_ranges()
 {
     global $construct, $db;
     $form_search_ranges = new form(array('FORM_NAME' => 'form_search_ranges'));
     $form_search_ranges->data = array("0" => array("Field" => "ip", "fullField" => "ip"));
     $form_search_ranges->db_data('ip_ranges.status, ip_ranges.delete_req, nodes.id, nodes.name, communities.name');
     #@#
     $form_search_ranges->db_data_enum('communities.name', $db->get("name AS value, fullname AS output", "communities"));
     #@#
     $form_search_ranges->db_data_search();
     return $form_search_ranges;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:12,代码来源:hostmaster_ranges.php

示例10: form

 function form_search_nameservers()
 {
     global $db;
     $form_search_nameservers = new form(array('FORM_NAME' => 'form_search_nameservers'));
     $form_search_nameservers->data = array("0" => array("Field" => "ip", "fullField" => "dns_nameservers__ip"));
     $form_search_nameservers->db_data('dns_nameservers.status, dns_nameservers.delete_req, nodes.id, nodes.name, communities.name');
     #@#
     $form_search_nameservers->db_data_enum('communities.name', $db->get("name AS value, fullname AS output", "communities"));
     #@#
     $form_search_nameservers->db_data_search();
     return $form_search_nameservers;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:12,代码来源:hostmaster_dnsnameservers.php

示例11: form

 function form_search_nodes()
 {
     global $db;
     $form_search_nodes = new form(array('FORM_NAME' => 'form_search_nodes'));
     $form_search_nodes->db_data('nodes.id, nodes.name, areas.id, regions.id, communities.name');
     $form_search_nodes->db_data_enum('areas.id', $db->get("id AS value, name AS output", "areas"));
     $form_search_nodes->db_data_enum('regions.id', $db->get("id AS value, name AS output", "regions"));
     $form_search_nodes->db_data_enum('communities.name', $db->get("name AS value, fullname AS output", "communities"));
     #@#
     $form_search_nodes->db_data_search();
     return $form_search_nodes;
 }
开发者ID:codeministry,项目名称:wind-ng-mc,代码行数:12,代码来源:admin_nodes.php

示例12: form

 function form_search_nodes()
 {
     global $db, $lang;
     $form_search_nodes = new form(array('FORM_NAME' => 'form_search_nodes'));
     $form_search_nodes->db_data('nodes.id, nodes.name, areas.id, regions.id');
     $form_search_nodes->db_data_enum('areas.id', $db->get("id AS value, name AS output", "areas"));
     $form_search_nodes->db_data_enum('regions.id', $db->get("id AS value, name AS output", "regions"));
     array_push($form_search_nodes->data, array('Compare' => 'numeric', 'Field' => 'total_active_peers', 'fullField' => 'total_active_peers'));
     array_push($form_search_nodes->data, array('Compare' => 'numeric', 'Field' => 'total_active_clients', 'fullField' => 'total_active_clients'));
     array_push($form_search_nodes->data, array('Field' => 'has_ap', 'fullField' => 'has_ap', 'Type' => 'enum', 'Type_Enums' => array(array('value' => 'Y', 'output' => $lang['yes']), array('value' => 'N', 'output' => $lang['no']))));
     $form_search_nodes->db_data_search();
     return $form_search_nodes;
 }
开发者ID:southern-wind,项目名称:wind,代码行数:13,代码来源:nodes_search.php


注:本文中的form::db_data_search方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。