GuiList1GuiList1.php
Long description for file: Class to Display a generic Query, with sorting and active buttons USAGE: See also GuiEditDevice_control.php, which manages the Buttons and POST/Submits. The Constructor create the basic empty report with tailes. The Query() builts the SQL statement, executes and sends back results. Features common to other WebGUI parts are outsourced to the parent class WebCommon
Located in /lib/GuiList1.php (line 24)
Common | --WebCommon | --GuiList1
void
query
( $q, [ $limit = 0], [ $order = ''], $action_menu, [ $action_fieldname = ''], $idx_name, [ $searchstring = ''], [ $searchby = ''], [ $action_confirm = array('')], [ $order_dir = 'DESC'], [ $like = 'LIKE'])
Inherited from WebCommon
WebCommon::$calling_href
WebCommon::$calling_script
WebCommon::$module
WebCommon::$table
Inherited from Common
Common::$conf
Common::$db_conn
Common::$logger
Generic query report
Parameters: query($q, $limit, $order, $action_menu, $action_fieldname, $idx_name, $searchstring, $searchby, $action_confirm) The (my)SQL query is built as: $q WHERE $searchby LIKE '%$searchstring%' ORDER BY $order $order_dir LIMIT $limit action_fieldname is the Title for the index column called idx_name Buttons in column 1: action_menu/action_confirm= array of Action button names & confirmation dialogs
Inherited From WebCommon
WebCommon::__construct()
WebCommon::debug()
WebCommon::Delete()
WebCommon::get_dose()
WebCommon::get_hosts()
WebCommon::get_location()
WebCommon::get_locationid()
WebCommon::get_patch()
WebCommon::get_port_comment()
WebCommon::get_vlan()
WebCommon::loggui()
WebCommon::logit()
WebCommon::port_delete()
WebCommon::port_restart_request()
WebCommon::print_dat_stats()
WebCommon::print_dot_sel()
WebCommon::print_footer()
WebCommon::print_footer_empty()
WebCommon::print_header()
WebCommon::print_header1()
WebCommon::print_headerMin()
WebCommon::print_headerSmall()
WebCommon::print_logo()
WebCommon::print_stats()
WebCommon::print_switch_sel()
WebCommon::print_title()
WebCommon::strip_datversion()
Inherited From Common
Common::__construct()
Common::getConnection()
Common::htmlescape()
Common::log2db()
Common::real_escape_string1()
Common::sqlescape()
Documentation generated on Mon, 06 Oct 2008 01:10:29 +0200 by phpDocumentor 1.4.0