Cheetah
GraphLocation.php
Go to the documentation of this file.
1 <?php
24 namespace Facebook\GraphNodes;
25 
31 class GraphLocation extends GraphNode
32 {
38  public function getStreet()
39  {
40  return $this->getField('street');
41  }
42 
48  public function getCity()
49  {
50  return $this->getField('city');
51  }
52 
58  public function getState()
59  {
60  return $this->getField('state');
61  }
62 
68  public function getCountry()
69  {
70  return $this->getField('country');
71  }
72 
78  public function getZip()
79  {
80  return $this->getField('zip');
81  }
82 
88  public function getLatitude()
89  {
90  return $this->getField('latitude');
91  }
92 
98  public function getLongitude()
99  {
100  return $this->getField('longitude');
101  }
102 }
Facebook\GraphNodes\GraphLocation\getZip
getZip()
Definition: GraphLocation.php:78
Facebook\GraphNodes\GraphLocation\getStreet
getStreet()
Definition: GraphLocation.php:38
php
Facebook\GraphNodes\GraphLocation
Definition: GraphLocation.php:32
Facebook\GraphNodes\GraphLocation\getLongitude
getLongitude()
Definition: GraphLocation.php:98
Facebook\GraphNodes\GraphLocation\getState
getState()
Definition: GraphLocation.php:58
Facebook\GraphNodes\GraphLocation\getLatitude
getLatitude()
Definition: GraphLocation.php:88
Facebook\GraphNodes\GraphLocation\getCountry
getCountry()
Definition: GraphLocation.php:68
Facebook\GraphNodes\GraphNode
Definition: GraphNode.php:32
Facebook\GraphNodes\GraphLocation\getCity
getCity()
Definition: GraphLocation.php:48
Facebook\GraphNodes\Collection\getField
getField($name, $default=null)
Definition: Collection.php:66
Facebook\GraphNodes
Definition: Birthday.php:24