aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-24 18:33:05 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-24 18:33:05 +0000
commit6c037137c078b8ebe04efb6923b7f04921badb66 (patch)
tree4e52e4ac6b40afbc1a1aa3557b27c102a81960c2
parentd41c9e53d7c8841c2f22ef3031b2f109a9311f0d (diff)
downloadelgg-6c037137c078b8ebe04efb6923b7f04921badb66.tar.gz
elgg-6c037137c078b8ebe04efb6923b7f04921badb66.tar.bz2
Merged [6923] to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6963 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/json/entities/entity_list.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/json/entities/entity_list.php b/views/json/entities/entity_list.php
new file mode 100644
index 000000000..f3d388f21
--- /dev/null
+++ b/views/json/entities/entity_list.php
@@ -0,0 +1,10 @@
+<?php
+
+$entities = $vars['entities'];
+$fullview = $vars['fullview'];
+
+if (is_array($entities) && sizeof($entities) > 0) {
+ foreach($entities as $entity) {
+ echo elgg_view_entity($entity, $fullview);
+ }
+}