summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-15 18:28:44 -0400
committerEvan Prodromou <evan@status.net>2009-10-21 22:43:40 -0400
commit2ed073f2956ded804e39a9259408ac59ca46189f (patch)
tree25cc3fbc426a234008781cb7371f931f2791d4b0 /classes/Profile.php
parent3b3d861b93912d07a18111d02009871aac4181c7 (diff)
new data structures for location
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 4a069ee84..5fb7bb678 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -37,11 +37,17 @@ class Profile extends Memcached_DataObject
public $homepage; // varchar(255) multiple_key
public $bio; // text() multiple_key
public $location; // varchar(255) multiple_key
+ public $lat; // decimal(10,7)
+ public $lon; // decimal(10,7)
+ public $location_id; // int(4)
+ public $location_ns; // int(4)
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile',$k,$v); }
+ function staticGet($k,$v=NULL) {
+ return Memcached_DataObject::staticGet('Profile',$k,$v);
+ }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE