Class GuiEditEthernet

Description

GuiEditEthernet.php

Long description for file: ethernet table Allow records to edited, deleted or inserted. Specific to the FreeNAC DB schema.

Located in /lib/GuiEditEthernet.php (line 20)

Common
   |
   --WebCommon
      |
      --GuiEditEthernet
Method Summary
 GuiEditEthernet __construct ( $action, [ $id = 0], [ $debug_level = 1])
 void Delete ()
 void edit_record ([ $update_mode = TRUE])
 void handle_request ()
 void InsertOrUpdate ([ $update_mode = TRUE])
Variables
Methods
Constructor __construct (line 24)
GuiEditEthernet __construct ( $action, [ $id = 0], [ $debug_level = 1])
  • $action
  • $id
  • $debug_level

Redefinition of:
WebCommon::__construct()
Delete (line 97)

Delete() // Override the Webcommon functiion since we do not have an id column.

  • access: public
void Delete ()

Redefinition of:
WebCommon::Delete()
Delete a record from the WebGUI
edit_record (line 207)

Display a record, allow changes.

Next Step is Either Update, Delete, or Restart Port

  • access: public
void edit_record ([ $update_mode = TRUE])
  • $update_mode
handle_request (line 52)
  • access: public
void handle_request ()
InsertOrUpdate (line 131)

Update a record

  • access: public
void InsertOrUpdate ([ $update_mode = TRUE])
  • $update_mode

Inherited Methods

Inherited From WebCommon

 WebCommon::__construct()
 WebCommon::clear_mac_request()
 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 Feb 2012 01:10:39 +0100 by phpDocumentor 1.4.0