Class to provide functions to emulate the java.util.Properties class.
This class emulates many of the methods found in the java.util.Properties class. It can be particularily helpful when implementing the server side of AJAX based applications (you can easily build/send a XML document to your client side JavaScript using this class).
Here is an example of creating a simple AJAX style response (in this example, we are simply passing back values for variables "x", "y" and "z" - it's up to the client side JavaScript to do something with the values):
Located in /lib/WuiProperties.php (line 55)
Properties | --WuiProperties
Constructs instance of object (with no properties).
Adds the load average information to be displayed on the header bar.
This method adds the following properties:
<dl> <dt>uptime_load_1min</dt><dd>The load on the system computed over
Adds memory information to be displayed with the CPU usage widget.
This method adds the following properties:
<dl> <dt>mem_total</dt><dd>Total system memory.</dd> <dt>mem_free</dt><dd>System memory free.</dd> <dt>mem_available</dt><dd>System memory available.</dd> <dt>mem_buffers</dt><dd>System memory in buffer cache, so relatively temporary storage for raw disk blocks. </dd> <dt>mem_cached</dt><dd>System memory in cache which includes disk and shared memory caches.</dd> <dt>mem_sreclaimable</dt><dd>System memory that is part of the Slab that might be reclaimed.</dd> <dt>mem_shmem</dt><dd>System memory used by shared memory. This is memory shared between several processes.</dd> </dl>
Adds the NST Live Overlay Storage block usage (Used/Total) on the header bar.
This method adds the following properties:
<dl> <dt>live_overlay_blocks_used</dt><dd>The number of overlay blocks used on on an NST Live system.</dd> <dt>live_overlay_blocks_total</dt><dd>The total number of overlay blocks on an NST Live system.</dd> </dl>
Adds standard properties to the "AJAX" document.
This method sets the following properties:
Add information about how long the server has been up.
This method adds the following properties:
<dl> <dt>uptime_up_duration</dt><dd>Total number of seconds the system has been up.</dd> <dt>uptime_up_days</dt><dd>Integer count of number of days system was up.</dd> <dt>uptime_up_hours</dt><dd>Integer count of number of hours system has been up during the current day.</dd> <dt>uptime_up_minutes</dt><dd>Integer count of number of minutes the system has been up during the current hour.</dd> <dt>uptime_up_seconds</dt><dd>Integer count of number of seconds the system has been up during the current minute.</dd> <dt>uptime_up_hours_mins</dt><dd>Hours and minutes (as a string in the form of HH:MM) of how long system has been up for current day.</dd> </dl>
Get command line used to run system commands with.
Adds standard return related values to the Properties object.
This method looks for the following values out of the POST/GET parameters and loads them into the properties object (using the same keys):
<dl> <dt>return</dt><dd>The return URL.</dd> <dt>return_from</dt><dd>The return from value.</dd> <dt>return_label</dt><dd>The return label value.</dd> <dt>synckey</dt><dd>The synckey used by some WUI pages to keep track of data information.</dd> </dl>
Pushes current return info to return_back and sets new return values.
from New value for return_from (old "return_from" becomes "return_from_back" if present).
<dt>return</dt><dd>The return URL.</dd>
<dt>return_from</dt><dd>The return from value.</dd>
<dt>return_label</dt><dd>The return label value.</dd>
<dt>synckey</dt><dd>The synckey used by some WUI pages to keep track of data information.</dd>
</dl>
Set whether we should use 24 hour mode when formatting time for top banner info.
Inherited From Properties
Properties::__construct()
Properties::disableCaching()
Properties::getAsArray()
Properties::getPostGet()
Properties::getProperty()
Properties::loadFromXML()
Properties::printJSON()
Properties::printXML()
Properties::removeProperty()
Properties::renderJSON()
Properties::renderPage()
Properties::setComment()
Properties::setDocumentInfo()
Properties::setIncludeXsl()
Properties::setProperty()
Properties::size()
Properties::storeToXML()
Properties::toUrlParams()
Documentation generated on Sun, 11 Feb 2018 07:41:02 -0500 by phpDocumentor 1.4.4