Cheetah
GraphEvent.php
Go to the documentation of this file.
1 <?php
24 namespace Facebook\GraphNodes;
25 
31 class GraphEvent extends GraphNode
32 {
36  protected static $graphObjectMap = [
37  'cover' => '\Facebook\GraphNodes\GraphCoverPhoto',
38  'place' => '\Facebook\GraphNodes\GraphPage',
39  'picture' => '\Facebook\GraphNodes\GraphPicture',
40  'parent_group' => '\Facebook\GraphNodes\GraphGroup',
41  ];
42 
48  public function getId()
49  {
50  return $this->getField('id');
51  }
52 
58  public function getCover()
59  {
60  return $this->getField('cover');
61  }
62 
68  public function getDescription()
69  {
70  return $this->getField('description');
71  }
72 
78  public function getEndTime()
79  {
80  return $this->getField('end_time');
81  }
82 
88  public function getIsDateOnly()
89  {
90  return $this->getField('is_date_only');
91  }
92 
98  public function getName()
99  {
100  return $this->getField('name');
101  }
102 
108  public function getOwner()
109  {
110  return $this->getField('owner');
111  }
112 
118  public function getParentGroup()
119  {
120  return $this->getField('parent_group');
121  }
122 
128  public function getPlace()
129  {
130  return $this->getField('place');
131  }
132 
138  public function getPrivacy()
139  {
140  return $this->getField('privacy');
141  }
142 
148  public function getStartTime()
149  {
150  return $this->getField('start_time');
151  }
152 
158  public function getTicketUri()
159  {
160  return $this->getField('ticket_uri');
161  }
162 
168  public function getTimezone()
169  {
170  return $this->getField('timezone');
171  }
172 
178  public function getUpdatedTime()
179  {
180  return $this->getField('updated_time');
181  }
182 
188  public function getPicture()
189  {
190  return $this->getField('picture');
191  }
192 
198  public function getAttendingCount()
199  {
200  return $this->getField('attending_count');
201  }
202 
208  public function getDeclinedCount()
209  {
210  return $this->getField('declined_count');
211  }
212 
218  public function getMaybeCount()
219  {
220  return $this->getField('maybe_count');
221  }
222 
228  public function getNoreplyCount()
229  {
230  return $this->getField('noreply_count');
231  }
232 
238  public function getInvitedCount()
239  {
240  return $this->getField('invited_count');
241  }
242 }
Facebook\GraphNodes\GraphEvent\getUpdatedTime
getUpdatedTime()
Definition: GraphEvent.php:178
Facebook\GraphNodes\GraphEvent\getStartTime
getStartTime()
Definition: GraphEvent.php:148
Facebook\GraphNodes\GraphEvent\getId
getId()
Definition: GraphEvent.php:48
Facebook\GraphNodes\GraphEvent\getParentGroup
getParentGroup()
Definition: GraphEvent.php:118
Facebook\GraphNodes\GraphEvent\getName
getName()
Definition: GraphEvent.php:98
php
Facebook\GraphNodes\GraphEvent\getMaybeCount
getMaybeCount()
Definition: GraphEvent.php:218
Facebook\GraphNodes\GraphEvent\getIsDateOnly
getIsDateOnly()
Definition: GraphEvent.php:88
Facebook\GraphNodes\GraphEvent\getCover
getCover()
Definition: GraphEvent.php:58
Facebook\GraphNodes\GraphEvent\getTimezone
getTimezone()
Definition: GraphEvent.php:168
Facebook\GraphNodes\GraphEvent\getDescription
getDescription()
Definition: GraphEvent.php:68
Facebook\GraphNodes\GraphEvent\getTicketUri
getTicketUri()
Definition: GraphEvent.php:158
Facebook\GraphNodes\GraphEvent\getPrivacy
getPrivacy()
Definition: GraphEvent.php:138
Facebook\GraphNodes\GraphEvent\$graphObjectMap
static $graphObjectMap
Definition: GraphEvent.php:36
Facebook\GraphNodes\GraphEvent\getInvitedCount
getInvitedCount()
Definition: GraphEvent.php:238
Facebook\GraphNodes\GraphEvent\getAttendingCount
getAttendingCount()
Definition: GraphEvent.php:198
Facebook\GraphNodes\GraphNode
Definition: GraphNode.php:32
Facebook\GraphNodes\GraphEvent\getOwner
getOwner()
Definition: GraphEvent.php:108
Facebook\GraphNodes\GraphEvent\getDeclinedCount
getDeclinedCount()
Definition: GraphEvent.php:208
Facebook\GraphNodes\GraphEvent
Definition: GraphEvent.php:32
Facebook\GraphNodes\GraphEvent\getPlace
getPlace()
Definition: GraphEvent.php:128
Facebook\GraphNodes\GraphEvent\getPicture
getPicture()
Definition: GraphEvent.php:188
Facebook\GraphNodes\Collection\getField
getField($name, $default=null)
Definition: Collection.php:66
Facebook\GraphNodes
Definition: Birthday.php:24
Facebook\GraphNodes\GraphEvent\getNoreplyCount
getNoreplyCount()
Definition: GraphEvent.php:228
Facebook\GraphNodes\GraphEvent\getEndTime
getEndTime()
Definition: GraphEvent.php:78