Cheetah
plugins
facebook-php-sdk
src
Facebook
GraphNodes
GraphUser.php
Go to the documentation of this file.
1
<?
php
24
namespace
Facebook\GraphNodes
;
25
31
class
GraphUser
extends
GraphNode
32
{
36
protected
static
$graphObjectMap
= [
37
'hometown'
=>
'\Facebook\GraphNodes\GraphPage'
,
38
'location'
=>
'\Facebook\GraphNodes\GraphPage'
,
39
'significant_other'
=>
'\Facebook\GraphNodes\GraphUser'
,
40
'picture'
=>
'\Facebook\GraphNodes\GraphPicture'
,
41
];
42
48
public
function
getId
()
49
{
50
return
$this->
getField
(
'id'
);
51
}
52
58
public
function
getName
()
59
{
60
return
$this->
getField
(
'name'
);
61
}
62
68
public
function
getFirstName
()
69
{
70
return
$this->
getField
(
'first_name'
);
71
}
72
78
public
function
getMiddleName
()
79
{
80
return
$this->
getField
(
'middle_name'
);
81
}
82
88
public
function
getLastName
()
89
{
90
return
$this->
getField
(
'last_name'
);
91
}
92
98
public
function
getEmail
()
99
{
100
return
$this->
getField
(
'email'
);
101
}
102
108
public
function
getGender
()
109
{
110
return
$this->
getField
(
'gender'
);
111
}
112
118
public
function
getLink
()
119
{
120
return
$this->
getField
(
'link'
);
121
}
122
128
public
function
getBirthday
()
129
{
130
return
$this->
getField
(
'birthday'
);
131
}
132
138
public
function
getLocation
()
139
{
140
return
$this->
getField
(
'location'
);
141
}
142
148
public
function
getHometown
()
149
{
150
return
$this->
getField
(
'hometown'
);
151
}
152
158
public
function
getSignificantOther
()
159
{
160
return
$this->
getField
(
'significant_other'
);
161
}
162
168
public
function
getPicture
()
169
{
170
return
$this->
getField
(
'picture'
);
171
}
172
}
Facebook\GraphNodes\GraphUser\getEmail
getEmail()
Definition:
GraphUser.php:98
Facebook\GraphNodes\GraphUser\getLink
getLink()
Definition:
GraphUser.php:118
Facebook\GraphNodes\GraphUser\getHometown
getHometown()
Definition:
GraphUser.php:148
Facebook\GraphNodes\GraphUser\getBirthday
getBirthday()
Definition:
GraphUser.php:128
Facebook\GraphNodes\GraphUser\getId
getId()
Definition:
GraphUser.php:48
Facebook\GraphNodes\GraphUser\getMiddleName
getMiddleName()
Definition:
GraphUser.php:78
php
Facebook\GraphNodes\GraphUser\$graphObjectMap
static $graphObjectMap
Definition:
GraphUser.php:36
Facebook\GraphNodes\GraphUser\getName
getName()
Definition:
GraphUser.php:58
Facebook\GraphNodes\GraphUser\getLocation
getLocation()
Definition:
GraphUser.php:138
Facebook\GraphNodes\GraphUser\getFirstName
getFirstName()
Definition:
GraphUser.php:68
Facebook\GraphNodes\GraphUser
Definition:
GraphUser.php:32
Facebook\GraphNodes\GraphUser\getSignificantOther
getSignificantOther()
Definition:
GraphUser.php:158
Facebook\GraphNodes\GraphUser\getLastName
getLastName()
Definition:
GraphUser.php:88
Facebook\GraphNodes\GraphNode
Definition:
GraphNode.php:32
Facebook\GraphNodes\GraphUser\getPicture
getPicture()
Definition:
GraphUser.php:168
Facebook\GraphNodes\GraphUser\getGender
getGender()
Definition:
GraphUser.php:108
Facebook\GraphNodes\Collection\getField
getField($name, $default=null)
Definition:
Collection.php:66
Facebook\GraphNodes
Definition:
Birthday.php:24
Generated by
1.8.20