]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
create DB_DataObject classes for group block
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 14 Jun 2009 19:06:22 +0000 (12:06 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 14 Jun 2009 19:06:22 +0000 (12:06 -0700)
classes/Group_block.php [new file with mode: 0755]
classes/laconica.ini [changed mode: 0644->0755]

diff --git a/classes/Group_block.php b/classes/Group_block.php
new file mode 100755 (executable)
index 0000000..437046a
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Table Definition for group_block
+ */
+require_once 'classes/Memcached_DataObject';
+
+class Group_block extends Memcached_DataObject 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__table = 'group_block';                     // table name
+    public $group_id;                        // int(4)  primary_key not_null
+    public $blocked;                         // int(4)  primary_key not_null
+    public $blocker;                         // int(4)   not_null
+    public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Group_block',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
old mode 100644 (file)
new mode 100755 (executable)
index 92bbb35..8e4e78b
@@ -1,3 +1,4 @@
+
 [avatar]
 profile_id = 129
 original = 17
@@ -157,6 +158,16 @@ id = K
 service = K
 uri = U
 
+[group_block]
+group_id = 129
+blocked = 129
+blocker = 129
+modified = 384
+
+[group_block__keys]
+group_id = K
+blocked = K
+
 [group_inbox]
 group_id = 129
 notice_id = 129