aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/share/facebook/GraphNodes
diff options
context:
space:
mode:
authorM.Gergo2018-12-16 16:35:17 +0100
committerM.Gergo2018-12-16 16:35:17 +0100
commite6988247360fa98b85915a38803d018dd353df00 (patch)
tree24f42628f6cdaedacc06ce033378173a0e561be9 /mayor-orig/www/include/share/facebook/GraphNodes
parent2a219b9ea312fb88703a33ea2450e32af40be64a (diff)
downloadmayor-e6988247360fa98b85915a38803d018dd353df00.tar.gz
mayor-e6988247360fa98b85915a38803d018dd353df00.zip
Rev: 4412
Diffstat (limited to 'mayor-orig/www/include/share/facebook/GraphNodes')
-rw-r--r--mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php3
-rw-r--r--mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php10
-rw-r--r--mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php2
3 files changed, 13 insertions, 2 deletions
diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php
index 061e7449..a81c47b7 100644
--- a/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php
+++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php
@@ -150,7 +150,8 @@ class GraphNode extends Collection
'backdated_time',
'issued_at',
'expires_at',
- 'publish_time'
+ 'publish_time',
+ 'joined'
], true);
}
diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php
index 3dfb0e03..503b96b5 100644
--- a/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php
+++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php
@@ -144,4 +144,14 @@ class GraphPage extends GraphNode
{
return $this->getField('perms');
}
+
+ /**
+ * Returns the `fan_count` (Number of people who likes to page) as int if present.
+ *
+ * @return int|null
+ */
+ public function getFanCount()
+ {
+ return $this->getField('fan_count');
+ }
}
diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php
index c50d7efd..6e1ed8f5 100644
--- a/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php
+++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php
@@ -123,7 +123,7 @@ class GraphUser extends GraphNode
/**
* Returns the users birthday, if available.
*
- * @return \DateTime|null
+ * @return Birthday|null
*/
public function getBirthday()
{