aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-29 22:43:51 -0700
committerfriendica <info@friendica.com>2012-07-29 22:43:51 -0700
commit194c52aee590a209cc38ee8fb322ff7dc4a9143d (patch)
tree1fedc5103d47bd030d8519a0e09deeb25af7575b /include/identity.php
parent4824e5b8b8d57ba9af8a5a26f78a5dc90eb714d1 (diff)
downloadvolse-hubzilla-194c52aee590a209cc38ee8fb322ff7dc4a9143d.tar.gz
volse-hubzilla-194c52aee590a209cc38ee8fb322ff7dc4a9143d.tar.bz2
volse-hubzilla-194c52aee590a209cc38ee8fb322ff7dc4a9143d.zip
get_item_elements (json version)
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
new file mode 100644
index 000000000..7067bc667
--- /dev/null
+++ b/include/identity.php
@@ -0,0 +1,27 @@
+<?php
+
+
+
+class simple_identity {
+
+ private identity_uid;
+ private identity_name;
+ private identity_url;
+ private identity_photo;
+
+ function __construct($uid = '',$name = '',$url = '',$photo = '') {
+ $this->identity_uid = $uid;
+ $this->identity_name = $name;
+ $this->identity_url = $url;
+ $this->identity_photo = $photo;
+ }
+
+ function to_array() {
+ return array(
+ 'zuid' => $this->identity_uid,
+ 'name' => $this->identity_name,
+ 'url' => $this->identity_url,
+ 'photo' => $this->identity_photo
+ );
+ }
+} \ No newline at end of file