Cheetah
GraphPage.php
Go to the documentation of this file.
1 <?php
24 namespace Facebook\GraphNodes;
25 
31 class GraphPage extends GraphNode
32 {
36  protected static $graphObjectMap = [
37  'best_page' => '\Facebook\GraphNodes\GraphPage',
38  'global_brand_parent_page' => '\Facebook\GraphNodes\GraphPage',
39  'location' => '\Facebook\GraphNodes\GraphLocation',
40  'cover' => '\Facebook\GraphNodes\GraphCoverPhoto',
41  'picture' => '\Facebook\GraphNodes\GraphPicture',
42  ];
43 
49  public function getId()
50  {
51  return $this->getField('id');
52  }
53 
59  public function getCategory()
60  {
61  return $this->getField('category');
62  }
63 
69  public function getName()
70  {
71  return $this->getField('name');
72  }
73 
79  public function getBestPage()
80  {
81  return $this->getField('best_page');
82  }
83 
89  public function getGlobalBrandParentPage()
90  {
91  return $this->getField('global_brand_parent_page');
92  }
93 
99  public function getLocation()
100  {
101  return $this->getField('location');
102  }
103 
109  public function getCover()
110  {
111  return $this->getField('cover');
112  }
113 
119  public function getPicture()
120  {
121  return $this->getField('picture');
122  }
123 
131  public function getAccessToken()
132  {
133  return $this->getField('access_token');
134  }
135 
143  public function getPerms()
144  {
145  return $this->getField('perms');
146  }
147 }
Facebook\GraphNodes\GraphPage\getPicture
getPicture()
Definition: GraphPage.php:119
Facebook\GraphNodes\GraphPage\getAccessToken
getAccessToken()
Definition: GraphPage.php:131
Facebook\GraphNodes\GraphPage\getId
getId()
Definition: GraphPage.php:49
Facebook\GraphNodes\GraphPage
Definition: GraphPage.php:32
php
Facebook\GraphNodes\GraphPage\getLocation
getLocation()
Definition: GraphPage.php:99
Facebook\GraphNodes\GraphPage\getCover
getCover()
Definition: GraphPage.php:109
Facebook\GraphNodes\GraphPage\getPerms
getPerms()
Definition: GraphPage.php:143
Facebook\GraphNodes\GraphPage\getBestPage
getBestPage()
Definition: GraphPage.php:79
Facebook\GraphNodes\GraphPage\$graphObjectMap
static $graphObjectMap
Definition: GraphPage.php:36
Facebook\GraphNodes\GraphNode
Definition: GraphNode.php:32
Facebook\GraphNodes\GraphPage\getName
getName()
Definition: GraphPage.php:69
Facebook\GraphNodes\GraphPage\getCategory
getCategory()
Definition: GraphPage.php:59
Facebook\GraphNodes\Collection\getField
getField($name, $default=null)
Definition: Collection.php:66
Facebook\GraphNodes
Definition: Birthday.php:24
Facebook\GraphNodes\GraphPage\getGlobalBrandParentPage
getGlobalBrandParentPage()
Definition: GraphPage.php:89