rbrindley: branch rbrindley/astman_revamp r4542 - /team/rbrindley/astman_reva...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Mar 2 15:39:30 CST 2009


Author: rbrindley
Date: Mon Mar  2 15:39:26 2009
New Revision: 4542

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4542
Log:

- structured and commented astman.astdb


Modified:
    team/rbrindley/astman_revamp/config/js/astman2.js

Modified: team/rbrindley/astman_revamp/config/js/astman2.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/astman2.js?view=diff&rev=4542&r1=4541&r2=4542
==============================================================================
--- team/rbrindley/astman_revamp/config/js/astman2.js (original)
+++ team/rbrindley/astman_revamp/config/js/astman2.js Mon Mar  2 15:39:26 2009
@@ -27,4 +27,39 @@
  */
 var astman = {};
 
+/**
+ * Manage Asterisk's Internal Database.
+ */
+astman.astdb = {
+	/**
+	 * Delete by key.
+	 * @param k a db object containing: dbname, key, and value
+	 */
+	delete: function(k) {
 
+	},
+
+	/**
+	 * Get by key.
+	 * @param k a db object containing: dbname, key, and value
+	 */
+	get: function(k) {
+
+	},
+
+	/**
+	 * Get all.
+	 * @param k a db object containing: dbname, key, and value
+	 */
+	getAll: function(k) {
+
+	},
+
+	/**
+	 * Update by key.
+	 * @param k a db object containing: dbname, key, and value
+	 */
+	update: function (k) {
+
+	}
+};




More information about the asterisk-gui-commits mailing list