From 1241e651ae54adfc429aceb92a2bc873f1c82f8d Mon Sep 17 00:00:00 2001 From: Trever Fischer Date: Thu, 15 Oct 2009 05:16:37 -0400 Subject: Added support for profile designs to the twitter API --- classes/Profile.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classes/Profile.php') diff --git a/classes/Profile.php b/classes/Profile.php index 4a069ee84..a78a27f4a 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -46,6 +46,11 @@ class Profile extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + function getUser() + { + return User::staticGet('id', $this->id); + } + function getAvatar($width, $height=null) { if (is_null($height)) { -- cgit v1.2.3-54-g00ecf