ona  18.1.1
About: OpenNetAdmin provides a database managed inventory of your IP network (with Web and CLI interface).
  Fossies Dox: ona-18.1.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

functions_gui.inc.php File Reference

Go to the source code of this file.

Functions

 build_workspace_menu ($menuarray=array())
 
 plugin_list ($type='')
 
plugin_load ($type, $name)
 
 workspace_plugin_loader ($modulename, $record=array(), $extravars=array())
 
 get_subnet_usage ($subnet_id)
 
 get_subnet_usage_html ($subnet_id, $width=30, $height=8)
 
 get_host_suggestions ($q, $max_results=10)
 
 get_a_record_suggestions ($q, $max_results=10)
 
 get_host_notes_suggestions ($q, $max_results=10)
 
 get_domain_suggestions ($q, $max_results=10)
 
 get_vlan_campus_suggestions ($q, $max_results=10)
 
 get_block_suggestions ($q, $max_results=10)
 
 get_subnet_suggestions ($q, $max_results=10)
 
 get_location_suggestions ($q, $max_results=10)
 
 get_mac_suggestions ($q, $max_results=10)
 
 get_ip_suggestions ($q, $max_results=10)
 
 get_model_suggestions ($q, $max_results=10)
 
 get_custom_attribute_type_suggestions ($q, $max_results=10)
 
 get_role_suggestions ($q, $max_results=10)
 
 get_manufacturer_suggestions ($q, $max_results=10)
 
 get_tag_suggestions ($q, $max_results=10)
 
 suggest_qsearch ($q, $el_input, $el_suggest)
 
 suggest_a_record ($q, $el_input, $el_suggest)
 
 suggest_set_a_record_edit_record ($q, $el_input, $el_suggest)
 
 suggest_hostname ($q, $el_input, $el_suggest)
 
 suggest_move_hostname ($q, $el_input, $el_suggest)
 
 suggest_share_hostname ($q, $el_input, $el_suggest)
 
 suggest_int_hostname ($q, $el_input, $el_suggest)
 
 suggest_device ($q, $el_input, $el_suggest)
 
 suggest_failover_pri_hostname ($q, $el_input, $el_suggest)
 
 suggest_failover_sec_hostname ($q, $el_input, $el_suggest)
 
 suggest_server ($q, $el_input, $el_suggest)
 
 suggest_pool_server_qf ($q, $el_input, $el_suggest)
 
 suggest_domain_server_name ($q, $el_input, $el_suggest)
 
 suggest_dhcp_server_name ($q, $el_input, $el_suggest)
 
 suggest_domain ($q, $el_input, $el_suggest)
 
 suggest_domain_alias_edit ($q, $el_input, $el_suggest)
 
 suggest_domain_edit ($q, $el_input, $el_suggest)
 
 suggest_set_domain_edit_host ($q, $el_input, $el_suggest)
 
 suggest_domain_server_edit ($q, $el_input, $el_suggest)
 
 suggest_set_domain_edit_record ($q, $el_input, $el_suggest)
 
 suggest_dns_domain ($q, $el_input, $el_suggest)
 
 suggest_notes ($q, $el_input, $el_suggest)
 
 suggest_mac ($q, $el_input, $el_suggest)
 
 suggest_ip ($q, $el_input, $el_suggest)
 
 suggest_ip_thru ($q, $el_input, $el_suggest)
 
 suggest_ip_subnet ($q, $el_input, $el_suggest)
 
 suggest_ip_subnet_thru ($q, $el_input, $el_suggest)
 
 suggest_ip_subnet_qf ($q, $el_input, $el_suggest)
 
 suggest_ip_subnet_thru_qf ($q, $el_input, $el_suggest)
 
 suggest_block_ip_subnet ($q, $el_input, $el_suggest)
 
 suggest_block_ip_subnet_thru ($q, $el_input, $el_suggest)
 
 suggest_set_ip_edit_interface ($q, $el_input, $el_suggest)
 
 suggest_natip_qf ($q, $el_input, $el_suggest)
 
 suggest_dns_ip ($q, $el_input, $el_suggest)
 
 suggest_vlan_campus ($q, $el_input, $el_suggest)
 
 suggest_vlan_edit ($q, $el_input, $el_suggest)
 
 suggest_vlan_campus_qf ($q, $el_input, $el_suggest)
 
 suggest_custom_attribute_type ($q, $el_input, $el_suggest)
 
 suggest_custom_attribute_type_net ($q, $el_input, $el_suggest)
 
 suggest_manufacturer ($q, $el_input, $el_suggest)
 
 suggest_model ($q, $el_input, $el_suggest)
 
 suggest_tag ($q, $el_input, $el_suggest)
 
 suggest_tag_qf ($q, $el_input, $el_suggest)
 
 suggest_tag_host ($q, $el_input, $el_suggest)
 
 suggest_tag_net ($q, $el_input, $el_suggest)
 
 suggest_role ($q, $el_input, $el_suggest)
 
 suggest_block ($q, $el_input, $el_suggest)
 
 suggest_subnet ($q, $el_input, $el_suggest)
 
 suggest_set_subnet_edit_interface ($q, $el_input, $el_suggest)
 
 suggest_set_subnet_edit_host ($q, $el_input, $el_suggest)
 
 suggest_subnet_qf ($q, $el_input, $el_suggest)
 
 suggest_dhcp_subnet_name ($q, $el_input, $el_suggest)
 
 suggest_masks_edit_subnet ($q, $el_input, $el_suggest)
 
 suggest_location ($q, $el_input, $el_suggest)
 
 suggest_location_qf ($q, $el_input, $el_suggest)
 
 suggest_location_number_subnet ($q, $el_input, $el_suggest)
 
 suggest_set_location_edit_host ($q, $el_input, $el_suggest)
 

Function Documentation

◆ build_workspace_menu()

build_workspace_menu (   $menuarray = array())

Definition at line 16 of file functions_gui.inc.php.

References $base, $baseURL, auth(), EOL, and nbsp.

Referenced by ws_display().

◆ get_a_record_suggestions()

get_a_record_suggestions (   $q,
  $max_results = 10 
)

Definition at line 361 of file functions_gui.inc.php.

References $conf, $onadb, $record, $self, $status, db_get_record(), and db_get_records().

Referenced by suggest_a_record().

◆ get_block_suggestions()

get_block_suggestions (   $q,
  $max_results = 10 
)

Definition at line 449 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_block().

◆ get_custom_attribute_type_suggestions()

get_custom_attribute_type_suggestions (   $q,
  $max_results = 10 
)

Definition at line 559 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_custom_attribute_type().

◆ get_domain_suggestions()

get_domain_suggestions (   $q,
  $max_results = 10 
)

◆ get_host_notes_suggestions()

get_host_notes_suggestions (   $q,
  $max_results = 10 
)

Definition at line 398 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_notes().

◆ get_host_suggestions()

get_host_suggestions (   $q,
  $max_results = 10 
)

◆ get_ip_suggestions()

get_ip_suggestions (   $q,
  $max_results = 10 
)

Definition at line 479 of file functions_gui.inc.php.

References $ip, $onadb, $record, $status, db_get_records(), ip_complete(), and ip_mangle().

Referenced by suggest_ip(), and suggest_qsearch().

◆ get_location_suggestions()

get_location_suggestions (   $q,
  $max_results = 10 
)

Definition at line 459 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_location().

◆ get_mac_suggestions()

get_mac_suggestions (   $q,
  $max_results = 10 
)

Definition at line 463 of file functions_gui.inc.php.

References get_text_suggestions(), and mac_mangle().

Referenced by suggest_mac(), and suggest_qsearch().

◆ get_manufacturer_suggestions()

get_manufacturer_suggestions (   $q,
  $max_results = 10 
)

Definition at line 567 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_manufacturer().

◆ get_model_suggestions()

get_model_suggestions (   $q,
  $max_results = 10 
)

Definition at line 523 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_model().

◆ get_role_suggestions()

get_role_suggestions (   $q,
  $max_results = 10 
)

Definition at line 563 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_role().

◆ get_subnet_suggestions()

get_subnet_suggestions (   $q,
  $max_results = 10 
)

Definition at line 454 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_qsearch(), and suggest_subnet().

◆ get_subnet_usage()

get_subnet_usage (   $subnet_id)

◆ get_subnet_usage_html()

get_subnet_usage_html (   $subnet_id,
  $width = 30,
  $height = 8 
)

Definition at line 294 of file functions_gui.inc.php.

References $conf, $onadb, $self, EOL, get_subnet_usage(), and nbsp.

Referenced by get_subnet_html(), ws_display_list(), and ws_subnet().

◆ get_tag_suggestions()

get_tag_suggestions (   $q,
  $max_results = 10 
)

Definition at line 573 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_tag().

◆ get_vlan_campus_suggestions()

get_vlan_campus_suggestions (   $q,
  $max_results = 10 
)

Definition at line 444 of file functions_gui.inc.php.

References get_text_suggestions().

Referenced by suggest_vlan_campus().

◆ plugin_list()

plugin_list (   $type = '')

◆ plugin_load()

& plugin_load (   $type,
  $name 
)

Definition at line 102 of file functions_gui.inc.php.

References $base, and $type.

Referenced by get_html_menu_button_plugins().

◆ suggest_a_record()

suggest_a_record (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 677 of file functions_gui.inc.php.

References $conf, and get_a_record_suggestions().

Referenced by suggest_set_a_record_edit_record().

◆ suggest_block()

suggest_block (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1245 of file functions_gui.inc.php.

References $conf, and get_block_suggestions().

◆ suggest_block_ip_subnet()

suggest_block_ip_subnet (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1002 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_block_ip_subnet_thru()

suggest_block_ip_subnet_thru (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1005 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_custom_attribute_type()

suggest_custom_attribute_type (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_custom_attribute_type_net()

suggest_custom_attribute_type_net (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1092 of file functions_gui.inc.php.

References suggest_custom_attribute_type().

◆ suggest_device()

suggest_device (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 751 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_dhcp_server_name()

suggest_dhcp_server_name (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 818 of file functions_gui.inc.php.

References suggest_server().

◆ suggest_dhcp_subnet_name()

suggest_dhcp_subnet_name (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1321 of file functions_gui.inc.php.

References suggest_subnet().

◆ suggest_dns_domain()

suggest_dns_domain (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 871 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_dns_ip()

suggest_dns_ip (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1014 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_domain()

◆ suggest_domain_alias_edit()

suggest_domain_alias_edit (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 856 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_domain_edit()

suggest_domain_edit (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 859 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_domain_server_edit()

suggest_domain_server_edit (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 865 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_domain_server_name()

suggest_domain_server_name (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 815 of file functions_gui.inc.php.

References suggest_server().

◆ suggest_failover_pri_hostname()

suggest_failover_pri_hostname (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 761 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_failover_sec_hostname()

suggest_failover_sec_hostname (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 771 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_hostname()

suggest_hostname (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_int_hostname()

suggest_int_hostname (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 748 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_ip()

◆ suggest_ip_subnet()

suggest_ip_subnet (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 990 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_ip_subnet_qf()

suggest_ip_subnet_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 996 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_ip_subnet_thru()

suggest_ip_subnet_thru (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 993 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_ip_subnet_thru_qf()

suggest_ip_subnet_thru_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 999 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_ip_thru()

suggest_ip_thru (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 987 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_location()

suggest_location (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_location_number_subnet()

suggest_location_number_subnet (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1480 of file functions_gui.inc.php.

References suggest_location().

◆ suggest_location_qf()

suggest_location_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1476 of file functions_gui.inc.php.

References suggest_location().

◆ suggest_mac()

suggest_mac (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 919 of file functions_gui.inc.php.

References $conf, and get_mac_suggestions().

◆ suggest_manufacturer()

suggest_manufacturer (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1100 of file functions_gui.inc.php.

References $conf, and get_manufacturer_suggestions().

◆ suggest_masks_edit_subnet()

suggest_masks_edit_subnet (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1332 of file functions_gui.inc.php.

References $conf.

◆ suggest_model()

suggest_model (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1134 of file functions_gui.inc.php.

References $conf, and get_model_suggestions().

◆ suggest_move_hostname()

suggest_move_hostname (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 742 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_natip_qf()

suggest_natip_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1011 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_notes()

suggest_notes (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 881 of file functions_gui.inc.php.

References $conf, and get_host_notes_suggestions().

◆ suggest_pool_server_qf()

suggest_pool_server_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 812 of file functions_gui.inc.php.

References suggest_server().

◆ suggest_qsearch()

suggest_qsearch (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_role()

suggest_role (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1211 of file functions_gui.inc.php.

References $conf, and get_role_suggestions().

◆ suggest_server()

suggest_server (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_set_a_record_edit_record()

suggest_set_a_record_edit_record (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 705 of file functions_gui.inc.php.

References suggest_a_record().

◆ suggest_set_domain_edit_host()

suggest_set_domain_edit_host (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 862 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_set_domain_edit_record()

suggest_set_domain_edit_record (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 868 of file functions_gui.inc.php.

References suggest_domain().

◆ suggest_set_ip_edit_interface()

suggest_set_ip_edit_interface (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1008 of file functions_gui.inc.php.

References suggest_ip().

◆ suggest_set_location_edit_host()

suggest_set_location_edit_host (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1484 of file functions_gui.inc.php.

References suggest_location().

◆ suggest_set_subnet_edit_host()

suggest_set_subnet_edit_host (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1315 of file functions_gui.inc.php.

References suggest_subnet().

◆ suggest_set_subnet_edit_interface()

suggest_set_subnet_edit_interface (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1312 of file functions_gui.inc.php.

References suggest_subnet().

◆ suggest_share_hostname()

suggest_share_hostname (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 745 of file functions_gui.inc.php.

References suggest_hostname().

◆ suggest_subnet()

suggest_subnet (   $q,
  $el_input,
  $el_suggest 
)

◆ suggest_subnet_qf()

suggest_subnet_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1318 of file functions_gui.inc.php.

References suggest_subnet().

◆ suggest_tag()

suggest_tag (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1168 of file functions_gui.inc.php.

References $conf, and get_tag_suggestions().

Referenced by suggest_tag_host(), suggest_tag_net(), and suggest_tag_qf().

◆ suggest_tag_host()

suggest_tag_host (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1199 of file functions_gui.inc.php.

References suggest_tag().

◆ suggest_tag_net()

suggest_tag_net (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1202 of file functions_gui.inc.php.

References suggest_tag().

◆ suggest_tag_qf()

suggest_tag_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1196 of file functions_gui.inc.php.

References suggest_tag().

◆ suggest_vlan_campus()

suggest_vlan_campus (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1023 of file functions_gui.inc.php.

References $conf, and get_vlan_campus_suggestions().

Referenced by suggest_vlan_campus_qf(), and suggest_vlan_edit().

◆ suggest_vlan_campus_qf()

suggest_vlan_campus_qf (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1054 of file functions_gui.inc.php.

References suggest_vlan_campus().

◆ suggest_vlan_edit()

suggest_vlan_edit (   $q,
  $el_input,
  $el_suggest 
)

Definition at line 1051 of file functions_gui.inc.php.

References suggest_vlan_campus().

◆ workspace_plugin_loader()

workspace_plugin_loader (   $modulename,
  $record = array(),
  $extravars = array() 
)