Class VMPSRequest

Description

Class that contains information related to a VMPS request

This class extends the Request class

Located in /lib/VMPSRequest.php (line 23)

Common
   |
   --Request
      |
      --VMPSRequest
Variable Summary
 mixed $host
 mixed $switch_port
Method Summary
 VMPSRequest __construct ( $tmac,  $tswitch,  $tport,  $tvtp,  $tlastvlan)
 void __clone ()
 mixed __get (mixed $key)
 void __set ( $key,  $value)
Variables
mixed $host = NULL (line 28)
  • access: public
mixed $switch_port = NULL (line 27)
  • access: public

Inherited Variables

Inherited from Common

Common::$conf
Common::$db_conn
Common::$logger
Methods
Constructor __construct (line 30)
  • access: public
VMPSRequest __construct ( $tmac,  $tswitch,  $tport,  $tvtp,  $tlastvlan)
  • $tmac
  • $tswitch
  • $tport
  • $tvtp
  • $tlastvlan

Redefinition of:
Common::__construct()
Get the current instance of our Settings and Logger classes
getEndDevice (line 102)

Get a copy of our EndDevice object

  • access: public
object EndDevice getEndDevice ()
getPort (line 118)

Get a copy of our Port object

  • access: public
object Port getPort ()
__clone (line 86)

Prevent clonning the instance

  • throws: Exception indicating that a clone operation cannot be performed
  • access: public
void __clone ()
__get (line 61)

Get the value of one property if it exists

  • return: The value of the wanted property, or false if such a property doesn't exist
  • access: public
mixed __get (mixed $key)
  • mixed $key: Property to lookup
__set (line 80)

Disallow overriding this method. This prevents our internal array from being modified by other classes.

  • access: public
void __set ( $key,  $value)
  • $key
  • $value

Inherited Methods

Inherited From Common

 Common::__construct()
 Common::getConnection()
 Common::htmlescape()
 Common::log2db()
 Common::real_escape_string1()
 Common::sqlescape()

Documentation generated on Mon, 08 Sep 2008 01:10:48 +0200 by phpDocumentor 1.4.0