From 194c52aee590a209cc38ee8fb322ff7dc4a9143d Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 29 Jul 2012 22:43:51 -0700 Subject: get_item_elements (json version) --- include/identity.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/identity.php (limited to 'include/identity.php') 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 @@ +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 -- cgit v1.2.3