aboutsummaryrefslogtreecommitdiff
path: root/views/json/entities/entity_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/entities/entity_list.php')
-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);
+ }
+}