summaryrefslogtreecommitdiff
path: root/classes/Config.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-21 15:22:02 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-21 15:22:02 -0400
commit888ed474a161a278579debdb492acc44fbcd7790 (patch)
tree45a788babcc705c44f2132daaa6ccd76c9a11612 /classes/Config.php
parentc944edfb50e81a8880b02ee5496a29323021331e (diff)
new class for configuration settings
Diffstat (limited to 'classes/Config.php')
-rwxr-xr-xclasses/Config.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/classes/Config.php b/classes/Config.php
new file mode 100755
index 000000000..2538a1426
--- /dev/null
+++ b/classes/Config.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Table Definition for config
+ */
+require_once 'classes/Memcached_DataObject.php';
+
+class Config extends Memcached_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ public $__table = 'config'; // table name
+ public $section; // varchar(32) primary_key not_null
+ public $setting; // varchar(32) primary_key not_null
+ public $value; // varchar(255)
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Config',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+}