diff options
author | Evan Prodromou <evan@status.net> | 2009-11-01 14:24:40 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-01 14:24:40 -0500 |
commit | e42967fe3e9fd6b1bdca3b1d1c72f66b2e0b86d1 (patch) | |
tree | 81575a77471b3a7cbf224927451dfecdd40b9517 /plugins/UserFlag/Profile_flag.php | |
parent | 644263f9894d229bc6b9f03d5590dfecc65f9d6d (diff) |
add data definitions to user flag classes
Diffstat (limited to 'plugins/UserFlag/Profile_flag.php')
-rw-r--r-- | plugins/UserFlag/Profile_flag.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/UserFlag/Profile_flag.php b/plugins/UserFlag/Profile_flag.php index 41d449657..1a99f1061 100644 --- a/plugins/UserFlag/Profile_flag.php +++ b/plugins/UserFlag/Profile_flag.php @@ -38,4 +38,16 @@ class Profile_flag extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + + function table() { + return array( + 'flag' => DB_DATAOBJECT_STR, + 'display' => DB_DATAOBJECT_STR, + 'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + ); + } + + function keys() { + return array('flag'); + } } |