Cheetah
plugins
facebook-php-sdk
src
Facebook
GraphNodes
GraphAchievement.php
Go to the documentation of this file.
1
<?
php
24
namespace
Facebook\GraphNodes
;
25
31
class
GraphAchievement
extends
GraphNode
32
{
36
protected
static
$graphObjectMap
= [
37
'from'
=>
'\Facebook\GraphNodes\GraphUser'
,
38
'application'
=>
'\Facebook\GraphNodes\GraphApplication'
,
39
];
40
46
public
function
getId
()
47
{
48
return
$this->
getField
(
'id'
);
49
}
50
56
public
function
getFrom
()
57
{
58
return
$this->
getField
(
'from'
);
59
}
60
66
public
function
getPublishTime
()
67
{
68
return
$this->
getField
(
'publish_time'
);
69
}
70
76
public
function
getApplication
()
77
{
78
return
$this->
getField
(
'application'
);
79
}
80
86
public
function
getData
()
87
{
88
return
$this->
getField
(
'data'
);
89
}
90
98
public
function
getType
()
99
{
100
return
'game.achievement'
;
101
}
102
108
public
function
isNoFeedStory
()
109
{
110
return
$this->
getField
(
'no_feed_story'
);
111
}
112
}
Facebook\GraphNodes\GraphAchievement\getId
getId()
Definition:
GraphAchievement.php:46
Facebook\GraphNodes\GraphAchievement\getPublishTime
getPublishTime()
Definition:
GraphAchievement.php:66
php
Facebook\GraphNodes\GraphAchievement
Definition:
GraphAchievement.php:32
Facebook\GraphNodes\GraphAchievement\getData
getData()
Definition:
GraphAchievement.php:86
Facebook\GraphNodes\GraphAchievement\getFrom
getFrom()
Definition:
GraphAchievement.php:56
Facebook\GraphNodes\GraphAchievement\isNoFeedStory
isNoFeedStory()
Definition:
GraphAchievement.php:108
Facebook\GraphNodes\GraphAchievement\getApplication
getApplication()
Definition:
GraphAchievement.php:76
Facebook\GraphNodes\GraphAchievement\getType
getType()
Definition:
GraphAchievement.php:98
Facebook\GraphNodes\GraphNode
Definition:
GraphNode.php:32
Facebook\GraphNodes\GraphAchievement\$graphObjectMap
static $graphObjectMap
Definition:
GraphAchievement.php:36
Facebook\GraphNodes\Collection\getField
getField($name, $default=null)
Definition:
Collection.php:66
Facebook\GraphNodes
Definition:
Birthday.php:24
Generated by
1.8.20