Class GuiList1

Description

GuiList1.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
Method Summary
 GuiList1 __construct ([ $rep_name = ''], [ $dynamic = false], [ $debuglevel = 1])
 void query ( $q, [ $limit = 0], [ $order = ''],  $action_menu, [ $action_fieldname = ''],  $idx_name, [ $searchstring = ''], [ $searchby = ''], [ $action_confirm = array('')], [ $order_dir = 'DESC'], [ $like = 'LIKE'])
Variables
Methods
Constructor __construct (line 29)
GuiList1 __construct ([ $rep_name = ''], [ $dynamic = false], [ $debuglevel = 1])
  • $rep_name
  • $dynamic
  • $debuglevel

Redefinition of:
WebCommon::__construct()
query (line 95)

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

  • access: public
void query ( $q, [ $limit = 0], [ $order = ''],  $action_menu, [ $action_fieldname = ''],  $idx_name, [ $searchstring = ''], [ $searchby = ''], [ $action_confirm = array('')], [ $order_dir = 'DESC'], [ $like = 'LIKE'])
  • $q
  • $limit
  • $order
  • $action_menu
  • $action_fieldname
  • $idx_name
  • $searchstring
  • $searchby
  • $action_confirm
  • $order_dir
  • $like

Inherited Methods

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