Last change
on this file since 20293 was
20293,
checked in by mistic100, 11 years ago
|
first commit of oAuth plugin, still in developpement
|
File size:
1.0 KB
|
Line | |
---|
1 | <?php |
---|
2 | /*! |
---|
3 | * HybridAuth |
---|
4 | * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth |
---|
5 | * (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html |
---|
6 | */ |
---|
7 | |
---|
8 | /** |
---|
9 | * Hybrid_User_Activity |
---|
10 | * |
---|
11 | * used to provider the connected user activity stream on a standardized structure across supported social apis. |
---|
12 | * |
---|
13 | * http://hybridauth.sourceforge.net/userguide/Profile_Data_User_Activity.html |
---|
14 | */ |
---|
15 | class Hybrid_User_Activity |
---|
16 | { |
---|
17 | /* activity id on the provider side, usually given as integer */ |
---|
18 | public $id = NULL; |
---|
19 | |
---|
20 | /* activity date of creation */ |
---|
21 | public $date = NULL; |
---|
22 | |
---|
23 | /* activity content as a string */ |
---|
24 | public $text = NULL; |
---|
25 | |
---|
26 | /* user who created the activity */ |
---|
27 | public $user = NULL; |
---|
28 | |
---|
29 | public function __construct() |
---|
30 | { |
---|
31 | $this->user = new stdClass(); |
---|
32 | |
---|
33 | // typically, we should have a few information about the user who created the event from social apis |
---|
34 | $this->user->identifier = NULL; |
---|
35 | $this->user->displayName = NULL; |
---|
36 | $this->user->profileURL = NULL; |
---|
37 | $this->user->photoURL = NULL; |
---|
38 | } |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.