aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/share/facebook/GraphNodes
diff options
context:
space:
mode:
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()
{