/lib/WuiProperties.php

Description
  • author: Paul Blankenbaker
  • version: 1.3
Classes
Class Description
WuiProperties Class to provide functions to emulate the java.util.Properties class.
Includes
include_once ('CommandLine.php') (line 9)

Will need access to command line tools.

include_once ('Properties.php') (line 12)

Extends the Properties class.

include_once ('CreateStaticInfo.php') (line 17)

Load supporting class.

include_once ('/var/log/wui/StaticInfo.php') (line 22)

Go generate the "static info" files.

Functions
addInterfaceProperties (line 492)

Adds network interface statistics and information to the AJAX document.

This method will set the comment to:

 ${INTERFACE} statistics
This method then sets the following properties:

<dl> <dt>ifmon_interface</dt><dd>The interface which information is being returned for.</dd> <dt>ifmon_{$XXX}</dt><dd>The contents of the file: /sys/class/net/{$INTERFACE}/statistics/{$XXX} FOR EACH statistic maintained by the system.</dd> </dl>

  • return: If statistics found and added to properties, false if not.
true addInterfaceProperties ($interface $interface)
  • $interface $interface: The interface to get stats for. The directory: /sys/class/net/$interface/statistics MUST exist, otherwise we return null.

Documentation generated on Sun, 11 Feb 2018 07:41:02 -0500 by phpDocumentor 1.4.4