aboutsummaryrefslogtreecommitdiff
path: root/classes/Foreign_subscription.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-19 18:12:14 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-19 18:12:14 -0400
commitc2a2da69667c2c18e26aabe757bd13ee6283b251 (patch)
tree80f02cd8a31cd525dbda2e63559f21495e39cd0d /classes/Foreign_subscription.php
parentd1277820f81cfdab19678a89a312c9a9815d2b6a (diff)
downloadgnu-social-c2a2da69667c2c18e26aabe757bd13ee6283b251.tar
gnu-social-c2a2da69667c2c18e26aabe757bd13ee6283b251.zip
add database tables for foreign services
darcs-hash:20080819221214-84dde-15683b1e146b9e29064aa8ae04bc7daebfaf2e92.gz
Diffstat (limited to 'classes/Foreign_subscription.php')
-rw-r--r--classes/Foreign_subscription.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/classes/Foreign_subscription.php b/classes/Foreign_subscription.php
new file mode 100644
index 0000000000..b8cbed8ca6
--- /dev/null
+++ b/classes/Foreign_subscription.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Table Definition for foreign_subscription
+ */
+require_once 'DB/DataObject.php';
+
+class Foreign_subscription extends DB_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ public $__table = 'foreign_subscription'; // table name
+ public $service; // int(4) primary_key not_null
+ public $subscriber; // int(4) primary_key not_null
+ public $subscribed; // int(4) primary_key not_null
+ public $created; // datetime() not_null
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Foreign_subscription',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+}