CommonDefine this common parent class to ensure consistent logging and access to configuration settings.
This class can be extended with 'common' code to simplify derived classes and ensure consistency.
Located in /lib/Common.php (line 23)
| Class | Description |
|---|---|
Switch_SNMP
|
This class is intended to perform SNMP queries to all kind of switches. |
Policy
|
Base Policy class This is the basic policy implementation The real policy implementation can override what happens by simply providing an implementation of the pre and post connect methods. |
Location
|
EndDevice.php |
CallWrapper
|
This class creates proxy-objects, that wrap other objects, and log:
|
Result
|
Define the Result template class. This class doesn't define anything, |
Port
|
The Port class describes the interfaces to information on Ports and Switches This class extends the Common class. |
EndDevice
|
This class represents a row in the systems table in the database. |
Request
|
Define the Request request class. This class doesn't implement anything, |
WebCommon
|
WebCommon.php |
Get the current instance of our Settings and Logger classes
htmlescape: escape date before outputting to a Browser
Write key events to naclog which is visible from the GUI
To view recent entries: select * from naclog ORDER BY datetime DESC LIMIT 5;
Escape possibly dangerous characters, to prevent SQL injection
Trim leading/trailing spaces too TBD: what about ';'?
sqlescape: call real_escape_string1 with DB connection
Documentation generated on Mon, 06 Oct 2008 01:10:20 +0200 by phpDocumentor 1.4.0